org.gcube.portlets.user.tdw.server.datasource.util
Class TableJSonBuilder

java.lang.Object
  extended by org.gcube.portlets.user.tdw.server.datasource.util.GridJSonBuilder
      extended by org.gcube.portlets.user.tdw.server.datasource.util.TableJSonBuilder

public class TableJSonBuilder
extends GridJSonBuilder

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.portlets.user.tdw.server.datasource.util.GridJSonBuilder
GridJSonBuilder.JGridSonWriterState
 
Field Summary
protected  TableDefinition tableDefinition
           
 
Fields inherited from class org.gcube.portlets.user.tdw.server.datasource.util.GridJSonBuilder
fieldsCount, firstColumn, firstField, firstRow, json, offsetDeclared, rowsCount, rowsDeclared, state, totalLengthDeclared
 
Constructor Summary
TableJSonBuilder(TableDefinition tableDefinition)
           
 
Method Summary
 void endRow()
          Ends the data row.
 void setOffset(int offset)
           
 void setTotalLength(int length)
           
 void startRows()
           
 
Methods inherited from class org.gcube.portlets.user.tdw.server.datasource.util.GridJSonBuilder
addKey, addValue, addValue, addValue, addValue, addValue, addValue, addValue, addValueKey, appendQuoted, checkFirstField, checkState, clean, close, endRows, resetState, setOffset, setTotalLength, startRow, startRows, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tableDefinition

protected TableDefinition tableDefinition
Constructor Detail

TableJSonBuilder

public TableJSonBuilder(TableDefinition tableDefinition)
Method Detail

startRows

public void startRows()

endRow

public void endRow()
Description copied from class: GridJSonBuilder
Ends the data row.

Overrides:
endRow in class GridJSonBuilder

setTotalLength

public void setTotalLength(int length)

setOffset

public void setOffset(int offset)


Copyright © 2013. All Rights Reserved.