|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.any23.extractor.rdf.RDFParserFactory
public class RDFParserFactory
This factory provides a common logic for creating and configuring correctly any RDF parser used within the library.
| Constructor Summary | |
|---|---|
RDFParserFactory()
|
|
| Method Summary | |
|---|---|
static RDFParserFactory |
getInstance()
|
NQuadsParser |
getNQuadsParser(boolean verifyDataType,
boolean stopAtFirstError,
ExtractionContext extractionContext,
ExtractionResult extractionResult)
Returns a new instance of a configured NQuadsParser. |
org.openrdf.rio.ntriples.NTriplesParser |
getNTriplesParser(boolean verifyDataType,
boolean stopAtFirstError,
ExtractionContext extractionContext,
ExtractionResult extractionResult)
Returns a new instance of a configured NTriplesParser. |
org.openrdf.rio.rdfxml.RDFXMLParser |
getRDFXMLParser(boolean verifyDataType,
boolean stopAtFirstError,
ExtractionContext extractionContext,
ExtractionResult extractionResult)
Returns a new instance of a configured RDFXMLParser. |
org.openrdf.rio.trix.TriXParser |
getTriXParser(boolean verifyDataType,
boolean stopAtFirstError,
ExtractionContext extractionContext,
ExtractionResult extractionResult)
Returns a new instance of a configured TriXParser. |
org.openrdf.rio.turtle.TurtleParser |
getTurtleParserInstance(boolean verifyDataType,
boolean stopAtFirstError,
ExtractionContext extractionContext,
ExtractionResult extractionResult)
Returns a new instance of a configured TurtleParser. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RDFParserFactory()
| Method Detail |
|---|
public static RDFParserFactory getInstance()
public org.openrdf.rio.turtle.TurtleParser getTurtleParserInstance(boolean verifyDataType,
boolean stopAtFirstError,
ExtractionContext extractionContext,
ExtractionResult extractionResult)
TurtleParser.
verifyDataType - data verification enable if true.stopAtFirstError - the parser stops at first error if true.extractionContext - the extraction context where the parser is used.extractionResult - the output extraction result.
public org.openrdf.rio.rdfxml.RDFXMLParser getRDFXMLParser(boolean verifyDataType,
boolean stopAtFirstError,
ExtractionContext extractionContext,
ExtractionResult extractionResult)
RDFXMLParser.
verifyDataType - data verification enable if true.stopAtFirstError - the parser stops at first error if true.extractionContext - the extraction context where the parser is used.extractionResult - the output extraction result.
public org.openrdf.rio.ntriples.NTriplesParser getNTriplesParser(boolean verifyDataType,
boolean stopAtFirstError,
ExtractionContext extractionContext,
ExtractionResult extractionResult)
NTriplesParser.
verifyDataType - data verification enable if true.stopAtFirstError - the parser stops at first error if true.extractionContext - the extraction context where the parser is used.extractionResult - the output extraction result.
public NQuadsParser getNQuadsParser(boolean verifyDataType,
boolean stopAtFirstError,
ExtractionContext extractionContext,
ExtractionResult extractionResult)
NQuadsParser.
verifyDataType - data verification enable if true.stopAtFirstError - the parser stops at first error if true.extractionContext - the extraction context where the parser is used.extractionResult - the output extraction result.
public org.openrdf.rio.trix.TriXParser getTriXParser(boolean verifyDataType,
boolean stopAtFirstError,
ExtractionContext extractionContext,
ExtractionResult extractionResult)
TriXParser.
verifyDataType - data verification enable if true.stopAtFirstError - the parser stops at first error if true.extractionContext - the extraction context where the parser is used.extractionResult - the output extraction result.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||