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.graph |
This package defines the Graph and Node family of classes, which
form the underlying datatypes of the Jena system.
|
org.apache.jena.rdf.model |
A package for creating and manipulating RDF graphs.
|
org.apache.jena.reasoner.rulesys |
Provides a selection of simple rule engines for Jena inference models.
|
org.apache.jena.vocabulary |
A package containing constant classes with predefined constant objects
for classes and properties defined in well known vocabularies.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseDatatype
Base level implementation of datatype from which real implementations
can inherit.
|
Modifier and Type | Method and Description |
---|---|
RDFDatatype |
TypeMapper.getSafeTypeByName(String uri)
Version of getTypeByName which will treat unknown URIs as typed
literals but with just the default implementation
|
RDFDatatype |
TypeMapper.getTypeByClass(Class<?> clazz)
Look up a datatype suitable for representing instances of the
given Java class.
|
RDFDatatype |
TypeMapper.getTypeByName(String uri)
Lookup a known datatype.
|
RDFDatatype |
TypeMapper.getTypeByValue(Object value)
Method getTypeByValue.
|
RDFDatatype |
BaseDatatype.normalizeSubType(Object value,
RDFDatatype dt)
Normalization.
|
RDFDatatype |
RDFDatatype.normalizeSubType(Object value,
RDFDatatype dt)
Normalization.
|
Modifier and Type | Method and Description |
---|---|
Iterator<RDFDatatype> |
TypeMapper.listTypes()
List all the known datatypes
|
Modifier and Type | Method and Description |
---|---|
RDFDatatype |
BaseDatatype.normalizeSubType(Object value,
RDFDatatype dt)
Normalization.
|
RDFDatatype |
RDFDatatype.normalizeSubType(Object value,
RDFDatatype dt)
Normalization.
|
void |
TypeMapper.registerDatatype(RDFDatatype type)
Register a new datatype
|
Constructor and Description |
---|
DatatypeFormatException(String lexicalForm,
RDFDatatype dtype,
String msg)
Preferred constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
XSDbase64Binary
Implement base64binary type.
|
class |
XSDbinary
Root class for XSD datatypes with binary values, xsd:hexBinary and xsd:base64Binary.
|
class |
XSDDatatype
Representation of an XSD datatype based on the Xerces-2
XSD implementation.
|
static class |
XSDDatatype.XSDGenericType
Generic XML Schema datatype (outside the xsd: namespace)
|
class |
XSDhexBinary
Implement hexbinary type.
|
Modifier and Type | Method and Description |
---|---|
RDFDatatype |
Node.getLiteralDatatype()
Answer the RDF datatype object of this node's literal value, if it is
a literal; otherwise die horribly.
|
RDFDatatype |
Node_Literal.getLiteralDatatype() |
static RDFDatatype |
NodeFactory.getType(String s) |
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 inteded 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 |
---|---|
RDFDatatype |
Literal.getDatatype()
Return the datatype of the literal.
|
Modifier and Type | Method and Description |
---|---|
Model |
ModelCon.add(Resource s,
Property p,
String lex,
RDFDatatype datatype)
add a statement to this model.
|
Resource |
Resource.addProperty(Property p,
String lexicalForm,
RDFDatatype datatype)
Add a property to this resource.
|
Literal |
Model.createTypedLiteral(Object value,
RDFDatatype dtype)
Build a typed literal from its value form.
|
Literal |
Model.createTypedLiteral(String lex,
RDFDatatype dtype)
Build a typed literal from its lexical form.
|
static Literal |
ResourceFactory.createTypedLiteral(String string,
RDFDatatype dType)
Answer a typed literal.
|
Literal |
ResourceFactory.Interface.createTypedLiteral(String string,
RDFDatatype datatype)
Answer a typed literal.
|
Modifier and Type | Class and Description |
---|---|
static class |
Functor.FunctorDatatype
Inner class.
|
Modifier and Type | Field and Description |
---|---|
static RDFDatatype |
Functor.FunctorDatatype.theFunctorDatatype |
Modifier and Type | Field and Description |
---|---|
static RDFDatatype |
RDF.dtLangString |
static RDFDatatype |
RDF.dtXMLLiteral |
Licenced under the Apache License, Version 2.0