DefaultDecorator
public interface Decorator
A Decorator is infact a Servlet/JSP, and this is a wrapper to reference it.
An implementation is returned by the DecoratorMapper
.
Modifier and Type | Method | Description |
---|---|---|
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 the 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.
|
String getPage()
String getName()
String getURIPath()
String getRole()
String getInitParameter(String paramName)
paramName
- Key of parameter.Iterator getInitParameterNames()