Parses the data from the supplied InputStream.
Parameters: in - The InputStream from which to read the data. throws: IOException - If an I/O error occurred while data was read from the InputStream. throws: QueryResultParseException - If the parser has encountered an unrecoverable parse error. throws: TupleQueryResultHandlerException - If the configured query result handler has encountered anunrecoverable error.
Sets the ValueFactory that the parser will use to create Value objects for
the parsed query result.
Parameters: valueFactory - The value factory that the parser should use.