|
Groovy 1.7.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.util.NodePrinter
class NodePrinter extends Object
A helper class for creating nested trees of data
| Field Summary | |
|---|---|
protected IndentPrinter |
out
|
| Constructor Summary | |
NodePrinter()
|
|
NodePrinter(PrintWriter out)
|
|
NodePrinter(IndentPrinter out)
|
|
| Method Summary | |
|---|---|
void
|
print(Node node)
|
protected void
|
printAttributes(Map attributes)
|
protected void
|
printList(List list)
|
protected void
|
printName(Node node)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
| Field Detail |
|---|
protected final IndentPrinter out
| Constructor Detail |
|---|
public NodePrinter()
public NodePrinter(PrintWriter out)
public NodePrinter(IndentPrinter out)
| Method Detail |
|---|
public void print(Node node)
protected void printAttributes(Map attributes)
protected void printList(List list)
protected void printName(Node node)
Copyright © 2003-2009 The Codehaus. All rights reserved.