Save This Page
Home » sitemesh-2.3 » com.opensymphony.module » sitemesh » mapper » [javadoc | source]
com.opensymphony.module.sitemesh.mapper
public class: DefaultDecorator [javadoc | source]
java.lang.Object
   com.opensymphony.module.sitemesh.mapper.DefaultDecorator

All Implemented Interfaces:
    Decorator

Default implementation of Decorator. All properties are set by the constructor.
Field Summary
protected  String page     
protected  String name     
protected  String uriPath     
protected  String role     
protected  Map parameters     
Constructor:
 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 from com.opensymphony.module.sitemesh.mapper.DefaultDecorator Summary:
getInitParameter,   getInitParameterNames,   getName,   getPage,   getRole,   getURIPath
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.opensymphony.module.sitemesh.mapper.DefaultDecorator 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 Decorator. For information 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.