XmlPullParser

Interface of org.xmlpull.v1 · XmlPullParser.java · Android's reference

public interface XmlPullParser

The XML pull parser API (xmlpull.org) that Android's XmlResourceParser extends.

Implemented in the framework by

Page 1 2

Fields

public String NO_NAMESPACE source
public int START_DOCUMENT source
public int END_DOCUMENT source
public int START_TAG source
public int END_TAG source
public int TEXT source
public int CDSECT source
public int ENTITY_REF source
public int IGNORABLE_WHITESPACE source
public int PROCESSING_INSTRUCTION source
public int COMMENT source
public int DOCDECL source
public String[] TYPES source
public String FEATURE_PROCESS_NAMESPACES source
public String FEATURE_REPORT_NAMESPACE_ATTRIBUTES source
public String FEATURE_PROCESS_DOCDECL source
public String FEATURE_VALIDATION source

Methods

public abstract void setFeature(String name, boolean state) throws XmlPullParserException source
public abstract boolean getFeature(String name) source
public abstract void setProperty(String name, Object value) throws XmlPullParserException source
public abstract Object getProperty(String name) source
public abstract void setInput(Reader in) throws XmlPullParserException source
public abstract void setInput(InputStream inputStream, String inputEncoding) throws XmlPullParserException source
public abstract String getInputEncoding() source
public abstract void defineEntityReplacementText(String entityName, String replacementText) throws XmlPullParserException source
public abstract int getNamespaceCount(int depth) throws XmlPullParserException source
public abstract String getNamespacePrefix(int pos) throws XmlPullParserException source
public abstract String getNamespaceUri(int pos) throws XmlPullParserException source
public abstract String getNamespace(String prefix) source
public abstract int getDepth() source
public abstract String getPositionDescription() source
public abstract int getLineNumber() source
public abstract int getColumnNumber() source
public abstract boolean isWhitespace() throws XmlPullParserException source
public abstract String getText() source
public abstract char[] getTextCharacters(int[] holderForStartAndLength) source
public abstract String getNamespace() source
public abstract String getName() source
public abstract String getPrefix() source
public abstract boolean isEmptyElementTag() throws XmlPullParserException source

Page 1 2


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.