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 Modifier and Type Field Description private RenderingContextHandler_handler- 
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule
ROLE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description RenderingContextInputModule() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String name, Configuration modeConf, Map objectModel)IteratorgetAttributeNames(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 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_handler
private RenderingContextHandler _handler
 
 - 
 
- 
Constructor Detail
- 
RenderingContextInputModule
public RenderingContextInputModule()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager manager) throws ServiceException
- 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
 
 - 
 
 -