Package org.ametys.web.renderingcontext
Class RenderingContextInputModule
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.web.renderingcontext.RenderingContextInputModule
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,ThreadSafe,InputModule
public class RenderingContextInputModule
extends AbstractLogEnabled
implements InputModule, ThreadSafe, Serviceable
Input module for getting the current rendering context.
Possible values are:
- back
- page rendering is done for the back-office
- preview
- preview of page rendering for the front-office
- site
- page rendering for the front-office
-
Field Summary
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name, Configuration modeConf, Map objectModel) getAttributeNames(Configuration modeConf, Map objectModel) Object[]getAttributeValues(String name, Configuration modeConf, Map objectModel) voidservice(ServiceManager manager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
RenderingContextInputModule
public RenderingContextInputModule()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getAttribute
public Object getAttribute(String name, Configuration modeConf, Map objectModel) throws ConfigurationException - Specified by:
getAttributein interfaceInputModule- Throws:
ConfigurationException
-
getAttributeNames
public Iterator getAttributeNames(Configuration modeConf, Map objectModel) throws ConfigurationException - Specified by:
getAttributeNamesin interfaceInputModule- Throws:
ConfigurationException
-
getAttributeValues
public Object[] getAttributeValues(String name, Configuration modeConf, Map objectModel) throws ConfigurationException - Specified by:
getAttributeValuesin interfaceInputModule- Throws:
ConfigurationException
-