com.github.dandelion.datatables.core.generator.configuration
Class DatatablesGenerator

java.lang.Object
  extended by com.github.dandelion.datatables.core.generator.configuration.AbstractConfigurationGenerator
      extended by com.github.dandelion.datatables.core.generator.configuration.DatatablesGenerator

public class DatatablesGenerator
extends AbstractConfigurationGenerator

Generator for the Datatables configuration.

Author:
Thibault Duchateau

Constructor Summary
DatatablesGenerator()
           
 
Method Summary
 Map<String,Object> generateConfig(HtmlTable table)
          If no custom config is specified with table attributes, DataTables will internally use default one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatatablesGenerator

public DatatablesGenerator()
Method Detail

generateConfig

public Map<String,Object> generateConfig(HtmlTable table)
If no custom config is specified with table attributes, DataTables will internally use default one.

Specified by:
generateConfig in class AbstractConfigurationGenerator
Parameters:
table - The POJO containing the HTML table.
Returns:
MainConf The main configuration file associated with the HTML table.


Copyright © 2013–2014 Dandelion Project. All rights reserved.