Class ELNode.Nodes
java.lang.Object
org.apache.jasper.compiler.ELNode.Nodes
- Enclosing class:
ELNode
An ordered list of ELNode.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an ELNode to this list.booleanChecks whether the expression contains an EL expression in the form ${...}.Returns the function map name for this EL expression.booleanisEmpty()Returns whether this list contains no nodes.iterator()Returns an iterator over the nodes in this list.voidsetMapName(String name) Sets the function map name for this EL expression.voidVisit the nodes in the list with the supplied visitor.
-
Constructor Details
-
Nodes
public Nodes()Creates a new empty Nodes list.
-
-
Method Details
-
add
-
visit
Visit the nodes in the list with the supplied visitor.- Parameters:
v- The visitor used- Throws:
JasperException- if an error occurs while visiting a node
-
iterator
-
isEmpty
public boolean isEmpty()Returns whether this list contains no nodes.- Returns:
- true if empty
-
containsEL
public boolean containsEL()Checks whether the expression contains an EL expression in the form ${...}.- Returns:
- true if the expression contains a ${...}
-
setMapName
Sets the function map name for this EL expression.- Parameters:
name- the function map name
-
getMapName
Returns the function map name for this EL expression.- Returns:
- the function map name
-