Code example for Stack

Methods: removeAllElements

0
     * @throws SAXException is any SAX exception, possibly wrapping another exception. 
     */ 
    @Override 
    public void startDocument() throws SAXException { 
        parsingInProgress = true;
        qNameStack.removeAllElements();
        components.clear();
    } 
     
    /** 
     * End of document processing. 
     * 
     * @throws SAXException is any SAX exception, possibly wrapping another exception. 
     */ 
    @Override 
    public void endDocument() throws SAXException { 
        parsingInProgress = false;        
    } 
     
    /** 
Stop searching for code, let great code find you!  Add Codota to your java IDE