public void startElement(String namespaceURI,String localName,String qName,Attributes atts) throws SAXException {
  try {
    elemType=(SaxHandlerBase.ElementType)elementTypes.get(localName);
    if (gatherMode) {
      if (gatheringElement.gatherElement(localName,atts)) {
        gatherBuffer.add(new Object[]{elemType,new AttributesImpl(atts)});
      }
    }
 else {
      if (elemType == null) {
        return;
      }
      elemType.startElement(atts);
    }
    elems.add(elemType);
  }
 catch (  SAXException saxex) {
    throw saxex;
  }
catch (  Exception ex) {
    throw new SAXException(ex);
  }
}

public void startElement ( String namespaceURI , String localName , String qName , Attributes atts ) throws SAXException { try { elemType = ( SaxHandlerBase . ElementType ) elementTypes . get ( localName ) ; if ( gatherMode ) { if ( gatheringElement . gatherElement ( localName , atts ) ) { gatherBuffer . add ( new Object [ ] { elemType , new AttributesImpl ( atts ) } ) ; } } else { if ( elemType == null ) { return ; } elemType . startElement ( atts ) ; } elems . add ( elemType ) ; } catch ( SAXException saxex ) { throw saxex ; } catch ( Exception ex ) { throw new SAXException ( ex ) ; } }
description of the method
