Package org.eclipse.rdf4j.rio.helpers
Provides helpers classes for Rio.
-
Class Summary Class Description AbstractRDFHandler Base class forRDFHandlers with dummy implementations of all methods.AbstractRDFParser Base class forRDFParsers offering common functionality for RDF parsers.AbstractRDFWriter Base class forRDFWriters 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 ARioSettingwith aBooleanvalue.BufferedGroupingRDFHandler AnRDFHandlerWrapperthat buffers statements internally and passes them to underlying handlers grouped by context, then subject, then predicate.ClassRioSetting<T> ARioSettingwith aClassvalue.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.IntegerRioSetting ARioSettingwith aIntegervalue.JSONLDSettings Settings that can be passed to JSONLD Parsers and Writers.JSONSettings Generic JSON settings, mostly related to Jackson Features.LongRioSetting ARioSettingwith aLongvalue.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 byRDFParserimplementations.RDFStarUtil Utility methods for RDF-star triples.RioFileTypeDetector An implementation of FileTypeDetector which uses theRDFParserRegistryto find supported file types and their extensions.RioSettingImpl<T> Basic implementation ofRioSettinginterface, without support for default override via system properties.SetRioSetting<T> ARioSettingwith aSetvalue.SimpleParseLocationListener A simple implementation ofParseLocationListener.StatementCollector A RDFHandler that can be used to collect reported statements in collections.StringRioSetting ARioSettingwith aStringvalue.TimeLimitRDFHandler TriXParserSettings ParserSettings for the TriX parser features.TurtleParserSettings Parser Settings that are specific toRDFFormat.TURTLEparsers.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 Specifies constants to identify various modes that are relevant to JSONLD documents.LargeLiteralHandling An enumeration used to define constants used with theBasicParserSettings.LARGE_LITERALS_HANDLINGparser setting.RDFaVersion Enumeration for tracking versions of the RDFa specification to specify processing capabilities of RDFa modules. -
Exception Summary Exception Description RioConfigurationException A RuntimeException indicating that a specific Rio parser/writer configuration setting is not supported.