Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## xjavadoc
Class NodePrinter

    java.lang.Object
      xjavadoc.NodePrinter

public final class NodePrinter
extends Object

This visitor prints a node and all its children to a PrintWriter. The PrintWriter must be passed to the data variable in the jjtAccept method of the node from which printing should start. T print a whole class, call compilationUnit.jjtAccept( new PrintVisitor(), System.out );

Author:
  Aslak Hellesøy

Constructor Summary
`NodePrinter()`

Method Summary
`protected String` | `addUnicodeEscapesOld(String str)` Describe the method
`static void` | `print(SimpleNode node, Writer o)` Describe what the method does

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NodePrinter

    public NodePrinter()

Method Detail

### print

    public static void print(SimpleNode node,
                             Writer o)

  Describe what the method does

  Parameters:
    `node` - Describe what the parameter does
    `o` -

### addUnicodeEscapesOld

    protected String addUnicodeEscapesOld(String str)

  Describe the method

  Parameters:
    `str` - Describe the method parameter
  Returns:
    Describe the return value

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2004 XDoclet Team. All Rights Reserved.