Package org.ametys.workspaces.query
Class GetQueryParametersAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.workspaces.query.GetQueryParametersAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
Get query parameters from query
-
Field Summary
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) protected String
getXsltLocation
(SourceResolver resolver, String xslt) Get the XSLT location.void
service
(ServiceManager smanager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
GetQueryParametersAction
public GetQueryParametersAction()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Throws:
Exception
-
getXsltLocation
Get the XSLT location.- Parameters:
resolver
- the source resolver.xslt
- the requested xslt.- Returns:
- the XSLT file location.
- Throws:
IOException
- if an error occurs resolving the XSLT.
-