Package ognl
Class ASTBitAnd
- java.lang.Object
-
- ognl.SimpleNode
-
- ognl.ExpressionNode
-
- ognl.NumericExpression
-
- ognl.ASTBitAnd
-
- All Implemented Interfaces:
java.io.Serializable,JavaSource,Node,NodeType
public class ASTBitAnd extends NumericExpression
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID-
Fields inherited from class ognl.NumericExpression
getterClass
-
Fields inherited from class ognl.SimpleNode
children, id, parent, parser
-
-
Constructor Summary
Constructors Constructor Description ASTBitAnd(int id)ASTBitAnd(OgnlParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcoerceToNumeric(java.lang.String source, OgnlContext context, Node child)java.lang.StringgetExpressionOperator(int index)protected java.lang.ObjectgetValueBody(OgnlContext context, java.lang.Object source)Subclasses implement this method to do the actual work of extracting the appropriate value from the source object.voidjjtClose()This method is called after all the child nodes have been added.-
Methods inherited from class ognl.NumericExpression
getGetterClass, getSetterClass, toGetSourceString
-
Methods inherited from class ognl.ExpressionNode
isConstant, isNodeConstant, isOperation, toSetSourceString, toString
-
Methods inherited from class ognl.SimpleNode
dump, evaluateGetValueBody, evaluateSetValueBody, flattenTree, getAccessor, getIndexInParent, getNextSibling, getValue, isChain, isEvalChain, isNodeSimpleProperty, isSequence, isSimpleMethod, isSimpleNavigationChain, isSimpleProperty, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, lastChild, setAccessor, setValue, setValueBody, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ASTBitAnd
public ASTBitAnd(int id)
-
ASTBitAnd
public ASTBitAnd(OgnlParser p, int id)
-
-
Method Detail
-
jjtClose
public void jjtClose()
Description copied from interface:NodeThis method is called after all the child nodes have been added.- Specified by:
jjtClosein interfaceNode- Overrides:
jjtClosein classSimpleNode
-
getValueBody
protected java.lang.Object getValueBody(OgnlContext context, java.lang.Object source) throws OgnlException
Description copied from class:SimpleNodeSubclasses implement this method to do the actual work of extracting the appropriate value from the source object.- Specified by:
getValueBodyin classSimpleNode- Parameters:
context- the OgnlContext within which to perform the operation.source- the Object from which to get the value body.- Returns:
- the value body from the source (as appropriate within the provided context).
- Throws:
OgnlException- if the value body get fails.
-
getExpressionOperator
public java.lang.String getExpressionOperator(int index)
- Overrides:
getExpressionOperatorin classExpressionNode
-
coerceToNumeric
public java.lang.String coerceToNumeric(java.lang.String source, OgnlContext context, Node child)- Overrides:
coerceToNumericin classNumericExpression
-
-