org.gcube.portlets.user.tdw.client.model.json
Class JSonTable

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.gcube.portlets.user.tdw.client.model.json.JSonTable

public final class JSonTable
extends com.google.gwt.core.client.JavaScriptObject

Author:
"Federico De Faveri defaveri@isti.cnr.it"

Constructor Summary
protected JSonTable()
           
 
Method Summary
static JSonTable getJSonTable(String json)
           
 List<JSonValue> getList(String rowsField)
          Return a list of JSonValue from the specified JSON string.
 int getOffset(String fieldName)
           
 com.google.gwt.core.client.JsArray<JSonValue> getRows(String rowsField)
           
 int getTotalLength(String fieldName)
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSonTable

protected JSonTable()
Method Detail

getJSonTable

public static final JSonTable getJSonTable(String json)

getList

public List<JSonValue> getList(String rowsField)
Return a list of JSonValue from the specified JSON string.

Parameters:
json - the JSON string.
rowsField - the list root.
Returns:
the extracted list.

getRows

public final com.google.gwt.core.client.JsArray<JSonValue> getRows(String rowsField)

getTotalLength

public final int getTotalLength(String fieldName)

getOffset

public final int getOffset(String fieldName)


Copyright © 2013. All Rights Reserved.