|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.util.NodePrinter
public class NodePrinter extends java.lang.Object
A helper class for creating nested trees of data
Field Summary | |
---|---|
protected IndentPrinter |
out
|
Constructor Summary | |
NodePrinter()
|
|
NodePrinter(java.io.PrintWriter out)
|
|
NodePrinter(IndentPrinter out)
|
Method Summary | |
---|---|
void
|
print(Node node)
|
protected void
|
printAttributes(java.util.Map attributes)
|
protected void
|
printList(java.util.List list)
|
protected void
|
printName(Node node)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
protected final IndentPrinter out
Constructor Detail |
---|
public NodePrinter()
public NodePrinter(java.io.PrintWriter out)
public NodePrinter(IndentPrinter out)
Method Detail |
---|
public void print(Node node)
protected void printAttributes(java.util.Map attributes)
protected void printList(java.util.List list)
protected void printName(Node node)
Groovy Documentation