public class TriXExtractor extends BaseRDFExtractor
Extractor.ContentExtractor
to perform extraction on TriX documents.Extractor.BlindExtractor, Extractor.ContentExtractor, Extractor.TagSoupDOMExtractor
Constructor and Description |
---|
TriXExtractor()
Default constructor, with no verification of data types and not stop at first error.
|
TriXExtractor(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 TriXExtractor(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 TriXExtractor()
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.