Example usage for Java android.content.res XmlResourceParser fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Close this parser. |
boolean | getAttributeBooleanValue(int index, boolean defaultValue) Return the boolean value of attribute at 'index'. |
int | getAttributeCount() Returns the number of attributes available in the set. |
int | getAttributeIntValue(int index, int defaultValue) Return the integer value of attribute at 'index'. |
String | getAttributeName(int index) Returns the name of the specified attribute. |
int | getAttributeNameResource(int index) Return the resource ID associated with the given attribute name. |
int | getAttributeResourceValue(int index, int defaultValue) Return the value of attribute at 'index' as a resource identifier. |
int | getAttributeResourceValue(String namespace, String attribute, int defaultValue) Return the value of 'attribute' as a resource identifier. |
String | getAttributeValue(String namespace, String name) Returns the value of the specified attribute as a string representation. |
String | getAttributeValue(int index) Returns the value of the specified attribute as a string representation. |
int | getIdAttributeResourceValue(int defaultValue) Return the integer value of the "id" attribute or defaultValue if there is none. |
String | getPositionDescription() Returns a description of the current position of the attribute set. |