Package org.apache.jasper.compiler
Class Node.Nodes
java.lang.Object
org.apache.jasper.compiler.Node.Nodes
- Enclosing class:
Node
An ordered list of Node, used to represent the body of an element, or
a jsp page of jsp document.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Appends a node to the listgetNode
(int index) getRoot()
boolean
void
Removes the given node from the list.void
setGeneratedInBuffer
(boolean g) int
size()
void
Visit the nodes in the list with the supplied visitor
-
Field Details
-
list
-
root
-
generatedInBuffer
private boolean generatedInBuffer
-
-
Constructor Details
-
Nodes
public Nodes() -
Nodes
-
-
Method Details
-
add
Appends a node to the list- Parameters:
n
- The node to add
-
remove
Removes the given node from the list.- Parameters:
n
- The node to be removed
-
visit
Visit the nodes in the list with the supplied visitor- Parameters:
v
- The visitor used- Throws:
JasperException
-
size
public int size() -
getNode
-
getRoot
-
isGeneratedInBuffer
public boolean isGeneratedInBuffer() -
setGeneratedInBuffer
public void setGeneratedInBuffer(boolean g)
-