Interface | Description |
---|---|
IXMLBuilder |
NanoXML uses IXMLBuilder to construct the XML data structure it retrieved
from its data source.
|
IXMLElement |
IXMLElement is an XML element.
|
IXMLEntityResolver |
An IXMLEntityResolver resolves entities.
|
IXMLParser |
IXMLParser is the core parser of NanoXML.
|
IXMLReader |
IXMLReader reads the data to be parsed.
|
IXMLValidator |
IXMLValidator processes the DTD and handles entity references.
|
Class | Description |
---|---|
NonValidator |
NonValidator is a concrete implementation of IXMLValidator which processes
the DTD and handles entity definitions.
|
StdXMLBuilder |
StdXMLBuilder is a concrete implementation of IXMLBuilder which creates a
tree of IXMLElement from an XML data source.
|
StdXMLParser |
StdXMLParser is the core parser of NanoXML.
|
StdXMLReader |
StdXMLReader reads the data to be parsed.
|
ValidatorPlugin |
ValidatorPlugin allows the application to insert additional validators into
NanoXML.
|
XMLElement |
XMLElement is an XML element.
|
XMLEntityResolver |
An XMLEntityResolver resolves entities.
|
XMLParserFactory |
Creates an XML parser.
|
XMLWriter |
An XMLWriter writes XML data to a stream.
|
Exception | Description |
---|---|
XMLException |
An XMLException is thrown when an exception occurred while processing the
XML data.
|
XMLParseException |
An XMLParseException is thrown when the XML passed to the XML parser is not
well-formed.
|
XMLValidationException |
An XMLValidationException is thrown when the XML passed to the XML parser is
well-formed but not valid.
|
NanoXML is a small XML parser for Java.
NanoXML is included here, to provide a fast and easy to XML parser which can be used by security restricted Java Applets.
With this patched version, NanoXML has been made to be compilable with J2SE5 and to take advantage of the Java2 Collections API.
NanoXML has been changed to not open a network connection to retrieve the DTD of a document. This reduces the time needed to read an XML document and it allows to open XML documents when a computer is offline, or when a Java applet runs in a restricted environment that doesn't allow connections to the computer hosting the DTD.