public interface IRDFParserOptions
RDFParser
. The options all have the defaults specified by
RDFParserBase
.Modifier and Type | Method and Description |
---|---|
org.openrdf.rio.RDFParser.DatatypeHandling |
getDatatypeHandling()
Return the
RDFParser.DatatypeHandling mode for the parser. |
boolean |
getPreserveBNodeIDs()
Return
true if the parser should preserve blank node IDs. |
boolean |
getStopAtFirstError()
Return
true if the parser should stop at the first error and
false if it should continue processing. |
boolean |
getVerifyData()
Return
true if the parser should verify the data. |
void |
setDatatypeHandling(org.openrdf.rio.RDFParser.DatatypeHandling datatypeHandling)
Sets the datatype handling mode (default is
RDFParser.DatatypeHandling.VERIFY ). |
void |
setPreserveBNodeIDs(boolean preserveBNodeIDs)
Set whether the parser should preserve bnode identifiers specified in the
source (default is
false ). |
void |
setStopAtFirstError(boolean stopAtFirstError)
Sets whether the parser should stop immediately if it finds an error in
the data (default value is
true ). |
void |
setVerifyData(boolean verifyData)
Sets whether the parser should verify the data it parses (default value
is
true ). |
boolean getVerifyData()
true
if the parser should verify the data.boolean getStopAtFirstError()
true
if the parser should stop at the first error and
false
if it should continue processing.boolean getPreserveBNodeIDs()
true
if the parser should preserve blank node IDs.org.openrdf.rio.RDFParser.DatatypeHandling getDatatypeHandling()
RDFParser.DatatypeHandling
mode for the parser.void setDatatypeHandling(org.openrdf.rio.RDFParser.DatatypeHandling datatypeHandling)
RDFParser.DatatypeHandling.VERIFY
).void setPreserveBNodeIDs(boolean preserveBNodeIDs)
false
).void setStopAtFirstError(boolean stopAtFirstError)
true
).void setVerifyData(boolean verifyData)
true
).Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.