Class DebugHandler

java.lang.Object
org.exolab.castor.xml.DebugHandler
All Implemented Interfaces:
DocumentHandler

public class DebugHandler extends Object implements DocumentHandler
A Simple SAX1 DocumentHandler that intercepts SAX events and prints them to the console. This class is not used during normal Castor operation, but exists so that during debugging one can replace a normal DocumentHandler with this one (which will proxy to the correct DocumentHandler).

FIXME: As Castor moves internally to the SAX2 interface, this class should also be updated for SAX2.

Version:
$Revision$ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Author:
Keith Visco