org.openrdf.repository.object.managers.converters
Class BooleanMarshall
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanMarshall
public BooleanMarshall(ValueFactory vf)
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.