Public Member Functions | Package Attributes

org.exolab.castor.xml.DebugHandler Class Reference

Inherits org::xml::sax::DocumentHandler.

List of all members.

Public Member Functions

 DebugHandler (DocumentHandler handler)
 DebugHandler (DocumentHandler handler, Writer out)
void characters (char[] ch, int start, int length) throws org.xml.sax.SAXException
void endDocument () throws org.xml.sax.SAXException
void endElement (String name) throws org.xml.sax.SAXException
void ignorableWhitespace (char[] ch, int start, int length) throws org.xml.sax.SAXException
void processingInstruction (String target, String data) throws org.xml.sax.SAXException
void setDocumentLocator (Locator locator)
void startDocument () throws org.xml.sax.SAXException
void startElement (String name, AttributeList atts) throws org.xml.sax.SAXException

Package Attributes

Writer _out = null
DocumentHandler _handler = null
boolean newLine = false

Detailed Description

A Simple DocumentHandler that intercepts SAX events and prints them to the console

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:09

Constructor & Destructor Documentation

org.exolab.castor.xml.DebugHandler.DebugHandler ( DocumentHandler  handler  ) 

Creates a new DebugHandler which forwards events to the given document handler

Parameters:
handler the DocumentHandler to forward events to
org.exolab.castor.xml.DebugHandler.DebugHandler ( DocumentHandler  handler,
Writer  out 
)

Creates a new DebugHandler which forwards events to the given document handler

Parameters:
handler the DocumentHandler to forward events to
out the Writer to print debug information to

References org.exolab.castor.xml.DebugHandler._handler, and org.exolab.castor.xml.DebugHandler._out.


Member Function Documentation

void org.exolab.castor.xml.DebugHandler.characters ( char[]  ch,
int  start,
int  length 
) throws org.xml.sax.SAXException
void org.exolab.castor.xml.DebugHandler.endDocument (  )  throws org.xml.sax.SAXException
void org.exolab.castor.xml.DebugHandler.endElement ( String  name  )  throws org.xml.sax.SAXException
void org.exolab.castor.xml.DebugHandler.ignorableWhitespace ( char[]  ch,
int  start,
int  length 
) throws org.xml.sax.SAXException
void org.exolab.castor.xml.DebugHandler.processingInstruction ( String  target,
String  data 
) throws org.xml.sax.SAXException
void org.exolab.castor.xml.DebugHandler.setDocumentLocator ( Locator  locator  ) 
void org.exolab.castor.xml.DebugHandler.startDocument (  )  throws org.xml.sax.SAXException
void org.exolab.castor.xml.DebugHandler.startElement ( String  name,
AttributeList  atts 
) throws org.xml.sax.SAXException

Member Data Documentation

DocumentHandler org.exolab.castor.xml.DebugHandler._handler = null [package]
Writer org.exolab.castor.xml.DebugHandler._out = null [package]
boolean org.exolab.castor.xml.DebugHandler.newLine = false [package]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties