Home » sitemesh-2.4.1 » com.opensymphony.module » sitemesh » [javadoc | source]
com.opensymphony.module.sitemesh
public interface: Decorator [javadoc | source]

All Known Implementing Classes:
    DefaultDecorator

Representation of a Decorator.

A Decorator is infact a Servlet/JSP, and this is a wrapper to reference it. An implementation is returned by the com.opensymphony.module.sitemesh.DecoratorMapper .

Method from com.opensymphony.module.sitemesh.Decorator Summary:
getInitParameter,   getInitParameterNames,   getName,   getPage,   getRole,   getURIPath
Method from com.opensymphony.module.sitemesh.Decorator Detail:
 public String getInitParameter(String paramName)
    Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
 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 the Decorator. For informational purposes only.
 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. Enables support for decorators defined in seperate web-apps.