Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.components.modules » input » [javadoc | source]
org.apache.cocoon.components.modules.input
public class: CollectionMetaModule [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
      org.apache.cocoon.components.modules.input.AbstractInputModule
         org.apache.cocoon.components.modules.input.AbstractMetaModule
            org.apache.cocoon.components.modules.input.CollectionMetaModule

All Implemented Interfaces:
    org.apache.avalon.framework.thread.ThreadSafe, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.activity.Disposable, InputModule, org.apache.avalon.framework.configuration.Configurable

Constructs an array of values suitable for a JDBC collection type from parameters obtained from another input module. Application is not limited to JDBC collections but can be used wherever similar named attributes shall be collected to an array of a given type. Currently, long, int, and string are known, more to come.

Global and local configuration

input-moduleName of the input module used to obtain the value and its configuration
member Collection member
Attribute
nameParameter name, "*" may distinguish multiple collections
typeJDBC type name of members
Field Summary
protected  Configuration memberConf     
Fields inherited from org.apache.cocoon.components.modules.input.AbstractMetaModule:
manager,  inputSelector,  input,  defaultInput,  inputConf,  initialized,  INPUT_MODULE_SELECTOR
Fields inherited from org.apache.cocoon.components.modules.input.AbstractInputModule:
returnNames,  settings
Method from org.apache.cocoon.components.modules.input.CollectionMetaModule Summary:
configure,   getAttribute,   getAttributeNames,   getAttributeValues
Methods from org.apache.cocoon.components.modules.input.AbstractMetaModule:
compose,   dispose,   getNames,   getNames,   getValue,   getValue,   getValue,   getValue,   getValues,   getValues,   getValues,   getValues,   lazy_initialize,   obtainModule,   releaseModule
Methods from org.apache.cocoon.components.modules.input.AbstractInputModule:
configure,   dispose,   getAttribute,   getAttributeNames,   getAttributeValues
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.modules.input.CollectionMetaModule Detail:
 public  void configure(Configuration config) throws ConfigurationException 
 public Object getAttribute(String name,
    Configuration modeConf,
    Map objectModel) throws ConfigurationException 
 public Iterator getAttributeNames(Configuration modeConf,
    Map objectModel) throws ConfigurationException 
 public Object[] getAttributeValues(String name,
    Configuration modeConf,
    Map objectModel) throws ConfigurationException