Package groovy.util
Class NodePrinter
java.lang.Object
groovy.util.NodePrinter
public class NodePrinter
extends java.lang.Object
A helper class for creating nested trees of data
-
Field Summary
Fields Modifier and Type Field Description protected IndentPrinter
out
-
Constructor Summary
Constructors Constructor Description NodePrinter()
NodePrinter(IndentPrinter out)
NodePrinter(java.io.PrintWriter out)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
out
-
-
Constructor Details
-
NodePrinter
public NodePrinter() -
NodePrinter
public NodePrinter(java.io.PrintWriter out) -
NodePrinter
-
-
Method Details
-
print
-
printName
-
printList
protected void printList(java.util.List list) -
printAttributes
protected void printAttributes(java.util.Map attributes)
-