| java.lang.Object org.xml.sax.helpers.ParserAdapter
Inner Class :final class AttributeListAdapter implements Attributes | |
ParserAdapter | public ParserAdapter() throws SAXException(Code) | | Construct a new parser adapter.
Use the "org.xml.sax.parser" property to locate the
embedded SAX1 driver.
exception: SAXException - If the embedded drivercannot be instantiated or if theorg.xml.sax.parser property is not specified. |
ParserAdapter | public ParserAdapter(Parser parser)(Code) | | Construct a new parser adapter.
Note that the embedded parser cannot be changed once the
adapter is created; to embed a different parser, allocate
a new ParserAdapter.
Parameters: parser - The SAX1 parser to embed. exception: java.lang.NullPointerException - If the parser parameteris null. |
characters | public void characters(char ch, int start, int length) throws SAXException(Code) | | Adapter implementation method; do not call.
Adapt a SAX1 characters event.
Parameters: ch - An array of characters. Parameters: start - The starting position in the array. Parameters: length - The number of characters to use. exception: SAXException - The client may raise aprocessing exception. See Also: org.xml.sax.DocumentHandler.characters |
ignorableWhitespace | public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code) | | Adapter implementation method; do not call.
Adapt a SAX1 ignorable whitespace event.
Parameters: ch - An array of characters. Parameters: start - The starting position in the array. Parameters: length - The number of characters to use. exception: SAXException - The client may raise aprocessing exception. See Also: org.xml.sax.DocumentHandler.ignorableWhitespace |
reportError | void reportError(String message) throws SAXException(Code) | | Report a non-fatal error.
Parameters: message - The error message. exception: SAXException - The client may throwan exception. |
startElement | public void startElement(String qName, AttributeList qAtts) throws SAXException(Code) | | Adapter implementation method; do not call.
Adapt a SAX1 startElement event.
If necessary, perform Namespace processing.
Parameters: qName - The qualified (prefixed) name. Parameters: qAtts - The XML 1.0 attribute list (with qnames). exception: SAXException - The client may raise aprocessing exception. |
|
|