public abstract class NumericExpression extends ExpressionNode implements NodeType
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class |
_getterClass |
_children, _id, _parent, _parser| Constructor and Description |
|---|
NumericExpression(int id) |
NumericExpression(OgnlParser p,
int id) |
| Modifier and Type | Method and 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, isOperation, toSetSourceString, toStringdump, evaluateGetValueBody, evaluateSetValueBody, flattenTree, getAccessor, getIndexInParent, getNextSibling, getValue, getValueBody, isChain, isEvalChain, isNodeSimpleProperty, isSequence, isSimpleMethod, isSimpleNavigationChain, isSimpleProperty, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, lastChild, setAccessor, setValue, setValueBody, toStringpublic NumericExpression(int id)
public NumericExpression(OgnlParser p, int id)
public java.lang.Class getGetterClass()
NodeTypegetGetterClass in interface NodeTypepublic java.lang.Class getSetterClass()
NodeTypegetSetterClass in interface NodeTypepublic java.lang.String toGetSourceString(OgnlContext context, java.lang.Object target)
JavaSourceExpressionAccessor.get(OgnlContext, Object) calls.toGetSourceString in interface JavaSourcetoGetSourceString in class ExpressionNodepublic java.lang.String coerceToNumeric(java.lang.String source,
OgnlContext context,
Node child)
Copyright © 1997-2018 OpenSymphony. All Rights Reserved.