Parser

Class of android.content.res, in XmlBlock · XmlBlock.java · Android's reference

public final class Parser implements XmlResourceParser

Page 1 2

Methods

public void setFeature(String name, boolean value) throws XmlPullParserException source
public boolean getFeature(String name) source
public void setProperty(String name, Object value) throws XmlPullParserException source
public Object getProperty(String name) source
public void setInput(Reader in) throws XmlPullParserException source
public void setInput(InputStream in, String encoding) throws XmlPullParserException source
public void defineEntityReplacementText(String name, String text) throws XmlPullParserException source
public String getNamespacePrefix(int pos) throws UnsupportedOperationException source
public String getInputEncoding() source
public String getNamespace(String prefix) throws UnsupportedOperationException source
public int getNamespaceCount(int depth) throws UnsupportedOperationException source
public String getPositionDescription() source
public String getNamespaceUri(int pos) throws UnsupportedOperationException source
public int getColumnNumber() source
public int getDepth() source
public String getText() source
public int getLineNumber() source
public int getEventType() source
public boolean isWhitespace() source
public String getPrefix() throws UnsupportedOperationException source
public char[] getTextCharacters(int[] holder) source
public String getNamespace() source
public String getName() source
public String getAttributeNamespace(int index) source
public String getAttributeName(int index) source
public String getAttributePrefix(int index) throws UnsupportedOperationException source
public boolean isEmptyElementTag() source
public int getAttributeCount() source
public String getAttributeValue(int index) source
public String getAttributeType(int index) source
public boolean isAttributeDefault(int index) source
public int nextToken() throws XmlPullParserException source
public String getAttributeValue(String namespace, String name) source
public int next() throws XmlPullParserException source
public void require(int type, String namespace, String name) throws XmlPullParserException source
public String nextText() throws XmlPullParserException source
public int nextTag() throws XmlPullParserException source
public int getAttributeNameResource(int index) source
public int getAttributeListValue(String namespace, String attribute, String[] options, int def) source
public boolean getAttributeBooleanValue(String namespace, String attribute, boolean def) source
public int getAttributeResourceValue(String namespace, String attribute, int def) source
public int getAttributeIntValue(String namespace, String attribute, int def) 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.