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

get

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


Copyright © 2009 eXo Platform SAS. All Rights Reserved.