org.chromattic.core.mapper
Class ValueMapper

java.lang.Object
  extended by org.chromattic.core.mapper.ValueMapper

public class ValueMapper
extends Object

Version:
$Revision$
Author:
Julien Viet

Field Summary
static ValueMapper instance
          .
 
Method Summary
 javax.jcr.Value get(javax.jcr.ValueFactory valueFactory, Object o, SimpleType type)
           
 Object get(javax.jcr.Value value, SimpleType wantedType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final ValueMapper instance
.

Method Detail

get

public final Object get(javax.jcr.Value value,
                        SimpleType wantedType)
                 throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

get

public final javax.jcr.Value get(javax.jcr.ValueFactory valueFactory,
                                 Object o,
                                 SimpleType type)
                          throws javax.jcr.ValueFormatException
Throws:
javax.jcr.ValueFormatException


Copyright © 2009 eXo Platform SAS. All Rights Reserved.