Android XmlPullParser Search matchNameSpaceUri( XmlPullParser paramXmlPullParser, String paramString)

Here you can find the source of matchNameSpaceUri( XmlPullParser paramXmlPullParser, String paramString)

Description

match Name Space Uri

Declaration

public static boolean matchNameSpaceUri(
            XmlPullParser paramXmlPullParser, String paramString) 

Method Source Code

//package com.java2s;

import org.xmlpull.v1.XmlPullParser;

public class Main {
    public static boolean matchNameSpaceUri(
            XmlPullParser paramXmlPullParser, String paramString) {
        String str = paramXmlPullParser.getNamespace();
        if (str == null)
            return paramString == null;
        return str.equals(paramString);
    }/*from   w ww . j  av a2s. c  o  m*/
}

Related

  1. beginDocument(XmlPullParser parser, String firstElementName)
  2. beginDocument(XmlPullParser parser, String firstElementName)
  3. beginDocument(XmlPullParser parser, String firstElementName)
  4. beginDocument(XmlPullParser parser, String firstElementName)
  5. beginDocument(XmlPullParser parser, String firstElementName)
  6. matches(XmlPullParser pp, int type, String namespace, String name)
  7. matches(XmlPullParser pp, int type, String namespace, String name)
  8. test(final XmlPullParser pp, final String tagName)
  9. requireEndDocument(final XmlPullParser pp)