Java android.content.res XmlResourceParser fields, constructors, methods, implement or subclass

Example usage for Java android.content.res XmlResourceParser fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.content.res XmlResourceParser.

The text is from its open source code.

Method

voidclose()
Close this parser.
booleangetAttributeBooleanValue(int index, boolean defaultValue)
Return the boolean value of attribute at 'index'.
intgetAttributeCount()
Returns the number of attributes available in the set.
intgetAttributeIntValue(int index, int defaultValue)
Return the integer value of attribute at 'index'.
StringgetAttributeName(int index)
Returns the name of the specified attribute.
intgetAttributeNameResource(int index)
Return the resource ID associated with the given attribute name.
intgetAttributeResourceValue(int index, int defaultValue)
Return the value of attribute at 'index' as a resource identifier.
intgetAttributeResourceValue(String namespace, String attribute, int defaultValue)
Return the value of 'attribute' as a resource identifier.
StringgetAttributeValue(String namespace, String name)
Returns the value of the specified attribute as a string representation.
StringgetAttributeValue(int index)
Returns the value of the specified attribute as a string representation.
intgetIdAttributeResourceValue(int defaultValue)
Return the integer value of the "id" attribute or defaultValue if there is none.
StringgetPositionDescription()
Returns a description of the current position of the attribute set.