|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.beanfilter.EvalValue com.gridsystems.beanfilter.EvalNode
public abstract class EvalNode
Evaluation tree node.
Field Summary |
---|
Fields inherited from class com.gridsystems.beanfilter.EvalValue |
---|
BOOLEAN, COLLECTION, NUMBER, STRING, UNKNOWN, VOID |
Constructor Summary | |
---|---|
EvalNode(int linePos,
int charPos)
Creates a new instance. |
Method Summary | |
---|---|
abstract boolean |
eval(java.lang.Object src)
Evaluates the node. |
java.lang.Class<?> |
getClassValue(java.lang.Class<?> parentClass)
|
java.lang.Object |
getValue(java.lang.Object src)
Gets the value. |
Methods inherited from class com.gridsystems.beanfilter.EvalValue |
---|
getCharPos, getLinePos |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EvalNode(int linePos, int charPos)
linePos
- The line token positioncharPos
- The char token positionMethod Detail |
---|
public final java.lang.Object getValue(java.lang.Object src) throws EvalException
getValue
in class EvalValue
src
- The data source
EvalException
- FTR005: Unknown field pathpublic final java.lang.Class<?> getClassValue(java.lang.Class<?> parentClass) throws EvalException
getClassValue
in class EvalValue
parentClass
- Parent Class
EvalException
- If an error occurspublic abstract boolean eval(java.lang.Object src) throws EvalException
src
- Data source, for dynamic nodes
true
if src makes true the node
EvalException
- If an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |