|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.beanfilter.EvalValue
public abstract class EvalValue
Type description.
Field Summary | |
---|---|
static int |
BOOLEAN
Boolean type. |
static int |
COLLECTION
Collection type. |
static int |
NUMBER
Numeric type. |
static int |
STRING
String type. |
static int |
UNKNOWN
Unknown type. |
static int |
VOID
Void type. |
Constructor Summary | |
---|---|
EvalValue(int linePos,
int charPos)
Creates a new instance. |
Method Summary | |
---|---|
int |
getCharPos()
Gets the char position of the beginning of this value in the filter expression. |
abstract java.lang.Class<?> |
getClassValue(java.lang.Class<?> parentClass)
|
int |
getLinePos()
Gets the line position of the beginning of this value in the filter expression. |
abstract java.lang.Object |
getValue(java.lang.Object src)
Gets the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BOOLEAN
public static final int NUMBER
public static final int STRING
public static final int COLLECTION
public static final int VOID
public static final int UNKNOWN
Constructor Detail |
---|
public EvalValue(int linePos, int charPos)
linePos
- The line token positioncharPos
- The char token positionMethod Detail |
---|
public abstract java.lang.Object getValue(java.lang.Object src) throws EvalException
src
- The data source
EvalException
- FTR005: Unknown field path
EvalException
- FTR006: Invalid operand
EvalException
- FTR007: Pattern syntax errorpublic int getLinePos()
public int getCharPos()
public abstract java.lang.Class<?> getClassValue(java.lang.Class<?> parentClass) throws EvalException
parentClass
- Parent Class
EvalException
- If an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |