Lines Matching refs:parser
56 XmlResourceParser parser = null;
60 parser = ai.loadXmlMetaData(getPackageManager(),
62 if (parser == null) {
67 Intent intent = parseAlias(parser);
83 if (parser != null) parser.close();
87 private Intent parseAlias(XmlPullParser parser)
89 AttributeSet attrs = Xml.asAttributeSet(parser);
94 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
98 String nodeName = parser.getName();
102 + nodeName + " at " + parser.getPositionDescription());
105 int outerDepth = parser.getDepth();
106 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
107 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) {
112 nodeName = parser.getName();
114 Intent gotIntent = Intent.parseIntent(getResources(), parser, attrs);
117 XmlUtils.skipCurrentTag(parser);