org.openrdf.repository.object.managers.converters
Class GregorianCalendarMarshall

java.lang.Object
  extended by org.openrdf.repository.object.managers.converters.GregorianCalendarMarshall
All Implemented Interfaces:
Marshall<GregorianCalendar>

public class GregorianCalendarMarshall
extends Object
implements Marshall<GregorianCalendar>

Converts GregorianCalendar to and from Literal.

Author:
James Leigh

Constructor Summary
GregorianCalendarMarshall(ValueFactory vf)
           
 
Method Summary
 GregorianCalendar deserialize(Literal literal)
           
 URI getDatatype()
           
 String getJavaClassName()
           
 Literal serialize(GregorianCalendar 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

GregorianCalendarMarshall

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

getJavaClassName

public String getJavaClassName()
Specified by:
getJavaClassName in interface Marshall<GregorianCalendar>

getDatatype

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

setDatatype

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

deserialize

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

serialize

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


Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.