org.openrdf.repository.object.managers.converters
Class LocaleMarshall
java.lang.Object
org.openrdf.repository.object.managers.converters.LocaleMarshall
- All Implemented Interfaces:
- Marshall<Locale>
public class LocaleMarshall
- extends Object
- implements Marshall<Locale>
Converts Locale 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 |
LocaleMarshall
public LocaleMarshall(ValueFactory vf)
getJavaClassName
public String getJavaClassName()
- Specified by:
getJavaClassName in interface Marshall<Locale>
getDatatype
public URI getDatatype()
- Specified by:
getDatatype in interface Marshall<Locale>
setDatatype
public void setDatatype(URI datatype)
- Specified by:
setDatatype in interface Marshall<Locale>
deserialize
public Locale deserialize(Literal literal)
- Specified by:
deserialize in interface Marshall<Locale>
serialize
public Literal serialize(Locale object)
- Specified by:
serialize in interface Marshall<Locale>
Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.