| java.lang.Object sample.Counter
Counter | public class Counter (Code) | | A simple counter program to show the use of the pull parsing API.
author: Andy Clark version: $Id$ |
Method Summary | |
public static void | count(XMLPullParser parser, String sysid) Counts the elements, attributes, characters, and ignorable
whitespace in a document. | public static void | main(String[] argv) Main program. |
count | public static void count(XMLPullParser parser, String sysid) throws XNIException, IOException(Code) | | Counts the elements, attributes, characters, and ignorable
whitespace in a document.
Parameters: parser - The pull parser to use. Parameters: sysid - The system id of the document to read. |
|
|