| org.apache.cocoon.components.modules.input.AbstractInputModule org.apache.cocoon.components.modules.input.AbstractMetaModule org.apache.cocoon.components.modules.input.CollectionMetaModule
CollectionMetaModule | public class CollectionMetaModule extends AbstractMetaModule implements ThreadSafe(Code) | | 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-module | Name of the input module used to obtain the value and its configuration |
member | Collection member Attribute | |
name | Parameter name, "*" may distinguish multiple collections |
type | JDBC type name of members |
|
author: Christian Haul version: CVS $Id: CollectionMetaModule.java 433543 2006-08-22 06:22:54Z crossley $ |
memberConf | protected Configuration memberConf(Code) | | |
configure | public void configure(Configuration config) throws ConfigurationException(Code) | | |
getAttribute | public Object getAttribute(String name, Configuration modeConf, Map objectModel) throws ConfigurationException(Code) | | |
getAttributeNames | public Iterator getAttributeNames(Configuration modeConf, Map objectModel) throws ConfigurationException(Code) | | |
getAttributeValues | public Object[] getAttributeValues(String name, Configuration modeConf, Map objectModel) throws ConfigurationException(Code) | | |
Methods inherited from org.apache.cocoon.components.modules.input.AbstractMetaModule | public void compose(ComponentManager manager) throws ComponentException(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected Iterator getNames(Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf) throws ConfigurationException(Code)(Java Doc) protected Iterator getNames(Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf, InputModule dynamicMod, String dynamicModName, Configuration dynamicModConf) throws ConfigurationException(Code)(Java Doc) protected Object getValue(String attr, Map objectModel, ModuleHolder holder) throws ConfigurationException(Code)(Java Doc) protected Object getValue(String attr, Map objectModel, ModuleHolder staticHolder, ModuleHolder dynamicHolder) throws ConfigurationException(Code)(Java Doc) protected Object getValue(String attr, Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf) throws ConfigurationException(Code)(Java Doc) protected Object getValue(String attr, Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf, InputModule dynamicMod, String dynamicModName, Configuration dynamicModConf) throws ConfigurationException(Code)(Java Doc) protected Object[] getValues(String attr, Map objectModel, ModuleHolder holder) throws ConfigurationException(Code)(Java Doc) protected Object[] getValues(String attr, Map objectModel, ModuleHolder staticHolder, ModuleHolder dynamicHolder) throws ConfigurationException(Code)(Java Doc) protected Object[] getValues(String attr, Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf) throws ConfigurationException(Code)(Java Doc) protected Object[] getValues(String attr, Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf, InputModule dynamicMod, String dynamicModName, Configuration dynamicModConf) throws ConfigurationException(Code)(Java Doc) public synchronized void lazy_initialize()(Code)(Java Doc) protected InputModule obtainModule(String type)(Code)(Java Doc) protected void releaseModule(InputModule module)(Code)(Java Doc)
|
|
|