eXo WS :: REST :: Extentions 2.3.0-GA

org.exoplatform.services.rest.ext.management
Class ValueWrapper<T>

java.lang.Object
  extended by org.exoplatform.services.rest.ext.management.ValueWrapper<T>

public class ValueWrapper<T>
extends Object

Temporary class until eXo JSON marshaller supports non java bean objects.

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
ValueWrapper(T value)
           
 
Method Summary
 T getValue()
           
static
<T> ValueWrapper<T>
wrap(T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueWrapper

public ValueWrapper(T value)
Method Detail

wrap

public static <T> ValueWrapper<T> wrap(T value)

getValue

public T getValue()

eXo WS :: REST :: Extentions 2.3.0-GA

Copyright © 2012 eXo Platform SAS. All Rights Reserved.