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
<T> javax.jcr.Value
get(javax.jcr.ValueFactory valueFactory, T o, SimpleType<T> type)
           
<T> T
get(javax.jcr.Value value, SimpleType<T> 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 <T> T get(javax.jcr.Value value,
                       SimpleType<T> wantedType)
            throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

get

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


Copyright © 2009 eXo Platform SAS. All Rights Reserved.