FileDocCategorySizeDatePackage
Example.javaAPI DocExample336Fri Feb 01 12:48:46 GMT 2002None

Example.java

import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;

/**
 * Printing only Character Content (too simple)
 */
public class Example extends DefaultHandler {
    public void characters (char buf [], int offset, int length)
    throws SAXException
    {
	System.out.print (new String (buf, offset, length));
    }
}