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

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

public class ShortMarshall
extends Object
implements Marshall<Short>

Converts Short to and from Literal.

Author:
James Leigh

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

ShortMarshall

public ShortMarshall(ValueFactory vf)
Method Detail

getJavaClassName

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

getDatatype

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

setDatatype

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

deserialize

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

serialize

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


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