Android XmlPullParser Value Get extractChildText(XmlPullParser paramXmlPullParser)

Here you can find the source of extractChildText(XmlPullParser paramXmlPullParser)

Description

extract Child Text

Declaration

public static String extractChildText(XmlPullParser paramXmlPullParser)
            throws XmlPullParserException, IOException 

Method Source Code

//package com.java2s;
import java.io.IOException;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;

public class Main {
    public static String extractChildText(XmlPullParser paramXmlPullParser)
            throws XmlPullParserException, IOException {
        if (paramXmlPullParser.next() != 4)
            return null;
        return paramXmlPullParser.getText();
    }/* w w w .  j  av  a  2  s.co m*/
}

Related

  1. loadFloatArrayByParser(XmlPullParser parser)
  2. loadFloatByParser(XmlPullParser parser)
  3. loadIntArrayByParser(XmlPullParser parser)
  4. loadStringArrayByParser(XmlPullParser parser)
  5. GetFullName(XmlPullParser reader)
  6. extractFirstChildTextIgnoreRest( XmlPullParser paramXmlPullParser)
  7. optAttr(final XmlPullParser pp, final String attrName, final String defaultValue)
  8. optFloatAttr(final XmlPullParser pp, final String attrName, final float defaultValue)
  9. optIntAttr(final XmlPullParser pp, final String attrName, final int defaultValue)