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

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

public class BigDecimalMarshall
extends Object
implements Marshall<BigDecimal>

Converts BigDecimal to and from Literal.

Author:
James Leigh

Constructor Summary
BigDecimalMarshall(ValueFactory vf)
           
 
Method Summary
 BigDecimal deserialize(Literal literal)
           
 URI getDatatype()
           
 String getJavaClassName()
           
 Literal serialize(BigDecimal object)
           
 void setDatatype(URI dt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigDecimalMarshall

public BigDecimalMarshall(ValueFactory vf)
Method Detail

getJavaClassName

public String getJavaClassName()
Specified by:
getJavaClassName in interface Marshall<BigDecimal>

getDatatype

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

setDatatype

public void setDatatype(URI dt)
Specified by:
setDatatype in interface Marshall<BigDecimal>

deserialize

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

serialize

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


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.