org.openrdf.repository.object.managers.converters
Class DoubleMarshall

java.lang.Object
  extended by org.openrdf.repository.object.managers.converters.DoubleMarshall
All Implemented Interfaces:
Marshall<Double>

public class DoubleMarshall
extends Object
implements Marshall<Double>

Converts Double to and from Literal.

Author:
James Leigh

Constructor Summary
DoubleMarshall(ValueFactory vf)
           
 
Method Summary
 Double deserialize(Literal literal)
           
 URI getDatatype()
           
 String getJavaClassName()
           
 Literal serialize(Double object)
           
 void setDatatype(URI datatype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleMarshall

public DoubleMarshall(ValueFactory vf)
Method Detail

getJavaClassName

public String getJavaClassName()
Specified by:
getJavaClassName in interface Marshall<Double>

getDatatype

public URI getDatatype()
Specified by:
getDatatype in interface Marshall<Double>

setDatatype

public void setDatatype(URI datatype)
Specified by:
setDatatype in interface Marshall<Double>

deserialize

public Double deserialize(Literal literal)
Specified by:
deserialize in interface Marshall<Double>

serialize

public Literal serialize(Double object)
Specified by:
serialize in interface Marshall<Double>


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.