xjavadoc
Class NodePrinter

java.lang.Object
  extended byxjavadoc.NodePrinter

public final class NodePrinter
extends java.lang.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  java.lang.String addUnicodeEscapesOld(java.lang.String str)
          Describe the method
static void print(SimpleNode node, java.io.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,
                         java.io.Writer o)
Describe what the method does

Parameters:
node - Describe what the parameter does
o -

addUnicodeEscapesOld

protected java.lang.String addUnicodeEscapesOld(java.lang.String str)
Describe the method

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


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