java.lang.Object
com.sitemesh.mapper.DefaultDecorator
- All Implemented Interfaces:
- com.sitemesh.Decorator
- public class DefaultDecorator
- extends java.lang.Object
- implements com.sitemesh.Decorator
Default implementation of Decorator. All properties are set by the
constructor.
- Version:
- $Revision: 1.5 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
page
protected java.lang.String page
- See Also:
getPage() 55
name
protected java.lang.String name
- See Also:
getName() 55
parameters
protected java.util.Map parameters
- See Also:
getInitParam(java.lang.String) 55
DefaultDecorator
public DefaultDecorator(java.lang.String name,
java.lang.String page,
java.util.Map parameters)
- Constructor to set all properties.
getPage
public java.lang.String getPage()
- URI of Servlet/JSP to dispatch request to (relative to
web-app context).
- Specified by:
getPage in interface com.sitemesh.Decorator
getName
public java.lang.String getName()
- Name of Decorator. For information purposes only.
- Specified by:
getName in interface com.sitemesh.Decorator
getInitParam
public java.lang.String getInitParam(java.lang.String paramName)
- Return init parameter of Decorator.
- Specified by:
getInitParam in interface com.sitemesh.Decorator