public abstract class XMLReaderBasedParser extends AbstractRDFParser
XMLReader
.RDFParser.DatatypeHandling
rdfHandler, valueFactory
Modifier | Constructor and Description |
---|---|
protected |
XMLReaderBasedParser(ValueFactory f) |
Modifier and Type | Method and Description |
---|---|
Collection<RioSetting<Boolean>> |
getCompulsoryXmlFeatureSettings()
Returns a collection of settings that will always be set as XML parser features using
XMLReader.setFeature(String, boolean) . |
Collection<RioSetting<?>> |
getCompulsoryXmlPropertySettings()
Returns a collection of settings that will always be set as XML parser properties using
XMLReader.setProperty(String, Object) |
Collection<RioSetting<Boolean>> |
getOptionalXmlFeatureSettings()
Returns a collection of settings that will be used, if set in
AbstractRDFParser.getParserConfig() , as XML parser features
using XMLReader.setFeature(String, boolean) . |
Collection<RioSetting<?>> |
getOptionalXmlPropertySettings()
Returns a collection of settings that will be used, if set in
AbstractRDFParser.getParserConfig() , as XML parser
properties using XMLReader.setProperty(String, Object) |
protected XMLReader |
getXMLReader()
Creates an XML Reader configured using the current parser settings.
|
clear, clearBNodeIDMap, createBNode, createBNode, createLiteral, createLiteral, createNode, createNode, createStatement, createStatement, createURI, datatypeHandling, getNamespace, getParseErrorListener, getParseLocationListener, getParserConfig, getRDFHandler, getSupportedSettings, initializeNamespaceTableFromConfiguration, preserveBNodeIDs, reportError, reportError, reportError, reportError, reportError, reportFatalError, reportFatalError, reportFatalError, reportFatalError, reportFatalError, reportLocation, reportWarning, reportWarning, resolveURI, set, setBaseURI, setBaseURI, setDatatypeHandling, setNamespace, setParseErrorListener, setParseLocationListener, setParserConfig, setPreserveBNodeIDs, setRDFHandler, setStopAtFirstError, setValueFactory, setVerifyData, stopAtFirstError, verifyData
protected XMLReaderBasedParser(ValueFactory f)
public Collection<RioSetting<?>> getCompulsoryXmlPropertySettings()
XMLReader.setProperty(String, Object)
Subclasses can override this to specify more supported settings.
RioSetting
s that indicate which properties will always be setup using
XMLReader.setProperty(String, Object)
.public Collection<RioSetting<Boolean>> getCompulsoryXmlFeatureSettings()
XMLReader.setFeature(String, boolean)
.
Subclasses can override this to specify more supported settings.
RioSetting
s that indicate which boolean settings will always be setup using
XMLReader.setFeature(String, boolean)
.public Collection<RioSetting<?>> getOptionalXmlPropertySettings()
AbstractRDFParser.getParserConfig()
, as XML parser
properties using XMLReader.setProperty(String, Object)
Subclasses can override this to specify more supported settings.
RioSetting
s that indicate which properties can be setup using
XMLReader.setProperty(String, Object)
.public Collection<RioSetting<Boolean>> getOptionalXmlFeatureSettings()
AbstractRDFParser.getParserConfig()
, as XML parser features
using XMLReader.setFeature(String, boolean)
.
Subclasses can override this to specify more supported settings.
RioSetting
s that indicate which boolean settings can be setup using
XMLReader.setFeature(String, boolean)
.protected XMLReader getXMLReader() throws SAXException
XMLReader
SAXException
- if an error occurs during configuration.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.