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

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

public class BooleanMarshall
extends Object
implements Marshall<Boolean>


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

BooleanMarshall

public BooleanMarshall(ValueFactory vf)
Method Detail

getJavaClass

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

getDatatype

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

setDatatype

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

deserialize

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

serialize

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


Copyright © 2004-2008 Aduna. All Rights Reserved.