Package groovy.util
Class NodePrinter
- java.lang.Object
 - 
- groovy.util.NodePrinter
 
 
- 
public class NodePrinter extends Object
A helper class for creating nested trees of data 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected IndentPrinterout 
- 
Constructor Summary
Constructors Constructor Description NodePrinter()NodePrinter(IndentPrinter out)NodePrinter(PrintWriter out) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprint(Node node)protected voidprintAttributes(Map attributes)protected voidprintList(List list)protected voidprintName(Node node) 
 - 
 
- 
- 
Field Detail
- 
out
protected final IndentPrinter out
 
 - 
 
- 
Constructor Detail
- 
NodePrinter
public NodePrinter()
 
- 
NodePrinter
public NodePrinter(PrintWriter out)
 
- 
NodePrinter
public NodePrinter(IndentPrinter out)
 
 - 
 
 -