Interface of org.xmlpull.v1 · XmlSerializer.java · Android's reference
public interface XmlSerializer
The XML serializer API (xmlpull.org): writes a document as a series of events.
public abstract void setFeature(String name, boolean state) throws IllegalArgumentException, IllegalStateException sourcepublic abstract boolean getFeature(String name) sourcepublic abstract void setProperty(String name, Object value) throws IllegalArgumentException, IllegalStateException sourcepublic abstract Object getProperty(String name) sourcepublic abstract void setOutput(OutputStream os, String encoding) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void setOutput(Writer writer) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void startDocument(String encoding, Boolean standalone) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void endDocument() throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void setPrefix(String prefix, String namespace) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract String getPrefix(String namespace, boolean generatePrefix) throws IllegalArgumentException sourcepublic abstract int getDepth() sourcepublic abstract String getNamespace() sourcepublic abstract String getName() sourcepublic abstract XmlSerializer startTag(String namespace, String name) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract XmlSerializer attribute(String namespace, String name, String value) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract XmlSerializer endTag(String namespace, String name) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract XmlSerializer text(String text) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract XmlSerializer text(char[] buf, int start, int len) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void cdsect(String text) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void entityRef(String text) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void processingInstruction(String text) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void comment(String text) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void docdecl(String text) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, IllegalStateException sourcepublic abstract void flush() throws IOException sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.