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: MapMetaModule [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.MapMetaModule

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

Meta module that obtains an Object from another module, assumes that this Object implements the java.util.Map interface, and gives access to the map contents. Possible use is to propagate data from flow through request attributes to database actions. The same can be achieved by using the JXPathMetaModule .

Configuration: "input-module", "object", "parameter"

Field Summary
protected  String objectName     
protected  String parameter     
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.MapMetaModule 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.MapMetaModule 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