org.xml.sax |
This package provides the Java ME SAX API subset defined by JSR
172. The JSR 172 subset excludes deprecated SAX1 APIs as well as
some SAX2 APIs not essential for Java ME.
Note also that this code is based on the open source SAX APIs:
This package, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
See http://www.saxproject.org
for further information.
|
Java Source File Name | Type | Comment |
Attributes.java | Interface | Interface for a list of XML attributes.
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
This interface allows access to a list of attributes in
three different ways:
- by attribute index;
- by Namespace-qualified name; or
- by qualified (prefixed) name.
The list will not contain attributes that were declared
#IMPLIED but not specified in the start tag. |
InputSource.java | Class | A single input source for an XML entity.
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
This class allows a SAX application to encapsulate information
about an input source in a single object, which may include
a public identifier, a system identifier, a byte stream (possibly
with a specified encoding), and/or a character stream.
There are two places that the application will deliver this
input source to the parser: as the argument to the Parser.parse
method, or as the return value of the EntityResolver.resolveEntity
method.
The SAX parser will use the InputSource object to determine how
to read XML input. |
Locator.java | Interface | Interface for associating a SAX event with a document location.
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
If a SAX parser provides location information to the SAX
application, it does so by implementing this interface and then
passing an instance to the application using the content
handler's
org.xml.sax.helpers.DefaultHandler.setDocumentLocatorsetDocumentLocator method. |
SAXException.java | Class | Encapsulate a general SAX error or warning.
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
This class can contain basic error or warning information from
either the XML parser or the application: a parser writer or
application writer can subclass it to provide additional
functionality. |
SAXNotRecognizedException.java | Class | Exception class for an unrecognized identifier. |
SAXNotSupportedException.java | Class | Exception class for an unsupported operation.
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
An DefaultHandler will throw this exception when it recognizes a
feature or property identifier, but cannot perform the requested
operation (setting a state or value). |
SAXParseException.java | Class | Encapsulate an XML parse error or warning.
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
This exception will include information for locating the error
in the original XML document. |