org.openrdf.elmo.sesame.converters.impl
Class DurationMarshall
java.lang.Object
org.openrdf.elmo.sesame.converters.impl.DurationMarshall
- All Implemented Interfaces:
- Marshall<Duration>
public class DurationMarshall
- extends Object
- implements Marshall<Duration>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DurationMarshall
public DurationMarshall(ValueFactory vf)
throws DatatypeConfigurationException
- Throws:
DatatypeConfigurationException
getJavaClass
public Class<Duration> getJavaClass()
- Specified by:
getJavaClass 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.