public final class SesameRDFaParser extends Object implements org.openrdf.rio.RDFParser, ProcessorGraphHandler
| Constructor and Description |
|---|
SesameRDFaParser()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(String errorClass,
String message) |
RdfaParserConfig |
getParserConfig() |
org.openrdf.rio.RDFFormat |
getRDFFormat() |
void |
info(String infoClass,
String message) |
void |
parse(InputStream in,
String baseURI) |
void |
parse(Reader reader,
String baseURI) |
void |
setDatatypeHandling(org.openrdf.rio.RDFParser.DatatypeHandling datatypeHandling) |
void |
setParseErrorListener(org.openrdf.rio.ParseErrorListener el) |
void |
setParseLocationListener(org.openrdf.rio.ParseLocationListener ll) |
void |
setParserConfig(org.openrdf.rio.ParserConfig config) |
void |
setPreserveBNodeIDs(boolean preserveBNodeIDs) |
void |
setProcessorGraphEnabled(boolean processorGraphEnabled)
Changes
RdfaParser.ENABLE_PROCESSOR_GRAPH setting |
void |
setRdfaCompatibility(short rdfaCompatibility)
Changes
RdfaParser.RDFA_VERSION_PROPERTY setting |
void |
setRDFHandler(org.openrdf.rio.RDFHandler handler) |
void |
setStopAtFirstError(boolean stopAtFirstError) |
void |
setValueFactory(org.openrdf.model.ValueFactory valueFactory) |
void |
setVerifyData(boolean verifyData) |
void |
setVocabExpansionEnabled(boolean vocabExpansionEnabled)
Changes
RdfaParser.ENABLE_VOCAB_EXPANSION setting |
void |
warning(String warningClass,
String message) |
public SesameRDFaParser()
setParserConfig(org.openrdf.rio.ParserConfig) method or
object's setters.public org.openrdf.rio.RDFFormat getRDFFormat()
getRDFFormat in interface org.openrdf.rio.RDFParserpublic void parse(InputStream in, String baseURI) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException
parse in interface org.openrdf.rio.RDFParserorg.openrdf.rio.RDFParseExceptionorg.openrdf.rio.RDFHandlerExceptionpublic void parse(Reader reader, String baseURI) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException
parse in interface org.openrdf.rio.RDFParserorg.openrdf.rio.RDFParseExceptionorg.openrdf.rio.RDFHandlerExceptionpublic void setValueFactory(org.openrdf.model.ValueFactory valueFactory)
setValueFactory in interface org.openrdf.rio.RDFParserpublic void setRDFHandler(org.openrdf.rio.RDFHandler handler)
setRDFHandler in interface org.openrdf.rio.RDFParserpublic void setParseErrorListener(org.openrdf.rio.ParseErrorListener el)
setParseErrorListener in interface org.openrdf.rio.RDFParserpublic void setParseLocationListener(org.openrdf.rio.ParseLocationListener ll)
setParseLocationListener in interface org.openrdf.rio.RDFParserpublic void setParserConfig(org.openrdf.rio.ParserConfig config)
setParserConfig in interface org.openrdf.rio.RDFParserpublic RdfaParserConfig getParserConfig()
getParserConfig in interface org.openrdf.rio.RDFParserpublic void setVerifyData(boolean verifyData)
setVerifyData in interface org.openrdf.rio.RDFParserpublic void setPreserveBNodeIDs(boolean preserveBNodeIDs)
setPreserveBNodeIDs in interface org.openrdf.rio.RDFParserpublic void setStopAtFirstError(boolean stopAtFirstError)
setStopAtFirstError in interface org.openrdf.rio.RDFParserpublic void setDatatypeHandling(org.openrdf.rio.RDFParser.DatatypeHandling datatypeHandling)
setDatatypeHandling in interface org.openrdf.rio.RDFParserpublic void setProcessorGraphEnabled(boolean processorGraphEnabled)
RdfaParser.ENABLE_PROCESSOR_GRAPH settingprocessorGraphEnabled - new value to be setpublic void setVocabExpansionEnabled(boolean vocabExpansionEnabled)
RdfaParser.ENABLE_VOCAB_EXPANSION settingvocabExpansionEnabled - new value to be setpublic void setRdfaCompatibility(short rdfaCompatibility)
RdfaParser.RDFA_VERSION_PROPERTY settingrdfaCompatibility - new value to be setpublic void info(String infoClass, String message)
info in interface ProcessorGraphHandlerpublic void warning(String warningClass, String message)
warning in interface ProcessorGraphHandlerpublic void error(String errorClass, String message)
error in interface ProcessorGraphHandlerCopyright © 2012-2013. All Rights Reserved.