com.hp.hpl.jena.daml
Interface Datatype
- All Superinterfaces:
- DAMLCommon, RDFNode, Resource
- public interface Datatype
- extends DAMLCommon
A Datatype, in the overall DAML ontology, represents values from concrete domains
that are not formalised as part of the DAML model theory. In particular, the
category Datatype is disjoint from the category Class, so any value is either
typed as an instance of a class or of a datatype. XML Schema data descriptions
are used to encode the concrete domain of a datatype. In general, we provide
a general mechanism for mapping between Java objects and datatype values,
propulated by a small sample of common cases from the XML schema specification.
However, this mechanism is extensible, so users can add additional mappings for
a given application.
- Version:
- CVS info: $Id: Datatype.java,v 1.1 2001/09/24 17:02:40 ijd Exp $
- Author:
- Ian Dickinson, HP Labs (email)
Methods inherited from interface com.hp.hpl.jena.daml.DAMLCommon |
getAll, getDAMLModel, getEquivalenceSet, getEquivalentValues, getNumPropertyValues, getPropertyValue, getPropertyValues, getRDFTypes, getVocabulary, hasRDFType, hasRDFType, prop_comment, prop_equivalentTo, prop_label, prop_type, remove, removeAll, removeProperty, replaceProperty, setPropertyValue, setRDFType, setRDFType |
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Resource |
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getModel, getNameSpace, getProperty, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, removeProperties, toString |
getTranslator
public DatatypeTranslator getTranslator()
- Answer the translator that will translate between an RDF/XML representation
and a Java value.
- Returns:
- this datatype's translator
Copyright © 2001 Hewlett-Packard. All Rights Reserved.