|
EXIficient | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| EXIWriter | Class conforms to the ContentHandler and
LexicalHandler interface by giving the possibility to specify an
output stream. |
| Class Summary | |
|---|---|
| EXIResult | Acts as an holder for a transformation Result. |
| EXISource | Acts as an holder for SAX-style Source. |
SAX (Simple API for XML) is a serial access parser API for XML. SAX provides a mechanism for reading data from an XML document.
// 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 );
|
EXIficient | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||