public class SAXEncoder extends DefaultHandler2
| Modifier and Type | Field and Description |
|---|---|
protected com.siemens.ct.exi.core.EXIBodyEncoder |
encoder |
protected com.siemens.ct.exi.core.attributes.AttributeList |
exiAttributes |
protected com.siemens.ct.exi.core.EXIStreamEncoder |
exiStream |
protected com.siemens.ct.exi.core.EXIFactory |
factory |
| Constructor and Description |
|---|
SAXEncoder(com.siemens.ct.exi.core.EXIFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(String uri,
String local,
String raw) |
void |
setOutputStream(OutputStream os) |
void |
startDocument() |
void |
startElement(String uri,
String local,
String raw,
Attributes attributes) |
protected void |
startElementPfx(String uri,
String local,
String prefix,
Attributes attributes) |
void |
startPrefixMapping(String prefix,
String uri) |
attributeDecl, comment, elementDecl, endCDATA, endDTD, endEntity, externalEntityDecl, getExternalSubset, internalEntityDecl, resolveEntity, resolveEntity, startCDATA, startDTD, startEntityendPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, unparsedEntityDecl, warningprotected com.siemens.ct.exi.core.EXIFactory factory
protected com.siemens.ct.exi.core.EXIStreamEncoder exiStream
protected com.siemens.ct.exi.core.EXIBodyEncoder encoder
protected com.siemens.ct.exi.core.attributes.AttributeList exiAttributes
public SAXEncoder(com.siemens.ct.exi.core.EXIFactory factory)
throws com.siemens.ct.exi.core.exceptions.EXIException
com.siemens.ct.exi.core.exceptions.EXIExceptionpublic void setOutputStream(OutputStream os) throws com.siemens.ct.exi.core.exceptions.EXIException, IOException
com.siemens.ct.exi.core.exceptions.EXIExceptionIOExceptionpublic void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void startElement(String uri, String local, String raw, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionprotected void startElementPfx(String uri, String local, String prefix, Attributes attributes) throws com.siemens.ct.exi.core.exceptions.EXIException, IOException
com.siemens.ct.exi.core.exceptions.EXIExceptionIOExceptionpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String local, String raw) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionCopyright © 2018 Siemens AG. All rights reserved.