org.openrdf.query.resultio
Interface BooleanQueryResultParser

All Known Implementing Classes:
BooleanTextParser, SPARQLBooleanXMLParser

public interface BooleanQueryResultParser

A general interface for boolean query result parsers.

Author:
Arjohn Kampman

Method Summary
 BooleanQueryResultFormat getBooleanQueryResultFormat()
          Gets the query result format that this parser can parse.
 boolean parse(InputStream in)
          Parses the data from the supplied InputStream.
 

Method Detail

getBooleanQueryResultFormat

BooleanQueryResultFormat getBooleanQueryResultFormat()
Gets the query result format that this parser can parse.


parse

boolean parse(InputStream in)
              throws IOException,
                     QueryResultParseException
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.
QueryResultParseException - If the parser has encountered an unrecoverable parse error.


Copyright © 2001-2009 Aduna. All Rights Reserved.