Public Member Functions

org.exolab.castor.xml.util.DocumentHandlerAdapter Class Reference

Inherits org::xml::sax::ContentHandler.

List of all members.

Public Member Functions

 DocumentHandlerAdapter (DocumentHandler handler)
void characters (char[] chars, int start, int length) throws SAXException
void endDocument () throws SAXException
void endElement (String uri, String localName, String qName) throws SAXException
void endPrefixMapping (String prefix) throws SAXException
void ignorableWhitespace (char[] chars, int start, int length) throws SAXException
void processingInstruction (String target, String data) throws SAXException
void setDocumentLocator (Locator locator)
void skippedEntity (String arg0) throws SAXException
void startDocument () throws SAXException
void startElement (String uri, String localName, String qName, Attributes atts) throws SAXException
void startPrefixMapping (String prefix, String uri) throws SAXException

Detailed Description

A ContentHandler implementation that wraps a DocumentHandler. This ContentHandler was written for the Marshaller and expects that QNames are non-null in calls to startElement and endElement methods as well as inside the Attributes list.

Author:
Keith Visco
Revision:
1.1
Date:
2004/09/10 18:15:10

Constructor & Destructor Documentation

org.exolab.castor.xml.util.DocumentHandlerAdapter.DocumentHandlerAdapter ( DocumentHandler  handler  ) 

Creates a new DocumentHandlerAdapter

Parameters:
handler the DocumentHandler to wrap (non-null).

Member Function Documentation

void org.exolab.castor.xml.util.DocumentHandlerAdapter.characters ( char[]  chars,
int  start,
int  length 
) throws SAXException
void org.exolab.castor.xml.util.DocumentHandlerAdapter.endDocument (  )  throws SAXException
void org.exolab.castor.xml.util.DocumentHandlerAdapter.endElement ( String  uri,
String  localName,
String  qName 
) throws SAXException
void org.exolab.castor.xml.util.DocumentHandlerAdapter.endPrefixMapping ( String  prefix  )  throws SAXException
void org.exolab.castor.xml.util.DocumentHandlerAdapter.ignorableWhitespace ( char[]  chars,
int  start,
int  length 
) throws SAXException
void org.exolab.castor.xml.util.DocumentHandlerAdapter.processingInstruction ( String  target,
String  data 
) throws SAXException
void org.exolab.castor.xml.util.DocumentHandlerAdapter.setDocumentLocator ( Locator  locator  ) 
void org.exolab.castor.xml.util.DocumentHandlerAdapter.skippedEntity ( String  arg0  )  throws SAXException
void org.exolab.castor.xml.util.DocumentHandlerAdapter.startDocument (  )  throws SAXException
void org.exolab.castor.xml.util.DocumentHandlerAdapter.startElement ( String  uri,
String  localName,
String  qName,
Attributes  atts 
) throws SAXException
void org.exolab.castor.xml.util.DocumentHandlerAdapter.startPrefixMapping ( String  prefix,
String  uri 
) throws SAXException

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