- get(ParserSetting<T>) - Method in class org.openrdf.rio.ParserConfig
-
Return the value for a given
ParserSetting or the default value if
it has not been set.
- getAcceptParams(Iterable<RDFFormat>, boolean, RDFFormat) - Static method in class org.openrdf.rio.RDFFormat
-
- getColumnNumber() - Method in exception org.openrdf.rio.RDFParseException
-
Gets the column number associated with this parse exception.
- getDefaultValue() - Method in class org.openrdf.rio.helpers.ParserSettingImpl
-
- getDefaultValue() - Method in interface org.openrdf.rio.ParserSetting
-
Returns the default value for this parser setting if it is not set by a
user.
- getDescription() - Method in class org.openrdf.rio.helpers.ParserSettingImpl
-
- getDescription() - Method in interface org.openrdf.rio.ParserSetting
-
The human readable name for this parser setting
- getInstance() - Static method in class org.openrdf.rio.RDFParserRegistry
-
Gets the default RDFParserRegistry.
- getInstance() - Static method in class org.openrdf.rio.RDFWriterRegistry
-
Gets the default RDFWriterRegistry.
- getKey() - Method in class org.openrdf.rio.helpers.ParserSettingImpl
-
- getKey() - Method in interface org.openrdf.rio.ParserSetting
-
A unique key for this parser setting.
- getKey(RDFParserFactory) - Method in class org.openrdf.rio.RDFParserRegistry
-
- getKey(RDFWriterFactory) - Method in class org.openrdf.rio.RDFWriterRegistry
-
- getLineNumber() - Method in exception org.openrdf.rio.RDFParseException
-
Gets the line number associated with this parse exception.
- getLocationString(int, int) - Static method in exception org.openrdf.rio.RDFParseException
-
Creates a string to that shows the specified line and column number.
- getNamespace(String) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Gets the namespace that is associated with the specified prefix or throws
an
RDFParseException.
- getNamespaces() - Method in class org.openrdf.rio.helpers.StatementCollector
-
Gets the map that contains the collected namespaces.
- getParseErrorListener() - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- getParseLocationListener() - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- getParser() - Method in interface org.openrdf.rio.RDFParserFactory
-
Returns a RDFParser instance.
- getParserConfig() - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- getParserConfig() - Method in interface org.openrdf.rio.RDFParser
-
Retrieves the current parser configuration as a single object.
- getParserFormatForFileName(String) - Static method in class org.openrdf.rio.Rio
-
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
- getParserFormatForFileName(String, RDFFormat) - Static method in class org.openrdf.rio.Rio
-
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
- getParserFormatForMIMEType(String) - Static method in class org.openrdf.rio.Rio
-
Tries to match a MIME type against the list of RDF formats that can be
parsed.
- getParserFormatForMIMEType(String, RDFFormat) - Static method in class org.openrdf.rio.Rio
-
Tries to match a MIME type against the list of RDF formats that can be
parsed.
- getRDFFormat() - Method in interface org.openrdf.rio.RDFParser
-
Gets the RDF format that this parser can parse.
- getRDFFormat() - Method in interface org.openrdf.rio.RDFParserFactory
-
Returns the RDF format for this factory.
- getRDFFormat() - Method in interface org.openrdf.rio.RDFWriter
-
Gets the RDF format that this RDFWriter uses.
- getRDFFormat() - Method in interface org.openrdf.rio.RDFWriterFactory
-
Returns the RDF format for this factory.
- getRDFHandler() - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- getStatements() - Method in class org.openrdf.rio.helpers.StatementCollector
-
Gets the collection that contains the collected statements.
- getSupportedSettings() - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- getSupportedSettings() - Method in interface org.openrdf.rio.RDFParser
-
- getWriter(OutputStream) - Method in interface org.openrdf.rio.RDFWriterFactory
-
Returns an RDFWriter instance that will write to the supplied output
stream.
- getWriter(Writer) - Method in interface org.openrdf.rio.RDFWriterFactory
-
Returns an RDFWriter instance that will write to the supplied writer.
- getWriterFormatForFileName(String) - Static method in class org.openrdf.rio.Rio
-
Tries to match the extension of a file name against the list of RDF
formats that can be written.
- getWriterFormatForFileName(String, RDFFormat) - Static method in class org.openrdf.rio.Rio
-
Tries to match the extension of a file name against the list of RDF
formats that can be written.
- getWriterFormatForMIMEType(String) - Static method in class org.openrdf.rio.Rio
-
Tries to match a MIME type against the list of RDF formats that can be
written.
- getWriterFormatForMIMEType(String, RDFFormat) - Static method in class org.openrdf.rio.Rio
-
Tries to match a MIME type against the list of RDF formats that can be
written.
- RDFA - Static variable in class org.openrdf.rio.RDFFormat
-
The
RDFa file format, an
RDF serialization format.
- RDFFormat - Class in org.openrdf.rio
-
Represents the concept of an RDF data serialization format.
- RDFFormat(String, String, Charset, String, boolean, boolean) - Constructor for class org.openrdf.rio.RDFFormat
-
Creates a new RDFFormat object.
- RDFFormat(String, String, Charset, Collection<String>, boolean, boolean) - Constructor for class org.openrdf.rio.RDFFormat
-
Creates a new RDFFormat object.
- RDFFormat(String, Collection<String>, Charset, Collection<String>, boolean, boolean) - Constructor for class org.openrdf.rio.RDFFormat
-
Creates a new RDFFormat object.
- rdfHandler - Variable in class org.openrdf.rio.helpers.RDFParserBase
-
The RDFHandler that will handle the parsed RDF.
- RDFHandler - Interface in org.openrdf.rio
-
An interface defining methods related to RDF data handling.
- RDFHandlerBase - Class in org.openrdf.rio.helpers
-
Base class for
RDFHandlers with dummy implementations of all
methods.
- RDFHandlerBase() - Constructor for class org.openrdf.rio.helpers.RDFHandlerBase
-
- RDFHandlerException - Exception in org.openrdf.rio
-
An exception that can be thrown by an RDFHandler when it encounters an
unrecoverable error.
- RDFHandlerException(String) - Constructor for exception org.openrdf.rio.RDFHandlerException
-
Creates a new RDFHandlerException.
- RDFHandlerException(Throwable) - Constructor for exception org.openrdf.rio.RDFHandlerException
-
Creates a new RDFHandlerException.
- RDFHandlerException(String, Throwable) - Constructor for exception org.openrdf.rio.RDFHandlerException
-
Creates a new RDFHandlerException wrapping another exception.
- RDFHandlerWrapper - Class in org.openrdf.rio.helpers
-
Convenience base class for RDF handlers that wrap one or more other RDF
handler.
- RDFHandlerWrapper(RDFHandler...) - Constructor for class org.openrdf.rio.helpers.RDFHandlerWrapper
-
Creates a new RDFHandlerWrapper that wraps the supplied RDF handler(s).
- RDFJSON - Static variable in class org.openrdf.rio.RDFFormat
-
The Talis
RDF/JSON file format, an RDF serialization format that supports
recording of named graphs.
- RDFParseException - Exception in org.openrdf.rio
-
A parse exception that can be thrown by a parser when it encounters an error
from which it cannot or doesn't want to recover.
- RDFParseException(String) - Constructor for exception org.openrdf.rio.RDFParseException
-
Creates a new ParseException.
- RDFParseException(String, int, int) - Constructor for exception org.openrdf.rio.RDFParseException
-
Creates a new ParseException.
- RDFParseException(Throwable) - Constructor for exception org.openrdf.rio.RDFParseException
-
Creates a new ParseException wrapping another exception.
- RDFParseException(Throwable, int, int) - Constructor for exception org.openrdf.rio.RDFParseException
-
Creates a new ParseException wrapping another exception.
- RDFParser - Interface in org.openrdf.rio
-
An interface for RDF parsers.
- RDFParser.DatatypeHandling - Enum in org.openrdf.rio
-
- RDFParserBase - Class in org.openrdf.rio.helpers
-
Base class for
RDFParsers offering common functionality for RDF
parsers.
- RDFParserBase() - Constructor for class org.openrdf.rio.helpers.RDFParserBase
-
Creates a new RDFParserBase that will use a
ValueFactoryImpl to
create RDF model objects.
- RDFParserBase(ValueFactory) - Constructor for class org.openrdf.rio.helpers.RDFParserBase
-
Creates a new RDFParserBase that will use the supplied ValueFactory to
create RDF model objects.
- RDFParserFactory - Interface in org.openrdf.rio
-
A RDFParserFactory returns
RDFParsers for a specific RDF format.
- RDFParserRegistry - Class in org.openrdf.rio
-
- RDFParserRegistry() - Constructor for class org.openrdf.rio.RDFParserRegistry
-
- RDFWriter - Interface in org.openrdf.rio
-
An interface for RDF document writers.
- RDFWriterFactory - Interface in org.openrdf.rio
-
A RDFWriterFactory returns
RDFWriters for a specific RDF format.
- RDFWriterRegistry - Class in org.openrdf.rio
-
- RDFWriterRegistry() - Constructor for class org.openrdf.rio.RDFWriterRegistry
-
- RDFXML - Static variable in class org.openrdf.rio.RDFFormat
-
- register(String, String, String, Charset) - Static method in class org.openrdf.rio.RDFFormat
-
Registers the specified RDF file format.
- register(RDFFormat) - Static method in class org.openrdf.rio.RDFFormat
-
Registers the specified RDF file format.
- reportError(String) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Reports an error to the registered ParseErrorListener, if any.
- reportError(String, int, int) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Reports an error with associated line- and column number to the registered
ParseErrorListener, if any.
- reportFatalError(String) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Reports a fatal error to the registered ParseErrorListener, if any, and
throws a ParseException afterwards.
- reportFatalError(String, int, int) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Reports a fatal error with associated line- and column number to the
registered ParseErrorListener, if any, and throws a
ParseException afterwards.
- reportFatalError(Exception) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Reports a fatal error to the registered ParseErrorListener, if any, and
throws a ParseException afterwards.
- reportFatalError(Exception, int, int) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Reports a fatal error with associated line- and column number to the
registered ParseErrorListener, if any, and throws a
ParseException wrapped the supplied exception afterwards.
- reportLocation(int, int) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- reportWarning(String) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Reports a warning to the registered ParseErrorListener, if any.
- reportWarning(String, int, int) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Reports a warning with associated line- and column number to the
registered ParseErrorListener, if any.
- resolveURI(String) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Resolves a URI-string against the base URI and creates a
URI
object for it.
- Rio - Class in org.openrdf.rio
-
Factory class providing static methods for creating RDF parsers and -writers
for various RDF file formats.
- Rio() - Constructor for class org.openrdf.rio.Rio
-
- set(ParserSetting<T>, T) - Method in class org.openrdf.rio.ParserConfig
-
- setBaseURI(String) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Parses and normalizes the supplied URI-string and sets it as the base URI
for resolving relative URIs.
- setBaseURI(ParsedURI) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Sets the base URI for resolving relative URIs.
- setDatatypeHandling(RDFParser.DatatypeHandling) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- setDatatypeHandling(RDFParser.DatatypeHandling) - Method in interface org.openrdf.rio.RDFParser
-
Sets the datatype handling mode.
- setNamespace(String, String) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
Associates the specified prefix to the specified namespace.
- setParseErrorListener(ParseErrorListener) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- setParseErrorListener(ParseErrorListener) - Method in interface org.openrdf.rio.RDFParser
-
Sets the ParseErrorListener that will be notified of any errors that this
parser finds during parsing.
- setParseLocationListener(ParseLocationListener) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- setParseLocationListener(ParseLocationListener) - Method in interface org.openrdf.rio.RDFParser
-
Sets the ParseLocationListener that will be notified of the parser's
progress during the parse process.
- setParserConfig(ParserConfig) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- setParserConfig(ParserConfig) - Method in interface org.openrdf.rio.RDFParser
-
Sets all supplied parser configuration options.
- setPreserveBNodeIDs(boolean) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- setPreserveBNodeIDs(boolean) - Method in interface org.openrdf.rio.RDFParser
-
Set whether the parser should preserve bnode identifiers specified in the
source (default is false).
- setRDFHandler(RDFHandler) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- setRDFHandler(RDFHandler) - Method in interface org.openrdf.rio.RDFParser
-
Sets the RDFHandler that will handle the parsed RDF data.
- setStopAtFirstError(boolean) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- setStopAtFirstError(boolean) - Method in interface org.openrdf.rio.RDFParser
-
Sets whether the parser should stop immediately if it finds an error in
the data (default value is true).
- settings - Variable in class org.openrdf.rio.ParserConfig
-
A map containing mappings from settings to their values.
- setValueFactory(ValueFactory) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- setValueFactory(ValueFactory) - Method in interface org.openrdf.rio.RDFParser
-
Sets the ValueFactory that the parser will use to create Value objects for
the parsed RDF data.
- setVerifyData(boolean) - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- setVerifyData(boolean) - Method in interface org.openrdf.rio.RDFParser
-
Sets whether the parser should verify the data it parses (default value is
true).
- startRDF() - Method in class org.openrdf.rio.helpers.RDFHandlerBase
-
- startRDF() - Method in class org.openrdf.rio.helpers.RDFHandlerWrapper
-
- startRDF() - Method in interface org.openrdf.rio.RDFHandler
-
Signals the start of the RDF data.
- StatementCollector - Class in org.openrdf.rio.helpers
-
A RDFHandler that can be used to collect reported statements in collections.
- StatementCollector() - Constructor for class org.openrdf.rio.helpers.StatementCollector
-
Creates a new StatementCollector that uses a new ArrayList to store the
reported statements and a new LinkedHashMap to store the reported
namespaces.
- StatementCollector(Collection<Statement>) - Constructor for class org.openrdf.rio.helpers.StatementCollector
-
Creates a new StatementCollector that stores reported statements in the
supplied collection and that uses a new LinkedHashMap to store the
reported namespaces.
- StatementCollector(Collection<Statement>, Map<String, String>) - Constructor for class org.openrdf.rio.helpers.StatementCollector
-
Creates a new StatementCollector that stores reported statements and
namespaces in the supplied containers.
- STOP_AT_FIRST_ERROR - Static variable in class org.openrdf.rio.helpers.BasicParserSettings
-
Boolean setting for parser to determine whether parser should stop at
first error or continue if that is possible.
- stopAtFirstError() - Method in class org.openrdf.rio.helpers.RDFParserBase
-
- stopAtFirstError() - Method in class org.openrdf.rio.ParserConfig
-
- SUPPORTS_CONTEXTS - Static variable in class org.openrdf.rio.RDFFormat
-
- SUPPORTS_NAMESPACES - Static variable in class org.openrdf.rio.RDFFormat
-
- supportsContexts() - Method in class org.openrdf.rio.RDFFormat
-
- supportsNamespaces() - Method in class org.openrdf.rio.RDFFormat
-