Code example for DefaultHandler

Methods: setDocumentLocator

0
            throw new RuntimeException(e);
        } 
    } 
 
    public void testSetDocumentLocator() { 
        h.setDocumentLocator(new LocatorImpl());
    } 
 
    public void testStartDocument() { 
        try { 
            h.startDocument();
        } catch (SAXException e) {
            throw new RuntimeException(e);
        } 
    } 
 
    public void testEndDocument() { 
        try { 
            h.endDocument();
        } catch (SAXException e) {