()
| 1421 | // Implementation copied from Alek's mail... |
| 1422 | |
| 1423 | public void skipSubTree() throws XmlPullParserException, IOException { |
| 1424 | require(START_TAG, null, null); |
| 1425 | int level = 1; |
| 1426 | while (level > 0) { |
| 1427 | int eventType = next(); |
| 1428 | if (eventType == END_TAG) { |
| 1429 | --level; |
| 1430 | } |
| 1431 | else if (eventType == START_TAG) { |
| 1432 | ++level; |
| 1433 | } |
| 1434 | } |
| 1435 | } |
| 1436 | } |