public class TriXParser extends RDFParserBase
RDFParser.DatatypeHandlingrdfHandler, valueFactory| Constructor and Description |
|---|
TriXParser()
Creates a new TriXParser that will use a
ValueFactoryImpl to
create objects for resources, bNodes, literals and statements. |
TriXParser(ValueFactory valueFactory)
Creates a new TriXParser that will use the supplied ValueFactory to create
objects for resources, bNodes, literals and statements.
|
| Modifier and Type | Method and Description |
|---|---|
RDFFormat |
getRDFFormat() |
void |
parse(InputStream in,
String baseURI) |
void |
parse(Reader reader,
String baseURI) |
clear, clearBNodeIDMap, createBNode, createBNode, createLiteral, createLiteral, createStatement, createStatement, createURI, datatypeHandling, getNamespace, getParseErrorListener, getParseLocationListener, getParserConfig, getRDFHandler, getSupportedSettings, preserveBNodeIDs, reportError, reportError, reportError, reportFatalError, reportFatalError, reportFatalError, reportFatalError, reportLocation, reportWarning, reportWarning, resolveURI, setBaseURI, setBaseURI, setDatatypeHandling, setNamespace, setParseErrorListener, setParseLocationListener, setParserConfig, setPreserveBNodeIDs, setRDFHandler, setStopAtFirstError, setValueFactory, setVerifyData, stopAtFirstError, verifyDatapublic TriXParser()
ValueFactoryImpl to
create objects for resources, bNodes, literals and statements.public TriXParser(ValueFactory valueFactory)
valueFactory - A ValueFactory.public final RDFFormat getRDFFormat()
public void parse(InputStream in, String baseURI) throws IOException, RDFParseException, RDFHandlerException
public void parse(Reader reader, String baseURI) throws IOException, RDFParseException, RDFHandlerException
Copyright © 2001-2014 Aduna. All Rights Reserved.