Class ASTMapLiteral
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.parser.SimpleNode
edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.parser.JexlNode
edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.parser.ASTMapLiteral
- All Implemented Interfaces:
JexlInfo
,JexlNode.Literal<Object>
,Node
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.parser.JexlNode
JexlNode.Literal<T>
-
Field Summary
Fields inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.parser.JexlNode
image
Fields inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.parser.SimpleNode
children, id, parent, value
-
Method Summary
Modifier and TypeMethodDescriptionGets the literal value.jjtAccept
(ParserVisitor visitor, Object data) Accept the visitor.void
jjtClose()
This method is called after all the child nodes have been added.void
setLiteral
(Object literal) Sets the literal value only if the descendants of this node compose a constantMethods inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.parser.JexlNode
debugInfo, debugString, isConstant, isConstant
Methods inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.parser.SimpleNode
childrenAccept, dump, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
-
Method Details
-
jjtClose
public void jjtClose()This method is called after all the child nodes have been added.- Specified by:
jjtClose
in interfaceNode
- Overrides:
jjtClose
in classSimpleNode
-
getLiteral
Gets the literal value.- Specified by:
getLiteral
in interfaceJexlNode.Literal<Object>
- Returns:
- the array literal
-
setLiteral
Sets the literal value only if the descendants of this node compose a constant- Parameters:
literal
- the literal array value- Throws:
IllegalArgumentException
- if literal is not an array or null
-
jjtAccept
Accept the visitor.- Specified by:
jjtAccept
in interfaceNode
- Overrides:
jjtAccept
in classSimpleNode
- Parameters:
visitor
- the visitordata
- contextual data- Returns:
- result of visit
-