com.hp.hpl.jena.daml
Interface DAMLDatatype

All Superinterfaces:
DAMLCommon, RDFNode, Resource
All Known Implementing Classes:
DAMLDatatypeImpl

public interface DAMLDatatype
extends DAMLCommon

A DAML datatype represents a set of values from a concrete domain, as opposed to a Class, which is a set of values from the instance domain. Dataypes and Classes are disjoint. In DAML, XML schema is used to encode values from concrete domains.

Version:
CVS info: $Id: DAMLDatatype.java,v 1.1 2001/09/24 17:02:38 ijd Exp $
Author:
Ian Dickinson, HP Labs (email)

Method Summary
 DatatypeTranslator getTranslator()
          Answer the traslator that can map between Java values and the serialised form that represents the value in the RDF graph.
 
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
 

Method Detail

getTranslator

public DatatypeTranslator getTranslator()
Answer the traslator that can map between Java values and the serialised form that represents the value in the RDF graph.
Returns:
a datatype translator.


Copyright © 2001 Hewlett-Packard. All Rights Reserved.