|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opensymphony.module.sitemesh.mapper.DefaultDecorator
Default implementation of Decorator. All properties are set by the constructor.
Decorator| Field Summary | |
protected String |
name
|
protected String |
page
|
protected Map |
parameters
|
protected String |
role
|
protected String |
uriPath
|
| Constructor Summary | |
DefaultDecorator(String name,
String page,
Map parameters)
Constructor to set name, page and parameters. |
|
DefaultDecorator(String name,
String page,
String uriPath,
Map parameters)
Constructor to set all properties. |
|
DefaultDecorator(String name,
String page,
String uriPath,
String role,
Map parameters)
Constructor to set all properties. |
|
| Method Summary | |
String |
getInitParameter(String paramName)
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist. |
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. |
String |
getName()
Name of Decorator. |
String |
getPage()
URI of the Servlet/JSP to dispatch the request to (relative to the web-app context). |
String |
getRole()
Role the user has to be in to get this decorator applied. |
String |
getURIPath()
URI path of the Decorator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String page
getPage()protected String name
getName()protected String uriPath
getURIPath()protected String role
getRole()protected Map parameters
getInitParameter(java.lang.String)| Constructor Detail |
public DefaultDecorator(String name,
String page,
Map parameters)
public DefaultDecorator(String name,
String page,
String uriPath,
Map parameters)
public DefaultDecorator(String name,
String page,
String uriPath,
String role,
Map parameters)
| Method Detail |
public String getPage()
getPage in interface Decoratorpublic String getName()
getName in interface Decoratorpublic String getURIPath()
getURIPath in interface Decoratorpublic String getRole()
getRole in interface Decoratorpublic String getInitParameter(String paramName)
getInitParameter in interface DecoratorparamName - Key of parameter.
public Iterator getInitParameterNames()
getInitParameterNames in interface Decorator
|
www.opensymphony.com/sitemesh/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||