Android XmlPullParser Read Read(XmlPullParser parser)

Here you can find the source of Read(XmlPullParser parser)

Description

Read

License

Open Source License

Declaration

public static boolean Read(XmlPullParser parser)
            throws XmlPullParserException, IOException 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.io.IOException;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;

public class Main {
    public static boolean Read(XmlPullParser parser)
            throws XmlPullParserException, IOException {
        if (parser == null)
            throw new NullPointerException();
        if (parser.getEventType() == XmlPullParser.END_DOCUMENT)
            return false;
        parser.nextToken();//from  w  w w.  j  a  v  a 2 s.  co m
        return true;
    }
}

Related

  1. readValueXml(XmlPullParser parser, String[] name)
  2. readValueXml(XmlPullParser parser, String[] name)
  3. readValueXml(XmlPullParser parser, String[] name)
  4. readValueXml(XmlPullParser parser, String[] name)
  5. readValueXml(XmlPullParser parser, String[] name)
  6. ReadSubtreeString(XmlPullParser reader)