void endSegment(){
  if (lastCommittedRow != null) {
    if (segmentEnds == null) {
      segmentEnds=new Vector();
    }
    segmentEnds.addElement(lastCommittedRow);
  }
  curSegmentType=SEGMENT_TBODY;
  rowInsretionPos=bodyInsertionPos;
}

void endSegment ( ) { if ( lastCommittedRow != null ) { if ( segmentEnds == null ) { segmentEnds = new Vector ( ) ; } segmentEnds . addElement ( lastCommittedRow ) ; } curSegmentType = SEGMENT_TBODY ; rowInsretionPos = bodyInsertionPos ; }
signals the end of the current segment
