public void endGatherMode() throws Exception {
  gatherMode=false;
  gatheringElement=null;
  for (Iterator it=gatherBuffer.iterator(); it.hasNext(); ) {
    Object[] elem=(Object[])it.next();
    SaxHandlerBase.ElementType type=(SaxHandlerBase.ElementType)elem[0];
    if (type == null) {
      continue;
    }
    if (elem[1] == null) {
      type.endElement();
    }
 else     if (elem[1] instanceof String) {
      String charstring=(String)elem[1];
      char[] chars=charstring.toCharArray();
      type.characters(chars,0,chars.length);
    }
 else {
      Attributes atts=(Attributes)elem[1];
      type.startElement(atts);
    }
  }
  gatherBuffer=null;
}

public void endGatherMode ( ) throws Exception { gatherMode = false ; gatheringElement = null ; for ( Iterator it = gatherBuffer . iterator ( ) ; it . hasNext ( ) ; ) { Object [ ] elem = ( Object [ ] ) it . next ( ) ; SaxHandlerBase . ElementType type = ( SaxHandlerBase . ElementType ) elem [ 0 ] ; if ( type == null ) { continue ; } if ( elem [ 1 ] == null ) { type . endElement ( ) ; } else if ( elem [ 1 ] instanceof String ) { String charstring = ( String ) elem [ 1 ] ; char [ ] chars = charstring . toCharArray ( ) ; type . characters ( chars , 0 , chars . length ) ; } else { Attributes atts = ( Attributes ) elem [ 1 ] ; type . startElement ( atts ) ; } } gatherBuffer = null ; }
description of the method
