|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.model.DefaultResolver
public class DefaultResolver
The implementation of resolver, used to resolve the expression language Support nested way. Support indexed element. Support mapped element.
Constructor Summary | |
---|---|
DefaultResolver()
Default Constructor. |
Method Summary | |
---|---|
int |
getIndex(java.lang.String expression)
Return the index value from the property expression or -1. |
java.lang.String |
getKey(java.lang.String expression)
Return the map key from the property expression or null . |
java.lang.String |
getProperty(java.lang.String expression)
Return the property name from the property expression. |
boolean |
hasNested(java.lang.String expression)
Indicates whether or not the expression contains nested property expressions or not. |
boolean |
isIndexed(java.lang.String expression)
Indicate whether the expression is for an indexed property or not. |
boolean |
isMapped(java.lang.String expression)
Indicate whether the expression is for a mapped property or not. |
java.lang.String |
next(java.lang.String expression)
Extract the next property expression from the current expression. |
java.lang.String |
remove(java.lang.String expression)
Remove the last property expression from the current expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultResolver()
Method Detail |
---|
public int getIndex(java.lang.String expression)
getIndex
in interface IResolver
expression
- The property expression
java.lang.IllegalArgumentException
- If the indexed property is illegally formed or has an invalid
(non-numeric) value.public java.lang.String getKey(java.lang.String expression)
null
.
getKey
in interface IResolver
expression
- The property expression
java.lang.IllegalArgumentException
- If the mapped property is illegally formed.public java.lang.String getProperty(java.lang.String expression)
getProperty
in interface IResolver
expression
- The property expression
public boolean hasNested(java.lang.String expression)
hasNested
in interface IResolver
expression
- The property expression
public boolean isIndexed(java.lang.String expression)
isIndexed
in interface IResolver
expression
- The property expression
true
if the expression is indexed, otherwise
false
public boolean isMapped(java.lang.String expression)
isMapped
in interface IResolver
expression
- The property expression
true
if the expression is mapped, otherwise
false
public java.lang.String next(java.lang.String expression)
next
in interface IResolver
expression
- The property expression
public java.lang.String remove(java.lang.String expression)
remove
in interface IResolver
expression
- The property expression
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |