A B C D E F G H I L O P R S T U V W 
All Classes All Packages

A

ABBREVIATE_NUMBERS - Static variable in class org.eclipse.rdf4j.rio.turtle.TurtleWriterSettings
Boolean setting for Turtle/TriG Writer to determine if the abbreviated syntax for numeric datatypes is to be used when org.eclipse.rdf4j.rio.helpers.BasicWriterSettings.html#PRETTY_PRINT is true.
ACCEPT_TURTLESTAR - Static variable in class org.eclipse.rdf4j.rio.turtle.TurtleParserSettings
Allows the regular Turtle parser to accept data using the non-standard Turtle-star extension.
acceptsFileFormat(FileFormat) - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriter
 
ArrangedWriter - Class in org.eclipse.rdf4j.rio.turtle
Deprecated.
Pretty printing / bnode inlining logic has been moved to TurtleWriter internally.
ArrangedWriter(RDFWriter) - Constructor for class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
ArrangedWriter(RDFWriter, int) - Constructor for class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
ArrangedWriter(RDFWriter, int, boolean) - Constructor for class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 

B

baseIRI - Variable in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
bufferedStatements - Variable in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 

C

CASE_INSENSITIVE_DIRECTIVES - Static variable in class org.eclipse.rdf4j.rio.turtle.TurtleParserSettings
Allows the Turtle parser to recognize @BASE and @PREFIX in a similar way to the SPARQL case insensitive directives.
closePreviousStatement() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
consumeStatement(Statement) - Method in class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
consumeStatement(Statement) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 

D

