XmlSerializer

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.

Methods

public abstract void setFeature(String name, boolean state) throws IllegalArgumentException, IllegalStateException source
public abstract boolean getFeature(String name) source
public abstract void setProperty(String name, Object value) throws IllegalArgumentException, IllegalStateException source
public abstract Object getProperty(String name) source
public abstract void setOutput(OutputStream os, String encoding) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void setOutput(Writer writer) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void startDocument(String encoding, Boolean standalone) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void endDocument() throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void setPrefix(String prefix, String namespace) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract String getPrefix(String namespace, boolean generatePrefix) throws IllegalArgumentException source
public abstract int getDepth() source
public abstract String getNamespace() source
public abstract String getName() source
public abstract XmlSerializer startTag(String namespace, String name) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract XmlSerializer attribute(String namespace, String name, String value) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract XmlSerializer endTag(String namespace, String name) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract XmlSerializer text(String text) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract XmlSerializer text(char[] buf, int start, int len) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void cdsect(String text) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void entityRef(String text) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void processingInstruction(String text) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void comment(String text) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void docdecl(String text) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, IllegalStateException source
public abstract void flush() throws IOException source

Made 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.