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

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

public class IntegerMarshall
extends Object
implements Marshall<Integer>


Constructor Summary
IntegerMarshall(ValueFactory vf)
           
 
Method Summary
 Integer deserialize(Literal literal)
           
 URI getDatatype()
           
 Class<? extends Integer> getJavaClass()
           
 Literal serialize(Integer 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

IntegerMarshall

public IntegerMarshall(ValueFactory vf)
Method Detail

getJavaClass

public Class<? extends Integer> getJavaClass()
Specified by:
getJavaClass in interface Marshall<Integer>

getDatatype

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

setDatatype

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

deserialize

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

serialize

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


Copyright © 2004-2008 Aduna. All Rights Reserved.