decodeString(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Decodes an encoded Turtle string.

E

encodeLongString(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Encodes the supplied string for inclusion as a long string in a Turtle document.
encodeString(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Encodes the supplied string for inclusion as a 'normal' string in a Turtle document.
encodeURIString(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Deprecated.
endRDF() - Method in class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
endRDF() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 

F

findURISplitIndex(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Tries to find an index where the supplied URI can be split into a namespace and a local name that comply with the serialization constraints of the Turtle format.

G

getLineNumber() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
getModelFactory() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
getParser() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParserFactory
Returns a new instance of TurtleParser.
getParser() - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarParserFactory
Returns a new instance of TurtleStarParser.
getRDFFormat() - Method in class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
getRDFFormat() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
getRDFFormat() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParserFactory
getRDFFormat() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
getRDFFormat() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriterFactory
getRDFFormat() - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarParser
 
getRDFFormat() - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarParserFactory
getRDFFormat() - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriter
 
getRDFFormat() - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriterFactory
getSupportedSettings() - Method in class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
getSupportedSettings() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
getSupportedSettings() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
getWriter() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
getWriter(OutputStream) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriterFactory
Returns a new instance of TurtleWriter.
getWriter(OutputStream) - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriterFactory
Returns a new instance of TurtleStarWriter.
getWriter(OutputStream, String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriterFactory
 
getWriter(OutputStream, String) - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriterFactory
 
getWriter(Writer) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriterFactory
Returns a new instance of TurtleWriter.
getWriter(Writer) - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriterFactory
Returns a new instance of TurtleStarWriter.
getWriter(Writer, String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriterFactory
 
getWriter(Writer, String) - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriterFactory
 
getWriterConfig() - Method in class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 

H

handleComment(String) - Method in class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
handleComment(String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
handleNamespace(String, String) - Method in class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
handleNamespace(String, String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
handleStatementInternal(Statement, boolean, boolean, boolean) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Internal method that differentiates between the pretty-print and streaming writer cases.

I

isBLANK_NODE_LABEL_Char(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid blank node label character.
isBLANK_NODE_LABEL_EndChar(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid blank node label end character.
isBLANK_NODE_LABEL_StartChar(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid start character for a blank node label.
isLanguageChar(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid language tag character.
isLanguageStartChar(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid language tag start character.
isLocalEscapedChar(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid local escaped character.
isNameChar(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid name character.
isNameEndChar(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid name end character.
isNameStartChar(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid name start character.
isPERCENT(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
 
isPLX_INTERNAL(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
 
isPLX_START(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
 
isPN_CHARS(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid prefixed name character.
isPN_CHARS_BASE(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid prefixed name base character.
isPN_CHARS_U(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents either a valid prefixed name base character or an underscore.
isPN_LOCAL(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
 
isPN_LOCAL_ESC(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
 
isPN_PREFIX(String) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Checks if the supplied prefix string is a valid Turtle namespace prefix.
isPrefixChar(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid prefix character.
isPrefixStartChar(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a valid prefixed name start character.
isWhitespace(int) - Static method in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
Check if the supplied code point represents a whitespace character

L

lastWrittenPredicate - Variable in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
lastWrittenSubject - Variable in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
LOCAL_ESCAPED_CHARS - Static variable in class org.eclipse.rdf4j.rio.turtle.TurtleUtil
 

O

object - Variable in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
org.eclipse.rdf4j.rio.turtle - package org.eclipse.rdf4j.rio.turtle
Parser/writer for the Turtle format.
org.eclipse.rdf4j.rio.turtlestar - package org.eclipse.rdf4j.rio.turtlestar
 

P

parse(InputStream, String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parse(Reader, String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parseAnnotation() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parseBase() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parseCollection() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parses a collection, e.g.
parseDirective(String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parseImplicitBlank() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parses an implicit blank node.
parseLongString(int) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parses a """long string""".
parseNodeID() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parses a blank node ID, e.g.
parseNumber() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parseObject() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parse an object
parseObjectList() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parsePredicate() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parsePredicateObjectList() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parsePrefixID() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parseQNameOrBoolean() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parses qnames and boolean values, which have equivalent starting characters.
parseQuotedLiteral() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parses a quoted string, optionally followed by a language tag or datatype.
parseQuotedString() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parses a quoted string, which is either a "normal string" or a """long string""".
parseStatement() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parseString(int) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parses a "normal string".
parseSubject() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parseTriples() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parseTripleValue() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parser an RDF-star triple value and returns it.
parseURI() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
parseValue() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Parses an RDF value.
parseValue() - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarParser
 
peekCodePoint() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Peeks at the next Unicode code point without advancing the reader, and returns its value.
peekIsTripleValue() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Peeks at the next two Unicode code points without advancing the reader and returns true if they indicate the start of an RDF-star triple value.
predicate - Variable in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
processComment() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Consumes characters from reader until the first EOL has been read.

R

readCodePoint() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Reads the next Unicode code point.
reportError(String, RioSetting<Boolean>) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Overrides AbstractRDFParser.reportError(String, RioSetting), adding line number information to the error.
reportFatalError(Exception) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Overrides AbstractRDFParser.reportFatalError(Exception), adding line number information to the error.
reportFatalError(String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Overrides AbstractRDFParser.reportFatalError(String), adding line number information to the error.
reportLocation() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
reportStatement(Resource, IRI, Value) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
reportWarning(String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Overrides AbstractRDFParser.reportWarning(String), adding line number information to the error.

S

set(RioSetting<T>, T) - Method in class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
setModelFactory(ModelFactory) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Set a ModelFactory to use for creating internal Models for statement processing/buffering purposes.
setWriterConfig(WriterConfig) - Method in class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
skipWSC() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Consumes any white space characters (space, tab, line feed, newline) and comments (#-style) from reader.
startRDF() - Method in class org.eclipse.rdf4j.rio.turtle.ArrangedWriter
Deprecated.
 
startRDF() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
statementClosed - Variable in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Flag indicating whether the last written statement has been closed.
subject - Variable in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 

T

throwEOFException() - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
 
TurtleParser - Class in org.eclipse.rdf4j.rio.turtle
RDF parser for RDF-1.1 Turtle files.
TurtleParser() - Constructor for class org.eclipse.rdf4j.rio.turtle.TurtleParser
Creates a new TurtleParser that will use a SimpleValueFactory to create RDF model objects.
TurtleParser(ValueFactory) - Constructor for class org.eclipse.rdf4j.rio.turtle.TurtleParser
Creates a new TurtleParser that will use the supplied ValueFactory to create RDF model objects.
TurtleParserFactory - Class in org.eclipse.rdf4j.rio.turtle
An RDFParserFactory for Turtle parsers.
TurtleParserFactory() - Constructor for class org.eclipse.rdf4j.rio.turtle.TurtleParserFactory
 
TurtleParserSettings - Class in org.eclipse.rdf4j.rio.turtle
Parser Settings that are specific to RDFFormat.TURTLE parsers.
TurtleStarParser - Class in org.eclipse.rdf4j.rio.turtlestar
RDF parser for Turtle-star (an extension of Turtle that adds RDF-star support).
TurtleStarParser() - Constructor for class org.eclipse.rdf4j.rio.turtlestar.TurtleStarParser
Creates a new TurtleStarParser that will use a SimpleValueFactory to create RDF-star model objects.
TurtleStarParser(ValueFactory) - Constructor for class org.eclipse.rdf4j.rio.turtlestar.TurtleStarParser
Creates a new TurtleStarParser that will use the supplied ValueFactory to create RDF-star model objects.
TurtleStarParserFactory - Class in org.eclipse.rdf4j.rio.turtlestar
An RDFParserFactory for Turtle-star parsers.
TurtleStarParserFactory() - Constructor for class org.eclipse.rdf4j.rio.turtlestar.TurtleStarParserFactory
 
TurtleStarWriter - Class in org.eclipse.rdf4j.rio.turtlestar
An extension of TurtleWriter that writes RDF-star documents in the Turtle-star format by including the RDF-star triples.
TurtleStarWriter(OutputStream) - Constructor for class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriter
Creates a new TurtleStarWriter that will write to the supplied OutputStream.
TurtleStarWriter(OutputStream, ParsedIRI) - Constructor for class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriter
Creates a new TurtleStarWriter that will write to the supplied OutputStream using the supplied base IRI.
TurtleStarWriter(Writer) - Constructor for class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriter
Creates a new TurtleStarWriter that will write to the supplied Writer.
TurtleStarWriter(Writer, ParsedIRI) - Constructor for class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriter
Creates a new TurtleStarWriter that will write to the supplied Writer using the supplied base IRI.
TurtleStarWriterFactory - Class in org.eclipse.rdf4j.rio.turtlestar
An RDFWriterFactory for Turtle-star writers.
TurtleStarWriterFactory() - Constructor for class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriterFactory
 
TurtleUtil - Class in org.eclipse.rdf4j.rio.turtle
Utility methods for Turtle encoding/decoding.
TurtleUtil() - Constructor for class org.eclipse.rdf4j.rio.turtle.TurtleUtil
 
TurtleWriter - Class in org.eclipse.rdf4j.rio.turtle
An implementation of the RDFWriter interface that writes RDF documents in Turtle format.
TurtleWriter(OutputStream) - Constructor for class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Creates a new TurtleWriter that will write to the supplied OutputStream.
TurtleWriter(OutputStream, ParsedIRI) - Constructor for class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Creates a new TurtleWriter that will write to the supplied OutputStream.
TurtleWriter(Writer) - Constructor for class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Creates a new TurtleWriter that will write to the supplied Writer.
TurtleWriter(Writer, ParsedIRI) - Constructor for class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Creates a new TurtleWriter that will write to the supplied Writer.
TurtleWriterFactory - Class in org.eclipse.rdf4j.rio.turtle
An RDFWriterFactory for Turtle writers.
TurtleWriterFactory() - Constructor for class org.eclipse.rdf4j.rio.turtle.TurtleWriterFactory
 
TurtleWriterSettings - Class in org.eclipse.rdf4j.rio.turtle
A class encapsulating writer settings that Turtle writers may support.

U

unread(int) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Pushes back a single code point by copying it to the front of the buffer.
unread(String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Pushes back the supplied string by copying it to the front of the buffer.

V

verifyCharacterOrFail(int, String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleParser
Verifies that the supplied character code point codePoint is one of the expected characters specified in expected.

W

writeBase(String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writeBNode(BNode) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Deprecated.
writeBNode(BNode, boolean) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writeCommentLine(String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writeLiteral(Literal) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writeNamespace(String, String) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writePredicate(IRI) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writer - Variable in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writeResource(Resource) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
writeResource(Resource, boolean) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Writes a Resource, optionally shortening it if it is an IRI and has a namespace definition that is suitable for use in this context for shortening or a BNode that has been confirmed to be able to be shortened in this context.
writeStatement(Resource, IRI, Value, Resource, boolean, boolean) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writeTriple(Triple, boolean) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writeTriple(Triple, boolean) - Method in class org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriter
 
writeTripleRDFStar(Triple, boolean) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writeURI(IRI) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
 
writeValue(Value) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Deprecated.
writeValue(Value, boolean) - Method in class org.eclipse.rdf4j.rio.turtle.TurtleWriter
Writes a value, optionally shortening it if it is an IRI and has a namespace definition that is suitable for use in this context for shortening or a BNode that has been confirmed to be able to be shortened in this context.
A B C D E F G H I L O P R S T U V W 
All Classes All Packages