Code example for LexicalHandler

Methods: startEntity

0
            _lh.endDTD();
    } 
 
    public void startEntity(String name) throws SAXException {
        if (_lh != null)
            _lh.startEntity(name);
    } 
 
    public void endEntity(String name) throws SAXException {
        if (_lh != null)
            _lh.endEntity(name);
    } 
 
    /** 
     * 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;