(int type, String namespace, String name)
| 1364 | } |
| 1365 | |
| 1366 | public void require(int type, String namespace, String name) |
| 1367 | throws XmlPullParserException, IOException { |
| 1368 | |
| 1369 | if (type != this.type |
| 1370 | || (namespace != null && !namespace.equals(getNamespace())) |
| 1371 | || (name != null && !name.equals(getName()))) |
| 1372 | exception( |
| 1373 | "expected: " + TYPES[type] + " {" + namespace + "}" + name); |
| 1374 | } |
| 1375 | |
| 1376 | public String nextText() throws XmlPullParserException, IOException { |
| 1377 | if (type != START_TAG) |
no test coverage detected