Code example for LexicalHandler

Methods: startEntity

    public void startEntity(String name) throws SAXException {
        if (_lh != null)
    public void endEntity(String name) throws SAXException {
        if (_lh != null)
     * Override this method marking the start of some element. If this method 
     * returns false, the content of the element and the end element event will 
     * be ignored. 
    protected abstract boolean startElement(String name, Attributes attrs)
        throws SAXException; 
Connect your IDE to all the code out there  Get Codota for Java