Code example for ContentHandler

Methods: setDocumentLocatorstartDocument

0
    } 
 
    private void startDocument() throws SAXException { 
        ContentHandler contentHandler = xmlReader.contentHandler;
        if (contentHandler != null) {
            contentHandler.setDocumentLocator(this.locator);
            contentHandler.startDocument();
        } 
    } 
 
    private void endDocument() throws SAXException { 
        ContentHandler contentHandler;
        contentHandler = xmlReader.contentHandler;
        if (contentHandler != null) {
            contentHandler.endDocument();
        } 
    } 
 
    /** 
     * Indicate that we're finished parsing. 
Stop searching for code, let great code find you!  Add Codota to your java IDE