|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Literal in org.openrdf.model |
|---|
| Methods in org.openrdf.model that return Literal | |
|---|---|
Literal |
ValueFactory.createLiteral(boolean value)
Creates a new xsd:boolean-typed literal representing the specified value. |
Literal |
ValueFactory.createLiteral(byte value)
Creates a new xsd:byte-typed literal representing the specified value. |
Literal |
ValueFactory.createLiteral(double value)
Creates a new xsd:double-typed literal representing the specified value. |
Literal |
ValueFactory.createLiteral(float value)
Creates a new xsd:float-typed literal representing the specified value. |
Literal |
ValueFactory.createLiteral(int value)
Creates a new xsd:int-typed literal representing the specified value. |
Literal |
ValueFactory.createLiteral(long value)
Creates a new xsd:long-typed literal representing the specified value. |
Literal |
ValueFactory.createLiteral(short value)
Creates a new xsd:short-typed literal representing the specified value. |
Literal |
ValueFactory.createLiteral(String label)
Creates a new literal with the supplied label. |
Literal |
ValueFactory.createLiteral(String label,
String language)
Creates a new literal with the supplied label and language attribute. |
Literal |
ValueFactory.createLiteral(String label,
URI datatype)
Creates a new literal with the supplied label and datatype. |
Literal |
ValueFactory.createLiteral(XMLGregorianCalendar calendar)
Creates a new literal representing the specified calendar that is typed using the appropriate XML Schema date/time datatype. |
| Uses of Literal in org.openrdf.model.impl |
|---|
| Classes in org.openrdf.model.impl that implement Literal | |
|---|---|
class |
BooleanLiteralImpl
An extension of LiteralImpl that stores a boolean value to avoid
parsing. |
class |
CalendarLiteralImpl
An extension of LiteralImpl that stores a calendar value to avoid
parsing. |
class |
DecimalLiteralImpl
An extension of LiteralImpl that stores an integer value using a
BigDecimal object. |
class |
IntegerLiteralImpl
An extension of LiteralImpl that stores an integer value using a
BigInteger object. |
class |
LiteralImpl
An implementation of the Literal interface. |
class |
NumericLiteralImpl
An extension of LiteralImpl that stores a numeric value to avoid
parsing. |
| Methods in org.openrdf.model.impl that return Literal | |
|---|---|
protected Literal |
ValueFactoryBase.createFPLiteral(Number value,
URI datatype)
Calls ValueFactoryBase.createNumericLiteral(Number, URI) with the supplied value
and datatype as parameters. |
protected Literal |
ValueFactoryBase.createIntegerLiteral(Number value,
URI datatype)
Calls ValueFactoryBase.createNumericLiteral(Number, URI) with the supplied value
and datatype as parameters. |
Literal |
ValueFactoryBase.createLiteral(boolean b)
Calls ValueFactory.createLiteral(String, URI) with the
String-value of the supplied value and XMLSchema.BOOLEAN as
parameters. |
Literal |
ValueFactoryBase.createLiteral(byte value)
Calls ValueFactoryBase.createIntegerLiteral(Number, URI) with the supplied value
and XMLSchema.BYTE as parameters. |
Literal |
ValueFactoryBase.createLiteral(double value)
Calls ValueFactoryBase.createFPLiteral(Number, URI) with the supplied value and
XMLSchema.DOUBLE as parameters. |
Literal |
ValueFactoryBase.createLiteral(float value)
Calls ValueFactoryBase.createFPLiteral(Number, URI) with the supplied value and
XMLSchema.FLOAT as parameters. |
Literal |
ValueFactoryBase.createLiteral(int value)
Calls ValueFactoryBase.createIntegerLiteral(Number, URI) with the supplied value
and XMLSchema.INT as parameters. |
Literal |
ValueFactoryBase.createLiteral(long value)
Calls ValueFactoryBase.createIntegerLiteral(Number, URI) with the supplied value
and XMLSchema.LONG as parameters. |
Literal |
ValueFactoryBase.createLiteral(short value)
Calls ValueFactoryBase.createIntegerLiteral(Number, URI) with the supplied value
and XMLSchema.SHORT as parameters. |
Literal |
ValueFactoryImpl.createLiteral(String value)
|
Literal |
ValueFactoryImpl.createLiteral(String value,
String language)
|
Literal |
ValueFactoryImpl.createLiteral(String value,
URI datatype)
|
Literal |
ValueFactoryBase.createLiteral(XMLGregorianCalendar calendar)
Calls ValueFactory.createLiteral(String, URI) with the
String-value of the supplied calendar and the appropriate datatype as
parameters. |
protected Literal |
ValueFactoryBase.createNumericLiteral(Number number,
URI datatype)
Calls ValueFactory.createLiteral(String, URI) with the
String-value of the supplied number and the supplied datatype as
parameters. |
| Uses of Literal in org.openrdf.model.util |
|---|
| Methods in org.openrdf.model.util that return Literal | |
|---|---|
static Literal |
GraphUtil.getOptionalObjectLiteral(Graph graph,
Resource subj,
URI pred)
Utility method that casts the return value of GraphUtil.getOptionalObject(Graph, Resource, URI, Resource[]) to a Literal,
or throws a GraphUtilException if that value is not a Literal. |
static Literal |
GraphUtil.getUniqueObjectLiteral(Graph graph,
Resource subj,
URI pred)
Utility method that casts the return value of GraphUtil.getUniqueObject(Graph, Resource, URI, Resource[]) to a Literal,
or throws a GraphUtilException if that value is not a Literal. |
| Methods in org.openrdf.model.util with parameters of type Literal | |
|---|---|
static boolean |
LiteralUtil.getBooleanValue(Literal l,
boolean fallback)
Gets the boolean value of the supplied literal. |
static byte |
LiteralUtil.getByteValue(Literal l,
byte fallback)
Gets the byte value of the supplied literal. |
static XMLGregorianCalendar |
LiteralUtil.getCalendarValue(Literal l,
XMLGregorianCalendar fallback)
Gets the calendar value of the supplied literal. |
static BigDecimal |
LiteralUtil.getDecimalValue(Literal l,
BigDecimal fallback)
Gets the decimal value of the supplied literal. |
static double |
LiteralUtil.getDoubleValue(Literal l,
double fallback)
Gets the double value of the supplied literal. |
static float |
LiteralUtil.getFloatValue(Literal l,
float fallback)
Gets the float value of the supplied literal. |
static BigInteger |
LiteralUtil.getIntegerValue(Literal l,
BigInteger fallback)
Gets the integer value of the supplied literal. |
static int |
LiteralUtil.getIntValue(Literal l,
int fallback)
Gets the int value of the supplied literal. |
static String |
LiteralUtil.getLabel(Literal l,
String fallback)
Gets the label of the supplied literal. |
static Locale |
LiteralUtil.getLocale(Literal l,
Locale fallback)
Determine the Locale from a literal's language tag, as specified by RFC 3166. |
static long |
LiteralUtil.getLongValue(Literal l,
long fallback)
Gets the long value of the supplied literal. |
static short |
LiteralUtil.getShortValue(Literal l,
short fallback)
Gets the short value of the supplied literal. |
| Uses of Literal in org.openrdf.query.algebra.evaluation.federation |
|---|
| Methods in org.openrdf.query.algebra.evaluation.federation with parameters of type Literal | |
|---|---|
protected static StringBuilder |
SPARQLFederatedService.appendLiteral(StringBuilder sb,
Literal lit)
Append the literal to the stringbuilder: "myLiteral"^^ |
| Uses of Literal in org.openrdf.query.algebra.evaluation.function |
|---|
| Methods in org.openrdf.query.algebra.evaluation.function that return Literal | |
|---|---|
Literal |
StringCast.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
IntegerCast.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
FloatCast.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
DoubleCast.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
DecimalCast.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
DateTimeCast.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
BooleanCast.evaluate(ValueFactory valueFactory,
Value... args)
|
| Uses of Literal in org.openrdf.query.algebra.evaluation.function.datetime |
|---|
| Methods in org.openrdf.query.algebra.evaluation.function.datetime that return Literal | |
|---|---|
Literal |
Year.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Tz.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Timezone.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Seconds.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Now.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Month.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Minutes.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Hours.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Day.evaluate(ValueFactory valueFactory,
Value... args)
|
| Uses of Literal in org.openrdf.query.algebra.evaluation.function.hash |
|---|
| Methods in org.openrdf.query.algebra.evaluation.function.hash that return Literal | |
|---|---|
Literal |
SHA512.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
SHA384.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
SHA256.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
SHA1.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
MD5.evaluate(ValueFactory valueFactory,
Value... args)
|
abstract Literal |
HashFunction.evaluate(ValueFactory valueFactory,
Value... args)
|
| Uses of Literal in org.openrdf.query.algebra.evaluation.function.numeric |
|---|
| Methods in org.openrdf.query.algebra.evaluation.function.numeric that return Literal | |
|---|---|
Literal |
Round.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Rand.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Floor.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Ceil.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Abs.evaluate(ValueFactory valueFactory,
Value... args)
|
| Uses of Literal in org.openrdf.query.algebra.evaluation.function.rdfterm |
|---|
| Methods in org.openrdf.query.algebra.evaluation.function.rdfterm that return Literal | |
|---|---|
Literal |
StrLang.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
StrDt.evaluate(ValueFactory valueFactory,
Value... args)
|
| Uses of Literal in org.openrdf.query.algebra.evaluation.function.string |
|---|
| Methods in org.openrdf.query.algebra.evaluation.function.string that return Literal | |
|---|---|
Literal |
UpperCase.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Substring.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
StrStarts.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
StrLen.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
StrEnds.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
StrBefore.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
StrAfter.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Replace.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
LowerCase.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
EncodeForUri.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Contains.evaluate(ValueFactory valueFactory,
Value... args)
|
Literal |
Concat.evaluate(ValueFactory valueFactory,
Value... args)
|
| Uses of Literal in org.openrdf.query.algebra.evaluation.util |
|---|
| Methods in org.openrdf.query.algebra.evaluation.util that return Literal | |
|---|---|
static Literal |
MathUtil.compute(Literal leftLit,
Literal rightLit,
MathExpr.MathOp op)
Computes the result of applying the supplied math operator on the supplied left and right operand. |
| Methods in org.openrdf.query.algebra.evaluation.util with parameters of type Literal | |
|---|---|
static boolean |
QueryEvaluationUtil.compareLiterals(Literal leftLit,
Literal rightLit,
Compare.CompareOp operator)
|
static Literal |
MathUtil.compute(Literal leftLit,
Literal rightLit,
MathExpr.MathOp op)
Computes the result of applying the supplied math operator on the supplied left and right operand. |
static boolean |
QueryEvaluationUtil.isSimpleLiteral(Literal l)
Checks whether the supplied literal is a "simple literal" as defined in the SPARQL spec. |
static boolean |
QueryEvaluationUtil.isStringLiteral(Literal l)
Checks whether the supplied literal is a "string literal". |
| Uses of Literal in org.openrdf.query.dawg |
|---|
| Fields in org.openrdf.query.dawg declared as Literal | |
|---|---|
static Literal |
DAWGTestResultSetSchema.FALSE
|
static Literal |
DAWGTestResultSetSchema.TRUE
|
| Uses of Literal in org.openrdf.query.resultio.text.csv |
|---|
| Methods in org.openrdf.query.resultio.text.csv that return Literal | |
|---|---|
protected Literal |
SPARQLResultsCSVParser.parseLiteral(String literal)
Parses a literal, creates an object for it and returns this object. |
| Uses of Literal in org.openrdf.query.resultio.text.tsv |
|---|
| Methods in org.openrdf.query.resultio.text.tsv that return Literal | |
|---|---|
protected Literal |
SPARQLResultsTSVParser.parseLiteral(String literal)
Parses a literal, creates an object for it and returns this object. |
| Uses of Literal in org.openrdf.rio.helpers |
|---|
| Methods in org.openrdf.rio.helpers that return Literal | |
|---|---|
protected Literal |
RDFParserBase.createLiteral(String label,
String lang,
URI datatype)
Creates a Literal object with the supplied parameters. |
| Uses of Literal in org.openrdf.rio.ntriples |
|---|
| Methods in org.openrdf.rio.ntriples that return Literal | |
|---|---|
protected Literal |
NTriplesParser.createLiteral(String label,
String lang,
String datatype)
|
static Literal |
NTriplesUtil.parseLiteral(String nTriplesLiteral,
ValueFactory valueFactory)
Parses an N-Triples literal, creates an object for it using the supplied ValueFactory and returns this object. |
| Methods in org.openrdf.rio.ntriples with parameters of type Literal | |
|---|---|
static void |
NTriplesUtil.append(Literal lit,
Appendable appendable)
|
static String |
NTriplesUtil.toNTriplesString(Literal lit)
Creates an N-Triples string for the supplied literal. |
| Uses of Literal in org.openrdf.rio.turtle |
|---|
| Methods in org.openrdf.rio.turtle that return Literal | |
|---|---|
protected Literal |
TurtleParser.parseNumber()
|
protected Literal |
TurtleParser.parseQuotedLiteral()
Parses a quoted string, optionally followed by a language tag or datatype. |
| Methods in org.openrdf.rio.turtle with parameters of type Literal | |
|---|---|
protected void |
TurtleWriter.writeLiteral(Literal lit)
|
| Uses of Literal in org.openrdf.sail.memory.model |
|---|
| Classes in org.openrdf.sail.memory.model that implement Literal | |
|---|---|
class |
BooleanMemLiteral
An extension of MemLiteral that stores a boolean value to avoid parsing. |
class |
CalendarMemLiteral
An extension of MemLiteral that stores a Calendar value to avoid parsing. |
class |
DecimalMemLiteral
An extension of MemLiteral that stores a decimal value to avoid parsing. |
class |
IntegerMemLiteral
An extension of MemLiteral that stores an integer value to avoid parsing. |
class |
MemLiteral
A MemoryStore-specific extension of Literal giving it node properties. |
class |
NumericMemLiteral
An extension of MemLiteral that stores a numeric value to avoid parsing. |
| Methods in org.openrdf.sail.memory.model that return Literal | |
|---|---|
protected Literal |
MemValueFactory.createFPLiteral(Number n,
URI datatype)
|
protected Literal |
MemValueFactory.createIntegerLiteral(Number n,
URI datatype)
|
Literal |
MemValueFactory.createLiteral(boolean value)
|
Literal |
MemValueFactory.createLiteral(String value)
|
Literal |
MemValueFactory.createLiteral(String value,
String language)
|
Literal |
MemValueFactory.createLiteral(String value,
URI datatype)
|
Literal |
MemValueFactory.createLiteral(XMLGregorianCalendar calendar)
|
| Methods in org.openrdf.sail.memory.model with parameters of type Literal | |
|---|---|
MemLiteral |
MemValueFactory.getMemLiteral(Literal literal)
See getMemValue() for description. |
MemLiteral |
MemValueFactory.getOrCreateMemLiteral(Literal literal)
See MemValueFactory.getOrCreateMemValue(Value) for description. |
| Uses of Literal in org.openrdf.sail.nativerdf |
|---|
| Methods in org.openrdf.sail.nativerdf with parameters of type Literal | |
|---|---|
NativeLiteral |
ValueStore.getNativeLiteral(Literal l)
Creates an NativeLiteral that is equal to the supplied literal. |
| Uses of Literal in org.openrdf.sail.nativerdf.model |
|---|
| Classes in org.openrdf.sail.nativerdf.model that implement Literal | |
|---|---|
class |
NativeLiteral
|
| Uses of Literal in org.openrdf.sail.rdbms |
|---|
| Methods in org.openrdf.sail.rdbms with parameters of type Literal | |
|---|---|
RdbmsLiteral |
RdbmsValueFactory.asRdbmsLiteral(Literal literal)
|
| Uses of Literal in org.openrdf.sail.rdbms.managers |
|---|
| Methods in org.openrdf.sail.rdbms.managers that return Literal | |
|---|---|
protected Literal |
LiteralManager.key(RdbmsLiteral value)
|
| Uses of Literal in org.openrdf.sail.rdbms.model |
|---|
| Classes in org.openrdf.sail.rdbms.model that implement Literal | |
|---|---|
class |
RdbmsLiteral
Wraps a LiteralImpl providing an internal id and version. |
| Constructors in org.openrdf.sail.rdbms.model with parameters of type Literal | |
|---|---|
RdbmsLiteral(Literal lit)
|
|
RdbmsLiteral(Number id,
Integer version,
Literal lit)
|
|
| Uses of Literal in org.openrdf.sail.rdbms.schema |
|---|
| Methods in org.openrdf.sail.rdbms.schema with parameters of type Literal | |
|---|---|
int |
IdSequence.code(Literal value)
|
protected ValueType |
IdSequence.valueOf(Literal lit)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||