Package org.apache.jasper.compiler
Class Node.Nodes
- java.lang.Object
-
- org.apache.jasper.compiler.Node.Nodes
-
- Enclosing class:
- Node
public static class Node.Nodes extends java.lang.ObjectAn ordered list of Node, used to represent the body of an element, or a jsp page of jsp document.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Node n)Appends a node to the listNodegetNode(int index)Node.RootgetRoot()booleanisGeneratedInBuffer()voidremove(Node n)Removes the given node from the list.voidsetGeneratedInBuffer(boolean g)intsize()voidvisit(Node.Visitor v)Visit the nodes in the list with the supplied visitor
-
-
-
Method Detail
-
add
public void add(Node n)
Appends a node to the list- Parameters:
n- The node to add
-
remove
public void remove(Node n)
Removes the given node from the list.- Parameters:
n- The node to be removed
-
visit
public void visit(Node.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
-
size
public int size()
-
getNode
public Node getNode(int index)
-
getRoot
public Node.Root getRoot()
-
isGeneratedInBuffer
public boolean isGeneratedInBuffer()
-
setGeneratedInBuffer
public void setGeneratedInBuffer(boolean g)
-
-