public static class Node.Nodes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
generatedInBuffer |
private java.util.List<Node> |
list |
private Node.Root |
root |
Modifier and Type | Method and Description |
---|---|
void |
add(Node n)
Appends a node to the list
|
Node |
getNode(int index) |
Node.Root |
getRoot() |
boolean |
isGeneratedInBuffer() |
void |
remove(Node n)
Removes the given node from the list.
|
void |
setGeneratedInBuffer(boolean g) |
int |
size() |
void |
visit(Node.Visitor v)
Visit the nodes in the list with the supplied visitor
|
private java.util.List<Node> list
private Node.Root root
private boolean generatedInBuffer
public Nodes()
public Nodes(Node.Root root)
public void add(Node n)
n
- The node to addpublic void remove(Node n)
n
- The node to be removedpublic void visit(Node.Visitor v) throws JasperException
v
- The visitor usedJasperException
public int size()
public Node getNode(int index)
public Node.Root getRoot()
public boolean isGeneratedInBuffer()
public void setGeneratedInBuffer(boolean g)