org.exolab.castor.xml.schema.reader
Class Sax2ComponentReader
java.lang.Object
org.exolab.castor.xml.schema.reader.Sax2ComponentReader
- All Implemented Interfaces:
- DocumentHandler, ErrorHandler
public final class Sax2ComponentReader
- extends Object
- implements 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sax2ComponentReader
public Sax2ComponentReader(ComponentReader compReader)
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters in interface DocumentHandler
- Throws:
SAXException
endDocument
public void endDocument()
throws SAXException
- Specified by:
endDocument in interface DocumentHandler
- Throws:
SAXException
endElement
public void endElement(String name)
throws SAXException
- Specified by:
endElement in interface DocumentHandler
- Throws:
SAXException
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
ignorableWhitespace in interface DocumentHandler
- Throws:
SAXException
processingInstruction
public void processingInstruction(String target,
String data)
throws SAXException
- Specified by:
processingInstruction in interface DocumentHandler
- Throws:
SAXException
setDocumentLocator
public void setDocumentLocator(Locator locator)
- Specified by:
setDocumentLocator in interface DocumentHandler
startDocument
public void startDocument()
throws SAXException
- Specified by:
startDocument in interface DocumentHandler
- Throws:
SAXException
startElement
public void startElement(String name,
AttributeList atts)
throws SAXException
- Specified by:
startElement in interface DocumentHandler
- Throws:
SAXException
error
public void error(SAXParseException exception)
throws SAXException
- Specified by:
error in interface ErrorHandler
- Throws:
SAXException
fatalError
public void fatalError(SAXParseException exception)
throws SAXException
- Specified by:
fatalError in interface ErrorHandler
- Throws:
SAXException
warning
public void warning(SAXParseException exception)
throws SAXException
- Specified by:
warning in interface ErrorHandler
- Throws:
SAXException
Copyright © 2012. All Rights Reserved.