public void endDocument() throws SAXException {
  try {
    out.flush();
  }
 catch (  IOException ioe) {
    throw new SAXException(ioe);
  }
}

public void endDocument ( ) throws SAXException { try { out . flush ( ) ; } catch ( IOException ioe ) { throw new SAXException ( ioe ) ; } }
description of the method
