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

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

public class BooleanMarshall
extends Object
implements Marshall<Boolean>

Converts Boolean to and from Literal.

Author:
James Leigh

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

getJavaClassName

public String getJavaClassName()
Specified by:
getJavaClassName 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-2010 James Leigh Services Inc.. All Rights Reserved.