org.apache.ibatis.abator.config
Class AbatorConfiguration

java.lang.Object
  extended by org.apache.ibatis.abator.config.AbatorConfiguration

public class AbatorConfiguration
extends java.lang.Object

Author:
Jeff Butler

Constructor Summary
AbatorConfiguration()
           
 
Method Summary
 void addAbatorContext(AbatorContext abatorContext)
           
 AbatorContext getAbatorContext(java.lang.String id)
           
 java.util.List getAbatorContexts()
           
 Document toDocument()
          Builds an XML representation of this configuration.
 void validate()
          This method does a simple validate, it makes sure that all required fields have been filled in and that all implementation classes exist and are of the proper type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbatorConfiguration

public AbatorConfiguration()
Method Detail

validate

public void validate()
              throws InvalidConfigurationException
This method does a simple validate, it makes sure that all required fields have been filled in and that all implementation classes exist and are of the proper type. It does not do any more complex operations such as: validating that database tables exist or validating that named columns exist

Throws:
InvalidConfigurationException

getAbatorContexts

public java.util.List getAbatorContexts()

addAbatorContext

public void addAbatorContext(AbatorContext abatorContext)

getAbatorContext

public AbatorContext getAbatorContext(java.lang.String id)

toDocument

public Document toDocument()
Builds an XML representation of this configuration. This can be used to persist a programtically generated configuration.

Returns:
the XML representation of this configuration