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 |
A package for creating and manipulating RDF graphs.
|
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.
|
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 |
DatatypeFormatException.getDataType()
The datatype that has an invalid lexical form.
|
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 | Class and Description |
---|---|
class |
RDFhtml
rdf:html.
|
class |
RDFjson
rdf:json.
|
class |
RDFLangString
rdf:langString.
|
class |
XMLLiteralType
Builtin data type to represent XMLLiteral (i.e.
|
class |
XSDAbstractDateTimeType
Base class for all date/time/duration type representations.
|
class |
XSDBaseNumericType
Base implementation for all numeric datatypes derived from
xsd:decimal.
|
class |
XSDBaseStringType
Base implementation for all string datatypes derived from
xsd:string.
|
class |
XSDByteType
Datatype template used to define XSD int types
|
class |
XSDDateTimeStampType |
class |
XSDDateTimeType
Type processor for dateTime, most of the machinery is in the
base XSDAbstractDateTimeType class.
|
class |
XSDDateType
Type processor for date, most of the machinery is in the
base XSDAbstractDateTimeType class.
|
class |
XSDDayTimeDurationType |
class |
XSDDayType
Type processor for gDay, most of the machinery is in the
base XSDAbstractDateTimeType class.
|
class |
XSDDouble
Datatype representation for xsd:float.
|
class |
XSDDurationType
The XSD duration type, the only job of this extra layer is to
wrap the return value in a more convenient accessor type.
|
class |
XSDFloat
Datatype representation for xsd:float.
|
class |
XSDMonthDayType
Type processor for gMonthDay, most of the machinery is in the
base XSDAbstractDateTimeType class.
|
class |
XSDMonthType
Type processor for gMonth, most of the machinery is in the
base XSDAbstractDateTimeType class.
|
class |
XSDPlainType
A datatype that does not use the Xerces machinery for isEqual, yet is still an XSDDatatype.
|
class |
XSDTimeType
Type processor for time, most of the machinery is in the
base XSDAbstractDateTimeType class.
|
class |
XSDYearMonthDurationType |
class |
XSDYearMonthType
Type processor for gYearMonth, most of the machinery is in the
base XSDAbstractDateTimeType class.
|
class |
XSDYearType
Type processor for year, most of the machinery is in the
base XSDAbstractDateTimeType class.
|
Modifier and Type | Field and Description |
---|---|
static RDFDatatype |
RDFhtml.rdfHTML
Singleton instance
|
static RDFDatatype |
RDFjson.rdfJSON
Singleton instance
|
static RDFDatatype |
RDFLangString.rdfLangString
Singleton instance
|
static RDFDatatype |
XMLLiteralType.theXMLLiteralType
Singleton instance
|
Modifier and Type | Method and Description |
---|---|
RDFDatatype |
XSDAbstractDateTimeType.normalizeSubType(Object value,
RDFDatatype dt)
Normalization.
|
Modifier and Type | Method and Description |
---|---|
RDFDatatype |
XSDAbstractDateTimeType.normalizeSubType(Object value,
RDFDatatype dt)
Normalization.
|
Modifier and Type | Method and Description |
---|---|
RDFDatatype |
Node_Literal.getLiteralDatatype() |
RDFDatatype |
Node.getLiteralDatatype()
Answer the RDF datatype object of this node's literal value, if it is
a literal; otherwise die horribly.
|
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 intended 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 | Class and Description |
---|---|
class |
AdhocDatatype |
Modifier and Type | Method and Description |
---|---|
RDFDatatype |
LiteralLabel.getDatatype()
Answer the datatype of this literal, null if it is untyped.
|
Modifier and Type | Method and Description |
---|---|
static LiteralLabel |
LiteralLabelFactory.create(String lex,
RDFDatatype dtype)
Create a literal with a dtype.
|
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. |
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 | Method and Description |
---|---|
RDFDatatype |
LiteralImpl.getDatatype()
Return the datatype of the literal.
|
Modifier and Type | Method and Description |
---|---|
Model |
ModelCom.add(Resource s,
Property p,
String lex,
RDFDatatype datatype) |
Resource |
ResourceImpl.addProperty(Property p,
String lexicalForm,
RDFDatatype datatype) |
Literal |
ModelCom.createTypedLiteral(Object value,
RDFDatatype dtype)
Build a typed literal from its value form.
|
Literal |
ModelCom.createTypedLiteral(String lex,
RDFDatatype dtype)
Build a typed literal from its lexical form.
|
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.dtRDFHTML |
static RDFDatatype |
RDF.dtRDFJSON |
static RDFDatatype |
RDF.dtXMLLiteral |
Modifier and Type | Method and Description |
---|---|
static RDFDatatype |
RDF.Init.dtLangString() |
static RDFDatatype |
RDF.Init.dtRDFHTML() |
static RDFDatatype |
RDF.Init.dtRDFJSON() |
static RDFDatatype |
RDF.Init.dtXMLLiteral() |
Licenced under the Apache License, Version 2.0