class FastXmlSerializer extends Object implements XmlSerializer
| Constructor and Description |
|---|
FastXmlSerializer() |
public XmlSerializer attribute(String namespace, String name, String value) throws IOException, IllegalArgumentException, IllegalStateException
attribute in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void cdsect(String text) throws IOException, IllegalArgumentException, IllegalStateException
cdsect in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void comment(String text) throws IOException, IllegalArgumentException, IllegalStateException
comment in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void docdecl(String text) throws IOException, IllegalArgumentException, IllegalStateException
docdecl in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void endDocument()
throws IOException,
IllegalArgumentException,
IllegalStateException
endDocument in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic XmlSerializer endTag(String namespace, String name) throws IOException, IllegalArgumentException, IllegalStateException
endTag in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void entityRef(String text) throws IOException, IllegalArgumentException, IllegalStateException
entityRef in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void flush()
throws IOException
flush in interface XmlSerializerIOExceptionpublic int getDepth()
getDepth in interface XmlSerializerpublic boolean getFeature(String name)
getFeature in interface XmlSerializerpublic String getName()
getName in interface XmlSerializerpublic String getNamespace()
getNamespace in interface XmlSerializerpublic String getPrefix(String namespace, boolean generatePrefix) throws IllegalArgumentException
getPrefix in interface XmlSerializerIllegalArgumentExceptionpublic Object getProperty(String name)
getProperty in interface XmlSerializerpublic void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, IllegalStateException
ignorableWhitespace in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void processingInstruction(String text) throws IOException, IllegalArgumentException, IllegalStateException
processingInstruction in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void setFeature(String name, boolean state) throws IllegalArgumentException, IllegalStateException
setFeature in interface XmlSerializerIllegalArgumentExceptionIllegalStateExceptionpublic void setOutput(OutputStream os, String encoding) throws IOException, IllegalArgumentException, IllegalStateException
setOutput in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void setOutput(Writer writer) throws IOException, IllegalArgumentException, IllegalStateException
setOutput in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void setPrefix(String prefix, String namespace) throws IOException, IllegalArgumentException, IllegalStateException
setPrefix in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic void setProperty(String name, Object value) throws IllegalArgumentException, IllegalStateException
setProperty in interface XmlSerializerIllegalArgumentExceptionIllegalStateExceptionpublic void startDocument(String encoding, Boolean standalone) throws IOException, IllegalArgumentException, IllegalStateException
startDocument in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic XmlSerializer startTag(String namespace, String name) throws IOException, IllegalArgumentException, IllegalStateException
startTag in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic XmlSerializer text(char[] buf, int start, int len) throws IOException, IllegalArgumentException, IllegalStateException
text in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateExceptionpublic XmlSerializer text(String text) throws IOException, IllegalArgumentException, IllegalStateException
text in interface XmlSerializerIOExceptionIllegalArgumentExceptionIllegalStateException