Package org.eclipse.rdf4j.rio.helpers
Provides helpers classes for Rio.
-
Class Summary Class Description AbstractRDFHandler Base class forRDFHandler
s with dummy implementations of all methods.AbstractRDFParser Base class forRDFParser
s offering common functionality for RDF parsers.AbstractRDFWriter Base class forRDFWriter
s offering common functionality for RDF writers.AbstractRioSetting<T> Base class forRioSetting
.BasicParserSettings A class encapsulating the basic parser settings that most parsers may support.BasicWriterSettings A class encapsulating the basic writer settings that most writers may support.BinaryRDFWriterSettings WriterSettings for the binary RDF writer.BooleanRioSetting ARioSetting
with aBoolean
value.BufferedGroupingRDFHandler AnRDFHandlerWrapper
that buffers statements internally and passes them to underlying handlers grouped by context, then subject, then predicate.ClassRioSetting<T> ARioSetting
with aClass
value.CodePointIterator Helper class for quickly iterating over a String and receiving each character code point (taking care to handle surrogate pairs correctly).CodePointSequence Helper class for working with Strings as sequences of Unicode code points.ContextStatementCollector A RDFHandler that can be used to collect reported statements in collections.JSONLDSettings Settings that can be passed to JSONLD Parsers and Writers.JSONSettings Generic JSON settings, mostly related to Jackson Features.LongRioSetting ARioSetting
with aLong
value.NTriplesParserSettings ParserSettings for the N-Triples parser features.NTriplesUtil Utility methods for N-Triples encoding/decoding.NTriplesWriterSettings WriterSettings for the N-Triples writer features.ParseErrorCollector A ParseErrorListener that collects Rio parse errors in the sequence they were collected in.ParseErrorLogger A ParseErrorListener that reports Rio parser errors to the SLf4J Logging framework.RDFaParserSettings A selection of parser settings specific to RDFa parsers.RDFHandlerWrapper Convenience base class for RDF handlers that wrap one or more other RDF handler.RDFJSONParserSettings A selection of parser settings specific to RDF/JSON parsers.RDFJSONWriterSettings A selection of writer settings specific to RDF/JSON parsers.RDFParserHelper Helper methods that may be used byRDFParser
implementations.RDFStarUtil Utility methods for RDF-star triples.RioFileTypeDetector An implementation of FileTypeDetector which uses theRDFParserRegistry
to find supported file types and their extensions.RioSettingImpl<T> Basic implementation ofRioSetting
interface, without support for default override via system properties.SimpleParseLocationListener A simple implementation ofParseLocationListener
.StatementCollector A RDFHandler that can be used to collect reported statements in collections.StringRioSetting ARioSetting
with aString
value.TimeLimitRDFHandler TriXParserSettings ParserSettings for the TriX parser features.TurtleParserSettings Parser Settings that are specific toRDFFormat.TURTLE
parsers.TurtleWriterSettings A class encapsulating writer settings that Turtle writers may support.XMLParserSettings ParserSettings for the XML parser features.XMLReaderBasedParser Base class for Rio parsers that are based on a SAXXMLReader
.XMLWriterSettings A class encapsulating writer settings that XML writers may support. -
Enum Summary Enum Description JSONLDMode Deprecated, for removal: This API element is subject to removal in a future version. LargeLiteralHandling An enumeration used to define constants used with theBasicParserSettings.LARGE_LITERALS_HANDLING
parser setting.RDFaVersion Deprecated, for removal: This API element is subject to removal in a future version. -
Exception Summary Exception Description RioConfigurationException A RuntimeException indicating that a specific Rio parser/writer configuration setting is not supported.