org.openrdf.repository.object.managers.converters
Class SqlDateMarshall
java.lang.Object
org.openrdf.repository.object.managers.converters.SqlDateMarshall
- All Implemented Interfaces:
- Marshall<Date>
public class SqlDateMarshall
- extends Object
- implements Marshall<Date>
Converts Date to and from Literal.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlDateMarshall
public SqlDateMarshall(ValueFactory vf)
throws DatatypeConfigurationException
- Throws:
DatatypeConfigurationException
getJavaClassName
public String getJavaClassName()
- Specified by:
getJavaClassName 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-2009 James Leigh Services Inc.. All Rights Reserved.