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

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

public class SqlDateMarshall
extends Object
implements Marshall<Date>


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

SqlDateMarshall

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

getJavaClass

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

getDatatype

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

setDatatype

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

deserialize

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

serialize

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


Copyright © 2004-2008 Aduna. All Rights Reserved.