|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.resultio.sparqlxml.SPARQLBooleanXMLParser
public class SPARQLBooleanXMLParser
Parser for reading boolean query results formatted as SPARQL Results Documents. See SPARQL Query Results XML Format for the definition of this format. The parser assumes that the XML is wellformed.
| Constructor Summary | |
|---|---|
SPARQLBooleanXMLParser()
Creates a new parser for the SPARQL Query Results XML Format. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPARQLBooleanXMLParser()
| Method Detail |
|---|
public BooleanQueryResultFormat getBooleanQueryResultFormat()
BooleanQueryResultParser
getBooleanQueryResultFormat in interface BooleanQueryResultParser
public boolean parse(InputStream in)
throws IOException,
QueryResultParseException
BooleanQueryResultParser
parse in interface BooleanQueryResultParserin - The InputStream from which to read the data.
IOException - If an I/O error occurred while data was read from the InputStream.
QueryResultParseException - If the parser has encountered an unrecoverable parse error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||