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

java.lang.Object
  extended by 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

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

LocaleMarshall

public LocaleMarshall(ValueFactory vf)
Method Detail

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-2009 James Leigh Services Inc.. All Rights Reserved.