org.openanzo.glitter.rdf.datatype
Class TypeMaps.TMDecimal

java.lang.Object
  extended by org.openanzo.glitter.rdf.datatype.TypeMaps.TMDecimal
All Implemented Interfaces:
ITypeMap
Enclosing class:
TypeMaps

public class TypeMaps.TMDecimal
extends java.lang.Object
implements ITypeMap

Type map for decimal data.

Author:
lee

Constructor Summary
TypeMaps.TMDecimal()
           
 
Method Summary
 java.lang.Class<?> getJavaClass()
          Get the Java type for this map.
 java.lang.String getLexicalValue(java.lang.Object obj)
          Transform from a native value to a lexical form of the value.
 java.lang.Object getNativeObject(java.lang.String value)
          Transform from the lexical form of a value into a native Java object.
 java.net.URI getXSDatatype()
          Get The XML Schema type for this map.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeMaps.TMDecimal

public TypeMaps.TMDecimal()
Method Detail

getJavaClass

public java.lang.Class<?> getJavaClass()
Description copied from interface: ITypeMap
Get the Java type for this map.

Specified by:
getJavaClass in interface ITypeMap
Returns:
The Java type for this map.

getXSDatatype

public java.net.URI getXSDatatype()
Description copied from interface: ITypeMap
Get The XML Schema type for this map.

Specified by:
getXSDatatype in interface ITypeMap
Returns:
The XML Schema type for this map.

getNativeObject

public java.lang.Object getNativeObject(java.lang.String value)
Description copied from interface: ITypeMap
Transform from the lexical form of a value into a native Java object.

Specified by:
getNativeObject in interface ITypeMap
Parameters:
value - lexical value to convert
Returns:
a native Java object for the lexical form of a value.

getLexicalValue

public java.lang.String getLexicalValue(java.lang.Object obj)
Description copied from interface: ITypeMap
Transform from a native value to a lexical form of the value.

Specified by:
getLexicalValue in interface ITypeMap
Parameters:
obj - native value to convert
Returns:
the lexical form of a native value


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.