Code example for XmlPullParser

Methods: getAttributeNamespace

0
   public String getAttributeName(int var1) {
      return this.mParser.getAttributeName(var1);
   } 
 
   public String getAttributeNamespace(int var1) {
      return this.mParser.getAttributeNamespace(var1);
   } 
 
   public int getDepth() { 
      return this.mParser.getDepth();
   } 
 
   public int getIntAttribute(String var1, String var2) throws SimplePullParser.ParseException {
      String var3 = this.getStringAttribute(var1, var2);
 
      try { 
         int var4 = Integer.parseInt(var3);
         return var4;
      } catch (NumberFormatException var7) {
         String var6 = "Cannot parse \'" + var3 + "\' as an integer";
         throw new SimplePullParser.ParseException(var6);