com.canoo.ant.table
Class TableFactory

java.lang.Object
  extended by com.canoo.ant.table.TableFactory

public class TableFactory
extends Object


Field Summary
static String KEY_CONTAINER
           
static String KEY_FILTER_CLASS
           
static String KEY_FOREIGN_NAME
           
static String KEY_FOREIGN_TABLE
           
static String KEY_NAME
           
static String KEY_PREFIX
           
static String KEY_TABLE
           
static String KEY_TABLE_CLASS
           
 
Constructor Summary
TableFactory()
           
 
Method Summary
static ITableFilter createFilter(Properties colInfo)
           
static IPropertyTable createTable(Properties colInfo, String defaultTableClass)
           
static void initOrDefault(IPropertyTable table, ITableFilter filter, Properties colInfo, File container, String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_TABLE

public static final String KEY_TABLE
See Also:
Constant Field Values

KEY_NAME

public static final String KEY_NAME
See Also:
Constant Field Values

KEY_TABLE_CLASS

public static final String KEY_TABLE_CLASS
See Also:
Constant Field Values

KEY_CONTAINER

public static final String KEY_CONTAINER
See Also:
Constant Field Values

KEY_FOREIGN_TABLE

public static final String KEY_FOREIGN_TABLE
See Also:
Constant Field Values

KEY_FOREIGN_NAME

public static final String KEY_FOREIGN_NAME
See Also:
Constant Field Values

KEY_FILTER_CLASS

public static final String KEY_FILTER_CLASS
See Also:
Constant Field Values

KEY_PREFIX

public static final String KEY_PREFIX
See Also:
Constant Field Values
Constructor Detail

TableFactory

public TableFactory()
Method Detail

initOrDefault

public static void initOrDefault(IPropertyTable table,
                                 ITableFilter filter,
                                 Properties colInfo,
                                 File container,
                                 String key)

createTable

public static IPropertyTable createTable(Properties colInfo,
                                         String defaultTableClass)
                                  throws InstantiationException,
                                         IllegalAccessException,
                                         ClassNotFoundException
Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException

createFilter

public static ITableFilter createFilter(Properties colInfo)
                                 throws InstantiationException,
                                        IllegalAccessException,
                                        ClassNotFoundException
Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.