Android XmlPullParser Value Get getAttributeValue(XmlPullParser pp, String name)

Here you can find the source of getAttributeValue(XmlPullParser pp, String name)

Description

Return value of attribute with given name and no namespace.

Declaration

public static String getAttributeValue(XmlPullParser pp, String name) 

Method Source Code

//package com.java2s;

import org.xmlpull.v1.XmlPullParser;

public class Main {
    /**//from  w  w w.j a  v a2 s. com
     * Return value of attribute with given name and no namespace.
     */
    public static String getAttributeValue(XmlPullParser pp, String name) {
        return pp.getAttributeValue(XmlPullParser.NO_NAMESPACE, name);
    }
}

Related

  1. getAttributeByName(XmlPullParser xpp, String name)
  2. getAttributeValue(XmlPullParser pp, String name)
  3. getAttributes( XmlPullParser pullParser)
  4. getAttributes( XmlPullParser pullParser, String namespace, String elementName, String attributeName, String attributeValue)
  5. getPIData(XmlPullParser pp)