Code example for XmlPullParser

Methods: getAttributeCount

0
        // XXX Need to detect this. 
        return false; 
    } 
 
    public int getAttributeCount() { 
        return mParser.getAttributeCount();
    } 
 
    public String getAttributeValue(int index) {
        return mParser.getAttributeValue(index);
    } 
 
    public String getAttributeType(int index) {
        return "CDATA"; 
    } 
 
    public boolean isAttributeDefault(int index) {
        return false; 
    } 
 
    public int nextToken() throws XmlPullParserException, IOException {