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.
|
org.apache.jena.rdf.model.impl |
This package contains implementations of the interfaces defined
in the .model package, eg ModelCom for Model, ResourceImpl
for Resource, and so on.
|
Modifier and Type | Method and Description |
---|---|
Object |
RDFDatatype.parse(String lexicalForm)
Parse a lexical form of this datatype to a value
|
Object |
BaseDatatype.parse(String lexicalForm)
Parse a lexical form of this datatype to a value
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
XSDDatatype.loadUserDefined(String uri,
Reader reader,
String encoding,
TypeMapper tm)
Create and register a set of types specified in a user schema file.
|
static List<String> |
XSDDatatype.loadUserDefined(String uri,
String encoding,
TypeMapper tm)
Create and register a set of types specified in a user schema file.
|
Object |
XSDDatatype.parse(String lexicalForm)
Parse a lexical form of this datatype to a value
|
Modifier and Type | Method and Description |
---|---|
Object |
XSDFloat.parse(String lexicalForm)
Parse a lexical form of this datatype to a value
|
Object |
XSDDouble.parse(String lexicalForm)
Parse a lexical form of this datatype to a value
|
Object |
XSDBaseNumericType.parse(String lexicalForm)
Parse a lexical form of this datatype to a value
|
Object |
XMLLiteralType.parse(String lexicalForm)
Parse a lexical form of this datatype to a value
|
Modifier and Type | Method and Description |
---|---|
static Node |
NodeFactory.createLiteral(String lex,
RDFDatatype dtype)
Build a typed literal node from its lexical form.
|
static Node |
NodeFactory.createLiteral(String lex,
String lang,
RDFDatatype dtype)
Build a literal node from its lexical form.
|
static Node |
NodeFactory.createLiteralByValue(Object value,
RDFDatatype dtype)
Create a Node based on the value
If the value is a string we
assume this is inteded to be a lexical form after all.
|
static Node |
NodeFactory.createLiteralByValue(Object value,
String lang,
RDFDatatype dtype)
Create a Node based on the value
If the value is a string we
assume this is intended to be a lexical form after all.
|
static Node |
NodeFactory.createUncachedLiteral(Object value,
RDFDatatype dtype)
Deprecated.
To be removed: Use
NodeFactory.createLiteralByValue(Object, RDFDatatype) |
static Node |
NodeFactory.createUncachedLiteral(Object value,
String lang,
RDFDatatype dtype)
Deprecated.
To be removed: Use
NodeFactory.createLiteralByValue(Object, String, RDFDatatype) |
Modifier and Type | Method and Description |
---|---|
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. |
Object |
LiteralLabel.getValue()
Answer a suitable instance of a Java class representing this literal's
value.
|
Modifier and Type | Method and Description |
---|---|
Literal |
ModelCom.createTypedLiteral(String lex,
RDFDatatype dtype)
Build a typed literal from its lexical form.
|
Licenced under the Apache License, Version 2.0