public void endElement(String namespaceURI,String localName,String qName) throws SAXException {
  try {
    elemType=(SaxHandlerBase.ElementType)elementTypes.get(localName);
    if (elemType == null) {
      return;
    }
    if (elemType == gatheringElement) {
      gatherMode=false;
    }
    if (gatherMode) {
      gatherBuffer.add(new Object[]{elemType,null});
    }
 else {
      elemType.endElement();
    }
    if (!elems.isEmpty()) {
      elemType=(SaxHandlerBase.ElementType)elems.remove(elems.size() - 1);
    }
 else {
      elemType=null;
    }
  }
 catch (  SAXException saxex) {
    throw saxex;
  }
catch (  Exception ex) {
    throw new SAXException(ex);
  }
}

public void endElement ( String namespaceURI , String localName , String qName ) throws SAXException { try { elemType = ( SaxHandlerBase . ElementType ) elementTypes . get ( localName ) ; if ( elemType == null ) { return ; } if ( elemType == gatheringElement ) { gatherMode = false ; } if ( gatherMode ) { gatherBuffer . add ( new Object [ ] { elemType , null } ) ; } else { elemType . endElement ( ) ; } if ( ! elems . isEmpty ( ) ) { elemType = ( SaxHandlerBase . ElementType ) elems . remove ( elems . size ( ) - 1 ) ; } else { elemType = null ; } } catch ( SAXException saxex ) { throw saxex ; } catch ( Exception ex ) { throw new SAXException ( ex ) ; } }
description of the method
