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

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

public class SqlTimestampMarshall
extends Object
implements Marshall<Timestamp>


Constructor Summary
SqlTimestampMarshall(ValueFactory vf)
           
 
Method Summary
 Timestamp deserialize(Literal literal)
           
 URI getDatatype()
           
 Class<Timestamp> getJavaClass()
           
 Literal serialize(Timestamp 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

SqlTimestampMarshall

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

getJavaClass

public Class<Timestamp> getJavaClass()
Specified by:
getJavaClass in interface Marshall<Timestamp>

getDatatype

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

setDatatype

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

deserialize

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

serialize

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


Copyright © 2004-2008 Aduna. All Rights Reserved.