org.exoplatform.ws.frameworks.json.impl
Class BeanBuilder

java.lang.Object
  extended by org.exoplatform.ws.frameworks.json.impl.BeanBuilder

public class BeanBuilder
extends java.lang.Object

Version:
$Id: $
Author:
Andrey Parfonov

Constructor Summary
BeanBuilder()
           
 
Method Summary
 java.lang.Object createObject(java.lang.Class<?> clazz, JsonValue jsonValue)
          Create Java Bean from Json Source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanBuilder

public BeanBuilder()
Method Detail

createObject

public java.lang.Object createObject(java.lang.Class<?> clazz,
                                     JsonValue jsonValue)
                              throws java.lang.Exception
Create Java Bean from Json Source.

Parameters:
clazz - the Class of target Object.
jsonValue - the Json representation.
Returns:
Object.
Throws:
java.lang.Exception - if any errors occurs.


Copyright © 2011 eXo Platform SAS. All Rights Reserved.