class ASTNegate extends NumericExpression
_getterClass_children, _id, _parent, _parser| Constructor and Description |
|---|
ASTNegate(int id) |
ASTNegate(OgnlParser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
getValueBody(OgnlContext context,
java.lang.Object source)
Subclasses implement this method to do the actual work of extracting the appropriate value from the source object.
|
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. |
java.lang.String |
toString() |
coerceToNumeric, getGetterClass, getSetterClassgetExpressionOperator, isConstant, isNodeConstant, toSetSourceStringdump, evaluateGetValueBody, evaluateSetValueBody, flattenTree, getAccessor, getIndexInParent, getNextSibling, getValue, isNodeSimpleProperty, isSimpleNavigationChain, isSimpleProperty, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, lastChild, setAccessor, setValue, setValueBody, toStringpublic ASTNegate(int id)
public ASTNegate(OgnlParser p, int id)
protected java.lang.Object getValueBody(OgnlContext context, java.lang.Object source) throws OgnlException
SimpleNodegetValueBody in class SimpleNodeOgnlExceptionpublic java.lang.String toString()
toString in class ExpressionNodepublic java.lang.String toGetSourceString(OgnlContext context, java.lang.Object target)
JavaSourceExpressionAccessor.get(OgnlContext, Object) calls.toGetSourceString in interface JavaSourcetoGetSourceString in class NumericExpression