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 Details

  • Constructor Details

    • NodePrinter

      public NodePrinter()
    • NodePrinter

      public NodePrinter​(PrintWriter out)
    • NodePrinter

      public NodePrinter​(IndentPrinter out)
  • Method Details

    • print

      public void print​(Node node)
    • printName

      protected void printName​(Node node)
    • printList

      protected void printList​(List list)
    • printAttributes

      protected void printAttributes​(Map attributes)