com.dhtmlx.connector
Class JSONOptionsConnector
java.lang.Object
com.dhtmlx.connector.BaseConnector
com.dhtmlx.connector.CommonConnector
com.dhtmlx.connector.JSONCommonConnector
com.dhtmlx.connector.JSONOptionsConnector
public class JSONOptionsConnector
- extends JSONCommonConnector
Method Summary |
void |
output_as_xml(java.lang.String data)
|
java.lang.String |
render()
Build xml response, based on previously provided configuration
All top level render methods, call this one, after parsing provided configuration |
Methods inherited from class com.dhtmlx.connector.BaseConnector |
add_top_attribute, dynamic_loading, dynamic_loading, enable_log, is_first_call, is_select_mode, render_array, render_array, render_array, render_complex_sql, render_complex_sql, render_complex_sql, render_connector, render_sql, render_sql, render_sql, render_table, render_table, render_table, servlet, set_encoding |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONOptionsConnector
public JSONOptionsConnector(java.sql.Connection db)
- Instantiates a new options connector.
- Parameters:
db
- the db connection
JSONOptionsConnector
public JSONOptionsConnector(java.sql.Connection db,
DBType db_type)
- Instantiates a new options connector.
- Parameters:
db
- the db connectiondb_type
- the db type
JSONOptionsConnector
public JSONOptionsConnector(java.sql.Connection db,
DBType db_type,
BaseFactory a_factory)
- Instantiates a new options connector.
- Parameters:
db
- the db connectiondb_type
- the db typea_factory
- the class factory
render
public java.lang.String render()
- Description copied from class:
BaseConnector
- Build xml response, based on previously provided configuration
All top level render methods, call this one, after parsing provided configuration
- Overrides:
render
in class BaseConnector
- Returns:
- the xml string
output_as_xml
public void output_as_xml(java.lang.String data)
- Overrides:
output_as_xml
in class JSONCommonConnector