public GPathResult parse(final InputSource input) throws IOException, SAXException {
  reader.setContentHandler(this);
  reader.parse(input);
  return getDocument();
}

public GPathResult parse ( final InputSource input ) throws IOException , SAXException { reader . setContentHandler ( this ) ; reader . parse ( input ) ; return getDocument ( ) ; }
parse the content of the specified input source into a gpathresult object
