Package ognl
Class ASTKeyValue
- java.lang.Object
-
- ognl.SimpleNode
-
- ognl.ASTKeyValue
-
- All Implemented Interfaces:
java.io.Serializable,JavaSource,Node
public class ASTKeyValue extends SimpleNode
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID-
Fields inherited from class ognl.SimpleNode
children, id, parent, parser
-
-
Constructor Summary
Constructors Constructor Description ASTKeyValue(int id)ASTKeyValue(OgnlParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NodegetKey()protected NodegetValue()protected java.lang.ObjectgetValueBody(OgnlContext context, java.lang.Object source)Returns null because this is a parser construct and does not evaluatejava.lang.StringtoString()-
Methods inherited from class ognl.SimpleNode
dump, evaluateGetValueBody, evaluateSetValueBody, flattenTree, getAccessor, getIndexInParent, getNextSibling, getValue, isChain, isConstant, isEvalChain, isNodeConstant, isNodeSimpleProperty, isOperation, isSequence, isSimpleMethod, isSimpleNavigationChain, isSimpleProperty, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, lastChild, setAccessor, setValue, setValueBody, toGetSourceString, toSetSourceString, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ASTKeyValue
public ASTKeyValue(int id)
-
ASTKeyValue
public ASTKeyValue(OgnlParser p, int id)
-
-
Method Detail
-
getKey
protected Node getKey()
-
getValue
protected Node getValue()
-
getValueBody
protected java.lang.Object getValueBody(OgnlContext context, java.lang.Object source) throws OgnlException
Returns null because this is a parser construct and does not evaluate- 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.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classSimpleNode
-
-