public interface XmlSerializer
Modifier and Type | Method and Description |
---|---|
XmlSerializer |
attribute(String namespace,
String name,
String value) |
void |
cdsect(String text) |
void |
comment(String text) |
void |
docdecl(String text) |
void |
endDocument() |
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) |
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) |
XmlSerializer |
startTag(String namespace,
String name) |
XmlSerializer |
text(char[] buf,
int start,
int len) |
XmlSerializer |
text(String text) |
void setFeature(String name, boolean state) throws IllegalArgumentException, IllegalStateException
boolean getFeature(String name)
void setProperty(String name, Object value) throws IllegalArgumentException, IllegalStateException
void setOutput(OutputStream os, String encoding) throws IOException, IllegalArgumentException, IllegalStateException
void setOutput(Writer writer) throws IOException, IllegalArgumentException, IllegalStateException
void startDocument(String encoding, Boolean standalone) throws IOException, IllegalArgumentException, IllegalStateException
void endDocument() throws IOException, IllegalArgumentException, IllegalStateException
void setPrefix(String prefix, String namespace) throws IOException, IllegalArgumentException, IllegalStateException
String getPrefix(String namespace, boolean generatePrefix) throws IllegalArgumentException
IllegalArgumentException
int getDepth()
String getNamespace()
String getName()
XmlSerializer startTag(String namespace, String name) throws IOException, IllegalArgumentException, IllegalStateException
XmlSerializer attribute(String namespace, String name, String value) throws IOException, IllegalArgumentException, IllegalStateException
XmlSerializer endTag(String namespace, String name) throws IOException, IllegalArgumentException, IllegalStateException
XmlSerializer text(String text) throws IOException, IllegalArgumentException, IllegalStateException
XmlSerializer text(char[] buf, int start, int len) throws IOException, IllegalArgumentException, IllegalStateException
void cdsect(String text) throws IOException, IllegalArgumentException, IllegalStateException
void entityRef(String text) throws IOException, IllegalArgumentException, IllegalStateException
void processingInstruction(String text) throws IOException, IllegalArgumentException, IllegalStateException
void comment(String text) throws IOException, IllegalArgumentException, IllegalStateException
void docdecl(String text) throws IOException, IllegalArgumentException, IllegalStateException
void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, IllegalStateException
void flush() throws IOException
IOException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.