Class Sax2ComponentReader
java.lang.Object
org.exolab.castor.xml.schema.reader.Sax2ComponentReader
- All Implemented Interfaces:
DocumentHandler
,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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) void
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
void
startElement
(String name, AttributeList atts) void
warning
(SAXParseException exception)
-
Constructor Details
-
Sax2ComponentReader
-
-
Method Details
-
characters
- Specified by:
characters
in interfaceDocumentHandler
- Throws:
SAXException
-
endDocument
- Specified by:
endDocument
in interfaceDocumentHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceDocumentHandler
- Throws:
SAXException
-
ignorableWhitespace
- Specified by:
ignorableWhitespace
in interfaceDocumentHandler
- Throws:
SAXException
-
processingInstruction
- Specified by:
processingInstruction
in interfaceDocumentHandler
- Throws:
SAXException
-
setDocumentLocator
- Specified by:
setDocumentLocator
in interfaceDocumentHandler
-
startDocument
- Specified by:
startDocument
in interfaceDocumentHandler
- Throws:
SAXException
-
startElement
- Specified by:
startElement
in interfaceDocumentHandler
- Throws:
SAXException
-
error
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Throws:
SAXException
-