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

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

public class BeanBuilder
extends Object

Version:
$Id: $
Author:
Andrey Parfonov

Constructor Summary
BeanBuilder()
           
 
Method Summary
 Object createObject(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 Object createObject(Class<?> clazz,
                           JsonValue jsonValue)
                    throws Exception
Create Java Bean from Json Source.

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


Copyright © 2009 eXo Platform SAS. All Rights Reserved.