net.didion.jwnl.data.list
Class NodePrinter

java.lang.Object
  extended by net.didion.jwnl.data.list.NodePrinter

public abstract class NodePrinter
extends java.lang.Object

A printer for displaying the contents of a node list.


Constructor Summary
NodePrinter()
           
NodePrinter(int defaultIndent)
           
NodePrinter(java.io.PrintStream defaultStream)
           
NodePrinter(java.io.PrintStream defaultStream, int defaultIndent)
           
 
Method Summary
 void print(TypeCheckingList.TypeCheckingListIterator itr)
          Print the contents of itr using the default indent
 void print(TypeCheckingList.TypeCheckingListIterator itr, int indent)
          Print the contents of itr indenting each line indent spaces.
 void print(TypeCheckingList.TypeCheckingListIterator itr, int indent, int indentIncrement)
          Print the contents of itr to the default stream.
 void print(TypeCheckingList.TypeCheckingListIterator itr, java.io.PrintStream stream)
          Print the contents of itr to the given stream
 void print(TypeCheckingList.TypeCheckingListIterator itr, java.io.PrintStream stream, int indent)
          Print the contents of itr to the given stream indenting each line indent spaces.
 void print(TypeCheckingList.TypeCheckingListIterator itr, java.io.PrintStream stream, int indent, int indentIncrement)
          Print the contents of itr to the given stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodePrinter

public NodePrinter()

NodePrinter

public NodePrinter(int defaultIndent)

NodePrinter

public NodePrinter(java.io.PrintStream defaultStream)

NodePrinter

public NodePrinter(java.io.PrintStream defaultStream,
                   int defaultIndent)
Method Detail

print

public void print(TypeCheckingList.TypeCheckingListIterator itr)
Print the contents of itr using the default indent


print

public void print(TypeCheckingList.TypeCheckingListIterator itr,
                  java.io.PrintStream stream)
Print the contents of itr to the given stream


print

public void print(TypeCheckingList.TypeCheckingListIterator itr,
                  java.io.PrintStream stream,
                  int indent)
Print the contents of itr to the given stream indenting each line indent spaces.


print

public void print(TypeCheckingList.TypeCheckingListIterator itr,
                  int indent)
Print the contents of itr indenting each line indent spaces.


print

public void print(TypeCheckingList.TypeCheckingListIterator itr,
                  int indent,
                  int indentIncrement)
Print the contents of itr to the default stream. Indent the first line indent spaces. Each level of nesting will be printed intented indentIncrement spaces more than the previous level of nesting.


print

public void print(TypeCheckingList.TypeCheckingListIterator itr,
                  java.io.PrintStream stream,
                  int indent,
                  int indentIncrement)
Print the contents of itr to the given stream. Indent the first line indent spaces. Each level of nesting will be printed intented indentIncrement spaces more than the previous level of nesting.