public class SPARQLStarResultsJSONParser extends SPARQLResultsJSONParser
SPARQLStarResultsJSONConstants
for a description of the RDF* extension.BINDINGS, BNODE, BOOLEAN, DATATYPE, HEAD, LINK, LITERAL, RESULTS, TYPE, TYPED_LITERAL, URI, VALUE, VARS, XMLLANG
handler, valueFactory
Constructor and Description |
---|
SPARQLStarResultsJSONParser()
Default constructor.
|
SPARQLStarResultsJSONParser(ValueFactory valueFactory)
Constructs a parser with the supplied
ValueFactory . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkTripleType(com.fasterxml.jackson.core.JsonParser jp,
String type) |
TupleQueryResultFormat |
getTupleQueryResultFormat()
Gets the query result format that this parser can parse.
|
protected Triple |
parseTripleValue(com.fasterxml.jackson.core.JsonParser jp,
String fieldName) |
getQueryResultFormat, parse, setTupleQueryResultHandler
getSupportedSettings, parseQueryResult, parseQueryResultInternal, parseValue
getParseErrorListener, getParseLocationListener, getParserConfig, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParserConfig, getSupportedSettings, parseQueryResult, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactory
public SPARQLStarResultsJSONParser()
public SPARQLStarResultsJSONParser(ValueFactory valueFactory)
ValueFactory
.valueFactory
- The factory to use to create values.public TupleQueryResultFormat getTupleQueryResultFormat()
TupleQueryResultParser
getTupleQueryResultFormat
in interface TupleQueryResultParser
getTupleQueryResultFormat
in class SPARQLResultsJSONParser
protected Triple parseTripleValue(com.fasterxml.jackson.core.JsonParser jp, String fieldName) throws IOException
parseTripleValue
in class AbstractSPARQLJSONParser
IOException
protected boolean checkTripleType(com.fasterxml.jackson.core.JsonParser jp, String type)
checkTripleType
in class AbstractSPARQLJSONParser
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.