java.io.Serializable
, JavaSource
, Node
, NodeType
public abstract class NumericExpression extends ExpressionNode implements NodeType
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.Class |
_getterClass |
_children, _id, _parent, _parser
Constructor | Description |
---|---|
NumericExpression(int id) |
|
NumericExpression(OgnlParser p,
int id) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
coerceToNumeric(java.lang.String source,
OgnlContext context,
Node child) |
|
java.lang.Class |
getGetterClass() |
The type returned from the expression - if any.
|
java.lang.Class |
getSetterClass() |
The type used to set the value - if any.
|
java.lang.String |
toGetSourceString(OgnlContext context,
java.lang.Object target) |
Expected to return a java source representation of itself such that
it could be turned into a literal java expression to be compiled and
executed for
ExpressionAccessor.get(OgnlContext, Object) calls. |
getExpressionOperator, isConstant, isNodeConstant, toSetSourceString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dump, evaluateGetValueBody, evaluateSetValueBody, flattenTree, getAccessor, getIndexInParent, getNextSibling, getValue, getValueBody, isNodeSimpleProperty, isSimpleNavigationChain, isSimpleProperty, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, lastChild, setAccessor, setValue, setValueBody, toString
public NumericExpression(int id)
public NumericExpression(OgnlParser p, int id)
public java.lang.Class getGetterClass()
NodeType
getGetterClass
in interface NodeType
public java.lang.Class getSetterClass()
NodeType
getSetterClass
in interface NodeType
public java.lang.String toGetSourceString(OgnlContext context, java.lang.Object target)
JavaSource
ExpressionAccessor.get(OgnlContext, Object)
calls.toGetSourceString
in interface JavaSource
toGetSourceString
in class ExpressionNode
public java.lang.String coerceToNumeric(java.lang.String source, OgnlContext context, Node child)