public class TriGStarParser extends TriGParser
RDFParser.DatatypeHandling
object, predicate, subject
rdfHandler, valueFactory
Constructor and Description |
---|
TriGStarParser()
Creates a new TriGStarParser that will use a
SimpleValueFactory to create RDF* model objects. |
TriGStarParser(ValueFactory valueFactory)
Creates a new TriGStarParser that will use the supplied ValueFactory to create RDF* model objects.
|
Modifier and Type | Method and Description |
---|---|
RDFFormat |
getRDFFormat()
Gets the RDF format that this parser can parse.
|
protected Value |
parseValue()
Parses an RDF value.
|
protected void |
setContext(Resource context) |
getContext, parseGraph, parseStatement, parseTriples, reportStatement
getLineNumber, getSupportedSettings, parse, parse, parseBase, parseCollection, parseDirective, parseImplicitBlank, parseLongString, parseNodeID, parseNumber, parseObject, parseObjectList, parsePredicate, parsePredicateObjectList, parsePrefixID, parseQNameOrBoolean, parseQuotedLiteral, parseQuotedString, parseString, parseSubject, parseTripleValue, parseURI, peekCodePoint, peekIsTripleValue, processComment, readCodePoint, reportError, reportFatalError, reportFatalError, reportLocation, reportWarning, skipWSC, throwEOFException, unread, unread, verifyCharacterOrFail
clear, clearBNodeIDMap, createBNode, createBNode, createLiteral, createLiteral, createNode, createNode, createStatement, createStatement, createURI, datatypeHandling, getNamespace, getParseErrorListener, getParseLocationListener, getParserConfig, getRDFHandler, initializeNamespaceTableFromConfiguration, preserveBNodeIDs, reportError, reportError, reportError, reportError, reportFatalError, reportFatalError, reportFatalError, reportLocation, reportWarning, resolveURI, set, setBaseURI, setBaseURI, setDatatypeHandling, setNamespace, setParseErrorListener, setParseLocationListener, setParserConfig, setPreserveBNodeIDs, setRDFHandler, setStopAtFirstError, setValueFactory, setVerifyData, stopAtFirstError, verifyData
public TriGStarParser()
SimpleValueFactory
to create RDF* model objects.public TriGStarParser(ValueFactory valueFactory)
valueFactory
- A ValueFactory.public RDFFormat getRDFFormat()
RDFParser
getRDFFormat
in interface RDFParser
getRDFFormat
in class TriGParser
protected Value parseValue() throws IOException, RDFParseException, RDFHandlerException
TurtleParser
parseValue
in class TurtleParser
IOException
RDFParseException
RDFHandlerException
protected void setContext(Resource context)
setContext
in class TriGParser
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.