public class RDFXMLExtractor extends BaseRDFExtractor
Extractor.ContentExtractor
able to perform the extraction on RDF/XML
documents.Extractor.BlindExtractor, Extractor.ContentExtractor, Extractor.TagSoupDOMExtractor
Constructor and Description |
---|
RDFXMLExtractor()
Default constructor, with no verification of data types and not stop at first error.
|
RDFXMLExtractor(boolean verifyDataType,
boolean stopAtFirstError)
Constructor, allows to specify the validation and error handling policies.
|
Modifier and Type | Method and Description |
---|---|
ExtractorDescription |
getDescription() |
protected org.openrdf.rio.RDFParser |
getParser(ExtractionContext extractionContext,
ExtractionResult extractionResult) |
isStopAtFirstError, isVerifyDataType, run, setStopAtFirstError, setVerifyDataType
public RDFXMLExtractor(boolean verifyDataType, boolean stopAtFirstError)
verifyDataType
- if true
the data types will be verified,
if false
will be ignored.stopAtFirstError
- if true
the parser will stop at first parsing error,
if false
will ignore non blocking errors.public RDFXMLExtractor()
public ExtractorDescription getDescription()
getDescription
in interface Extractor<InputStream>
getDescription
in class BaseRDFExtractor
protected org.openrdf.rio.RDFParser getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
getParser
in class BaseRDFExtractor
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.