FileDocCategorySizeDatePackage
Tracer.javaAPI DocGlassfish v2 API488Wed Feb 08 12:31:32 GMT 2006persistence.antlr.debug

Tracer

public class Tracer extends TraceAdapter implements TraceListener

Fields Summary
String
indent
Constructors Summary
Methods Summary
protected voiddedent()

 // TBD: should be StringBuffer


	   
		if (indent.length() < 2)
			indent = "";
		else
			indent = indent.substring(2);
	
public voidenterRule(TraceEvent e)

		System.out.println(indent+e);
		indent();
	
public voidexitRule(TraceEvent e)

		dedent();
		System.out.println(indent+e);
	
protected voidindent()

		indent += "  ";