public final class ASTMapLiteral extends JexlNode implements JexlNode.Literal<java.lang.Object>
JexlNode.Literal<T>
children, id, parent, value
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getLiteral()
Gets the literal value.
|
java.lang.Object |
jjtAccept(org.apache.commons.jexl2.parser.ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
void |
jjtClose() |
void |
setLiteral(java.lang.Object literal)
Sets the literal value only if the descendants of this node compose a constant
|
debugInfo, debugString, isConstant, isConstant
childrenAccept, dump, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
public void jjtClose()
jjtClose
in interface org.apache.commons.jexl2.parser.Node
jjtClose
in class SimpleNode
public java.lang.Object getLiteral()
getLiteral
in interface JexlNode.Literal<java.lang.Object>
public void setLiteral(java.lang.Object literal)
literal
- the literal array valuejava.lang.IllegalArgumentException
- if literal is not an array or nullpublic java.lang.Object jjtAccept(org.apache.commons.jexl2.parser.ParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface org.apache.commons.jexl2.parser.Node
jjtAccept
in class SimpleNode
visitor
- the visitordata
- contextual dataCopyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.