Package | Description |
---|---|
org.apache.jena.datatypes |
Provides the core interfaces through which datatypes are described to Jena.
|
org.apache.jena.datatypes.xsd |
Provides datatype definitions for the XML Schema datatypes support by Jena.
|
org.apache.jena.datatypes.xsd.impl |
Provides implementations of the XSD datatype.
|
org.apache.jena.graph |
This package defines the Graph and Node family of classes, which
form the underlying datatypes of the Jena system.
|
org.apache.jena.graph.impl |
This package provides basic implementations of Graph interfaces
such as EventManager and Capabilities.
|
Modifier and Type | Method and Description |
---|---|
int |
BaseDatatype.getHashCode(LiteralLabel lit)
Default implementation of getHashCode() delegates to the default from
the literal label.
|
int |
RDFDatatype.getHashCode(LiteralLabel lit)
Gets the hash code of a given value.
|
boolean |
BaseDatatype.isEqual(LiteralLabel litLabel1,
LiteralLabel litLabel2)
Compares two instances of values of the given datatype.
|
boolean |
RDFDatatype.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
BaseDatatype.isValidLiteral(LiteralLabel lit)
Test whether the given LiteralLabel is a valid instance
of this datatype.
|
boolean |
RDFDatatype.isValidLiteral(LiteralLabel lit)
Test whether the given LiteralLabel is a valid instance
of this datatype.
|
boolean |
BaseDatatype.langTagCompatible(LiteralLabel value1,
LiteralLabel value2)
Helper function to compare language tag values
|
Modifier and Type | Method and Description |
---|---|
int |
XSDbinary.getHashCode(LiteralLabel lit) |
boolean |
XSDDatatype.isBaseTypeCompatible(LiteralLabel lit)
Test if the given typed value is in the right partition of the XSD type space.
|
boolean |
XSDbinary.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
XSDDatatype.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
XSDDatatype.isValidLiteral(LiteralLabel lit)
Test whether the given LiteralLabel is a valid instance
of this datatype.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RDFLangString.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
RDFhtml.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
XSDBaseStringType.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
XSDPlainType.isEqual(LiteralLabel litLabel1,
LiteralLabel litLabel2)
Compares two instances of values of the given datatype.
|
boolean |
RDFjson.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
XSDBaseNumericType.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
XSDDouble.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
XSDAbstractDateTimeType.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
XSDFloat.isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
boolean |
XSDBaseNumericType.isValidLiteral(LiteralLabel lit)
Test whether the given LiteralLabel is a valid instance
of this datatype.
|
Modifier and Type | Method and Description |
---|---|
LiteralLabel |
Node_Literal.getLiteral() |
LiteralLabel |
Node.getLiteral()
Answer the literal value of a literal node, or throw an UnsupportedOperationException
if it's not a literal node
|
Modifier and Type | Method and Description |
---|---|
static Node |
NodeFactory.createLiteral(LiteralLabel lit)
make a literal node with the specified literal value
|
Object |
NodeVisitor.visitLiteral(Node_Literal it,
LiteralLabel lit) |
Modifier and Type | Method and Description |
---|---|
static LiteralLabel |
LiteralLabelFactory.create(Object value)
Deprecated.
|
static LiteralLabel |
LiteralLabelFactory.create(String lex,
RDFDatatype dtype)
Create a literal with a dtype.
|
static LiteralLabel |
LiteralLabelFactory.create(String lex,
String lang)
Build a plain literal label from its lexical form and language tag.
|
static LiteralLabel |
LiteralLabelFactory.create(String s,
String lang,
boolean xml)
Creates either a plain literal or an XMLLiteral.
|
static LiteralLabel |
LiteralLabelFactory.createByValue(Object value,
String lang,
RDFDatatype dtype)
Build a typed literal label from its value form.
|
static LiteralLabel |
LiteralLabelFactory.createLiteralLabel(String lex,
String lang,
RDFDatatype dtype)
Using
LiteralLabelFactory.create(String, String) or LiteralLabelFactory.create(String, RDFDatatype)
where possible is preferred. |
static LiteralLabel |
LiteralLabelFactory.createTypedLiteral(Object value)
Build a typed literal label from its value form using
whatever datatype is currently registered as the default
representation for this java class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LiteralLabel.sameValueAs(LiteralLabel other)
Answer true if this literal represents the same (abstract) value as
the other one.
|
Licenced under the Apache License, Version 2.0