|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 position| Method Detail |
|---|
public final java.lang.Object getValue(java.lang.Object src)
throws EvalException
getValue in class EvalValuesrc - The data source
EvalException - FTR005: Unknown field path
public final java.lang.Class<?> getClassValue(java.lang.Class<?> parentClass)
throws EvalException
getClassValue in class EvalValueparentClass - Parent Class
EvalException - If an error occurs
public 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 | ||||||||