public class TurtleStarParser extends TurtleParser
RDFParser.DatatypeHandling
object, predicate, subject
rdfHandler, valueFactory
Constructor and Description |
---|
TurtleStarParser()
Creates a new TurtleStarParser that will use a
SimpleValueFactory to create RDF* model objects. |
TurtleStarParser(ValueFactory valueFactory)
Creates a new TurtleStarParser 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.
|
getLineNumber, getSupportedSettings, parse, parse, parseBase, parseCollection, parseDirective, parseImplicitBlank, parseLongString, parseNodeID, parseNumber, parseObject, parseObjectList, parsePredicate, parsePredicateObjectList, parsePrefixID, parseQNameOrBoolean, parseQuotedLiteral, parseQuotedString, parseStatement, parseString, parseSubject, parseTriples, parseTripleValue, parseURI, peekCodePoint, peekIsTripleValue, processComment, readCodePoint, reportError, reportFatalError, reportFatalError, reportLocation, reportStatement, 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 TurtleStarParser()
SimpleValueFactory
to create RDF* model objects.public TurtleStarParser(ValueFactory valueFactory)
valueFactory
- A ValueFactory.public RDFFormat getRDFFormat()
RDFParser
getRDFFormat
in interface RDFParser
getRDFFormat
in class TurtleParser
protected Value parseValue() throws IOException, RDFParseException, RDFHandlerException
TurtleParser
parseValue
in class TurtleParser
IOException
RDFParseException
RDFHandlerException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.