
com.siemens.ct.exi.main.api.sax.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exificient Show documentation
Show all versions of exificient Show documentation
EXIficient is an open source implementation of the W3C Efficient XML Interchange
(EXI) format specification written in the Java programming language. The EXI format is a very
compact representation for the Extensible Markup Language (XML) Information Set that is intended
to simultaneously optimize performance and the utilization of computational resources.
SAX (Simple API for XML) is a serial access parser API for XML. SAX
provides a mechanism for reading data from an XML document.
Package Specification
A parser which implements SAX (ie, a SAX Parser) functions as a stream
parser, with an event-driven API.
// encode
EXIResult saxResult = new EXIResult( ... );
XMLReader parser = XMLReaderFactory.createXMLReader();
parser.setContentHandler( saxResult.getHandler() );
parser.parse( ... );
// decode
EXISource saxSource = new EXISource();
XMLReader xmlReader = saxSource.getXMLReader();
xmlReader.setContentHandler ( ... );
InputSource is = new InputSource( ... );
xmlReader.parse ( is );
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation,
please see:
© 2015 - 2025 Weber Informatics LLC | Privacy Policy