public abstract class NumericExpression extends ExpressionNode implements NodeType
| Modifier and Type | Field and Description |
|---|---|
protected Class |
_getterClass |
_children, _id, _parent, _parser| Constructor and Description |
|---|
NumericExpression(int id) |
NumericExpression(OgnlParser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
String |
coerceToNumeric(String source,
OgnlContext context,
Node child) |
Class |
getGetterClass()
The type returned from the expression - if any.
|
Class |
getSetterClass()
The type used to set the value - if any.
|
String |
toGetSourceString(OgnlContext context,
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, toStringprotected Class _getterClass
public NumericExpression(int id)
public NumericExpression(OgnlParser p, int id)
public Class getGetterClass()
NodeTypegetGetterClass in interface NodeTypepublic Class getSetterClass()
NodeTypegetSetterClass in interface NodeTypepublic String toGetSourceString(OgnlContext context, Object target)
JavaSourceExpressionAccessor.get(OgnlContext, Object) calls.toGetSourceString in interface JavaSourcetoGetSourceString in class ExpressionNodepublic String coerceToNumeric(String source, OgnlContext context, Node child)
Copyright © 1997–2018 OpenSymphony. All rights reserved.