Package org.apache.jasper.compiler
Class ELNode.Nodes
- java.lang.Object
-
- org.apache.jasper.compiler.ELNode.Nodes
-
- Enclosing class:
- ELNode
public static class ELNode.Nodes extends java.lang.ObjectAn ordered list of ELNode.
-
-
Constructor Summary
Constructors Constructor Description Nodes()Creates a new empty Nodes list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(ELNode en)Adds an ELNode to this list.booleancontainsEL()Checks whether the expression contains an EL expression in the form ${...}.java.lang.StringgetMapName()Returns the function map name for this EL expression.booleanisEmpty()Returns whether this list contains no nodes.java.util.Iterator<ELNode>iterator()Returns an iterator over the nodes in this list.voidsetMapName(java.lang.String name)Sets the function map name for this EL expression.voidvisit(ELNode.Visitor v)Visit the nodes in the list with the supplied visitor.
-
-
-
Method Detail
-
add
public void add(ELNode en)
Adds an ELNode to this list.- Parameters:
en- the node to add
-
visit
public void visit(ELNode.Visitor v) throws JasperException
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
public java.util.Iterator<ELNode> iterator()
Returns an iterator over the nodes in this list.- Returns:
- an iterator over the nodes
-
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
public void setMapName(java.lang.String name)
Sets the function map name for this EL expression.- Parameters:
name- the function map name
-
getMapName
public java.lang.String getMapName()
Returns the function map name for this EL expression.- Returns:
- the function map name
-
-