public class EXISerializer extends Object implements org.xmlpull.v1.XmlSerializer
| Modifier and Type | Field and Description |
|---|---|
protected com.siemens.ct.exi.core.attributes.AttributeList |
exiAttributes |
protected com.siemens.ct.exi.core.EXIBodyEncoder |
exiBody |
protected com.siemens.ct.exi.core.EXIStreamEncoder |
exiStream |
protected com.siemens.ct.exi.core.EXIFactory |
factory |
protected List<com.siemens.ct.exi.core.container.NamespaceDeclaration> |
nsDecls |
protected OutputStream |
outputStream |
protected boolean |
pendingATs |
| Constructor and Description |
|---|
EXISerializer(com.siemens.ct.exi.core.EXIFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
org.xmlpull.v1.XmlSerializer |
attribute(String namespace,
String name,
String value) |
void |
cdsect(String text) |
protected void |
checkPendingATEvents() |
void |
comment(String text) |
void |
docdecl(String text) |
void |
endDocument() |
org.xmlpull.v1.XmlSerializer |
endTag(String namespace,
String name) |
void |
entityRef(String text) |
void |
flush() |
int |
getDepth() |
boolean |
getFeature(String name) |
String |
getName() |
String |
getNamespace() |
String |
getPrefix(String namespace,
boolean generatePrefix) |
Object |
getProperty(String name) |
void |
ignorableWhitespace(String text) |
protected void |
init() |
void |
processingInstruction(String text) |
void |
setFeature(String name,
boolean state) |
void |
setOutput(OutputStream os,
String encoding) |
void |
setOutput(Writer writer) |
void |
setPrefix(String prefix,
String namespace) |
void |
setProperty(String name,
Object value) |
void |
startDocument(String encoding,
Boolean standalone) |
org.xmlpull.v1.XmlSerializer |
startTag(String namespace,
String name) |
org.xmlpull.v1.XmlSerializer |
text(char[] buf,
int start,
int len) |
org.xmlpull.v1.XmlSerializer |
text(String text) |
protected final com.siemens.ct.exi.core.EXIFactory factory
protected final com.siemens.ct.exi.core.EXIStreamEncoder exiStream
protected com.siemens.ct.exi.core.EXIBodyEncoder exiBody
protected OutputStream outputStream
protected List<com.siemens.ct.exi.core.container.NamespaceDeclaration> nsDecls
protected boolean pendingATs
protected com.siemens.ct.exi.core.attributes.AttributeList exiAttributes
public EXISerializer(com.siemens.ct.exi.core.EXIFactory factory)
throws com.siemens.ct.exi.core.exceptions.EXIException
com.siemens.ct.exi.core.exceptions.EXIExceptionpublic void setFeature(String name, boolean state) throws IllegalArgumentException, IllegalStateException
setFeature in interface org.xmlpull.v1.XmlSerializerIllegalArgumentExceptionIllegalStateExceptionpublic boolean getFeature(String name)
getFeature in interface org.xmlpull.v1.XmlSerializerpublic void setProperty(String name, Object value) throws IllegalArgumentException, IllegalStateException
setProperty in interface org.xmlpull.v1.XmlSerializerIllegalArgumentExceptionIllegalStateExceptionpublic Object getProperty(String name)
getProperty in interface org.xmlpull.v1.XmlSerializerpublic void setOutput(OutputStream os, String encoding) throws IOException, IllegalArgumentException, IllegalStateException
setOutput in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void setOutput(Writer writer) throws IOException, IllegalArgumentException, IllegalStateException
setOutput in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionprotected void init()
public void startDocument(String encoding, Boolean standalone) throws IOException, IllegalArgumentException, IllegalStateException
startDocument in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void endDocument()
throws IOException,
IllegalArgumentException,
IllegalStateException
endDocument in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void setPrefix(String prefix, String namespace) throws IOException, IllegalArgumentException, IllegalStateException
setPrefix in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic String getPrefix(String namespace, boolean generatePrefix) throws IllegalArgumentException
getPrefix in interface org.xmlpull.v1.XmlSerializerIllegalArgumentExceptionpublic int getDepth()
getDepth in interface org.xmlpull.v1.XmlSerializerpublic String getNamespace()
getNamespace in interface org.xmlpull.v1.XmlSerializerpublic String getName()
getName in interface org.xmlpull.v1.XmlSerializerpublic org.xmlpull.v1.XmlSerializer startTag(String namespace, String name) throws IOException, IllegalArgumentException, IllegalStateException
startTag in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionprotected void checkPendingATEvents()
throws IOException
IOExceptionpublic org.xmlpull.v1.XmlSerializer attribute(String namespace, String name, String value) throws IOException, IllegalArgumentException, IllegalStateException
attribute in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic org.xmlpull.v1.XmlSerializer endTag(String namespace, String name) throws IOException, IllegalArgumentException, IllegalStateException
endTag in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic org.xmlpull.v1.XmlSerializer text(String text) throws IOException, IllegalArgumentException, IllegalStateException
text in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic org.xmlpull.v1.XmlSerializer text(char[] buf,
int start,
int len)
throws IOException,
IllegalArgumentException,
IllegalStateException
text in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void cdsect(String text) throws IOException, IllegalArgumentException, IllegalStateException
cdsect in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void entityRef(String text) throws IOException, IllegalArgumentException, IllegalStateException
entityRef in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void processingInstruction(String text) throws IOException, IllegalArgumentException, IllegalStateException
processingInstruction in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void comment(String text) throws IOException, IllegalArgumentException, IllegalStateException
comment in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void docdecl(String text) throws IOException, IllegalArgumentException, IllegalStateException
docdecl in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, IllegalStateException
ignorableWhitespace in interface org.xmlpull.v1.XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void flush()
throws IOException
flush in interface org.xmlpull.v1.XmlSerializerIOExceptionCopyright © 2018 Siemens AG. All rights reserved.