org.riotfamily.components.model.wrapper
Class ValueWrapperService

java.lang.Object
  extended by org.riotfamily.components.model.wrapper.ValueWrapperService

public class ValueWrapperService
extends Object

Since:
7.0
Author:
Felix Gnass [fgnass at neteye dot de]

Constructor Summary
ValueWrapperService()
           
 
Method Summary
static
<T> ValueWrapper<?>
createOrUpdate(ValueWrapper<T> wrapper, T value)
           
static void setWrapperFactory(ValueWrapperFactory wrapperFactory)
           
static ValueWrapper<?> wrap(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueWrapperService

public ValueWrapperService()
Method Detail

setWrapperFactory

public static void setWrapperFactory(ValueWrapperFactory wrapperFactory)

createOrUpdate

public static <T> ValueWrapper<?> createOrUpdate(ValueWrapper<T> wrapper,
                                                 T value)
                                      throws WrappingException
Throws:
WrappingException

wrap

public static ValueWrapper<?> wrap(Object value)
                            throws WrappingException
Throws:
WrappingException