org.openrdf.elmo.sesame.converters.impl
Class DurationMarshall

java.lang.Object
  extended by org.openrdf.elmo.sesame.converters.impl.DurationMarshall
All Implemented Interfaces:
Marshall<Duration>

public class DurationMarshall
extends Object
implements Marshall<Duration>


Constructor Summary
DurationMarshall(ValueFactory vf)
           
 
Method Summary
 Duration deserialize(Literal literal)
           
 URI getDatatype()
           
 String getJavaClassName()
           
 Literal serialize(Duration 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

DurationMarshall

public DurationMarshall(ValueFactory vf)
                 throws DatatypeConfigurationException
Throws:
DatatypeConfigurationException
Method Detail

getJavaClassName

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

getDatatype

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

setDatatype

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

deserialize

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

serialize

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


Copyright © 2004-2008 Aduna. All Rights Reserved.