org.exolab.castor.xml.schema.reader

Class Sax2ComponentReader

Implemented Interfaces:
DocumentHandler, org.xml.sax.ErrorHandler

public final class Sax2ComponentReader
extends java.lang.Object
implements DocumentHandler, org.xml.sax.ErrorHandler

A SAX adapter class for the ComponentReader.
Version:
$Revision: 5951 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
Author:
Keith Visco

Constructor Summary

Sax2ComponentReader(ComponentReader compReader)

Method Summary

void
characters(char[] ch, int start, int length)
void
endDocument()
void
endElement(String name)
void
error(SAXParseException exception)
void
fatalError(SAXParseException exception)
void
ignorableWhitespace(char[] ch, int start, int length)
void
processingInstruction(String target, String data)
void
setDocumentLocator(Locator locator)
void
startDocument()
void
startElement(String name, AttributeList atts)
void
warning(SAXParseException exception)

Constructor Details

Sax2ComponentReader

public Sax2ComponentReader(ComponentReader compReader)

Method Details

characters

public void characters(char[] ch,
                       int start,
                       int length)
            throws SAXException

endDocument

public void endDocument()
            throws SAXException

endElement

public void endElement(String name)
            throws SAXException

error

public void error(SAXParseException exception)
            throws SAXException

fatalError

public void fatalError(SAXParseException exception)
            throws SAXException

ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int start,
                                int length)
            throws SAXException

processingInstruction

public void processingInstruction(String target,
                                  String data)
            throws SAXException

setDocumentLocator

public void setDocumentLocator(Locator locator)

startDocument

public void startDocument()
            throws SAXException

startElement

public void startElement(String name,
                         AttributeList atts)
            throws SAXException

warning

public void warning(SAXParseException exception)
            throws SAXException

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com