| java.lang.Object com.opensymphony.module.sitemesh.mapper.DefaultDecorator
Constructor Summary | |
public | DefaultDecorator(String name, String page, Map parameters) Constructor to set name, page and parameters. | public | DefaultDecorator(String name, String page, String uriPath, Map parameters) Constructor to set all properties. | public | DefaultDecorator(String name, String page, String uriPath, String role, Map parameters) Constructor to set all properties. |
Method Summary | |
public 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. | public 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. | public String | getName() Name of Decorator. | public String | getPage() URI of the Servlet/JSP to dispatch the request to (relative to the
web-app context). | public String | getRole() Role the user has to be in to get this decorator applied. | public String | getURIPath() URI path of the Decorator. |
DefaultDecorator | public DefaultDecorator(String name, String page, Map parameters)(Code) | | Constructor to set name, page and parameters.
|
DefaultDecorator | public DefaultDecorator(String name, String page, String uriPath, Map parameters)(Code) | | Constructor to set all properties.
|
getInitParameter | public String getInitParameter(String paramName)(Code) | | Returns a String containing the value of the named initialization parameter,
or null if the parameter does not exist.
Parameters: paramName - Key of parameter. Value of parameter or null if not found. |
getInitParameterNames | public Iterator getInitParameterNames()(Code) | | 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.
|
getName | public String getName()(Code) | | Name of Decorator. For information purposes only.
|
getPage | public String getPage()(Code) | | URI of the Servlet/JSP to dispatch the request to (relative to the
web-app context).
|
getRole | public String getRole()(Code) | | Role the user has to be in to get this decorator applied.
|
getURIPath | public String getURIPath()(Code) | | URI path of the Decorator. Enables support for decorators defined in seperate web-apps.
|
|
|