Android XmlPullParser Move to Next nextElement(XmlPullParser parser)

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

Description

next Element

Declaration

public static final void nextElement(XmlPullParser parser)
            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 final void nextElement(XmlPullParser parser)
            throws XmlPullParserException, IOException {
        int type;
        while ((type = parser.next()) != XmlPullParser.START_TAG
                && type != XmlPullParser.END_DOCUMENT) {
            ;/*from w ww  . j a v a2s.  com*/
        }
    }
}

Related

  1. next(final XmlPullParser pp)
  2. nextDateTime(XmlPullParser parser, String tag)
  3. nextDirectChildTag( XmlPullParser paramXmlPullParser, int paramInt)
  4. nextDouble(XmlPullParser parser, String tag)
  5. nextElement(XmlPullParser parser)
  6. nextElement(XmlPullParser parser)
  7. nextElement(XmlPullParser parser)
  8. nextElement(XmlPullParser parser)
  9. nextElement(XmlPullParser parser)