org.openrdf.repository.object.managers.converters
Class SqlTimestampMarshall
java.lang.Object
org.openrdf.repository.object.managers.converters.SqlTimestampMarshall
- All Implemented Interfaces:
- Marshall<Timestamp>
public class SqlTimestampMarshall
- extends Object
- implements Marshall<Timestamp>
Converts Timestamp 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 |
SqlTimestampMarshall
public SqlTimestampMarshall(ValueFactory vf)
throws DatatypeConfigurationException
- Throws:
DatatypeConfigurationException
getJavaClassName
public String getJavaClassName()
- Specified by:
getJavaClassName 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-2009 James Leigh Services Inc.. All Rights Reserved.