Package com.opensymphony.module.sitemesh
Interface Decorator
-
- All Known Implementing Classes:
DefaultDecorator
public interface DecoratorRepresentation of a Decorator.A Decorator is infact a Servlet/JSP, and this is a wrapper to reference it. An implementation is returned by the
DecoratorMapper.- Version:
- $Revision: 1.1 $
- Author:
- Joe Walnes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetInitParameter(String paramName)Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.IteratorgetInitParameterNames()Returns the names of the Decorator's initialization parameters as an Iterator of String objects, or an empty Iterator if the Decorator has no initialization parameters.StringgetName()Name of the Decorator.StringgetPage()URI of the Servlet/JSP to dispatch the request to (relative to the web-app context).StringgetRole()Role the user has to be in to get this decorator applied.StringgetURIPath()URI path of the Decorator.
-
-
-
Method Detail
-
getPage
String getPage()
URI of the Servlet/JSP to dispatch the request to (relative to the web-app context).
-
getName
String getName()
Name of the Decorator. For informational purposes only.
-
getURIPath
String getURIPath()
URI path of the Decorator. Enables support for decorators defined in seperate web-apps.
-
getRole
String getRole()
Role the user has to be in to get this decorator applied.
-
getInitParameter
String getInitParameter(String paramName)
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.- Parameters:
paramName- Key of parameter.- Returns:
- Value of the parameter or null if not found.
-
getInitParameterNames
Iterator getInitParameterNames()
Returns the names of the Decorator's initialization parameters as an Iterator of String objects, or an empty Iterator if the Decorator has no initialization parameters.
-
-