Package org.ametys.core.util.cocoon
Class ContextAttributesInputModule
java.lang.Object
org.ametys.core.util.cocoon.ContextAttributesInputModule
- All Implemented Interfaces:
Component
,InputModule
This input module read in cocoon context attributes
Use it {context-attr:attrName}
Use it {context-attr:attrName}
-
Field Summary
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name, Configuration modeConf, Map objectModel) getAttributeNames
(Configuration modeConf, Map objectModel) Object[]
getAttributeValues
(String name, Configuration modeConf, Map objectModel)
-
Constructor Details
-
ContextAttributesInputModule
public ContextAttributesInputModule()
-
-
Method Details
-
getAttribute
public Object getAttribute(String name, Configuration modeConf, Map objectModel) throws ConfigurationException - Specified by:
getAttribute
in interfaceInputModule
- Throws:
ConfigurationException
-
getAttributeNames
public Iterator getAttributeNames(Configuration modeConf, Map objectModel) throws ConfigurationException - Specified by:
getAttributeNames
in interfaceInputModule
- Throws:
ConfigurationException
-
getAttributeValues
public Object[] getAttributeValues(String name, Configuration modeConf, Map objectModel) throws ConfigurationException - Specified by:
getAttributeValues
in interfaceInputModule
- Throws:
ConfigurationException
-