|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.module.sitemesh.mapper.NullDecoratorMapper
public class NullDecoratorMapper
The NullDecoratorMapper represents the top-level DecoratorMapper that is finally delegated to if no other DecoratorMapper has intervened. It is used so the parent property does not have to be checked by other DecoratorMappers (null object pattern).
DecoratorMapper
Constructor Summary | |
---|---|
NullDecoratorMapper()
|
Method Summary | |
---|---|
Decorator |
getDecorator(javax.servlet.http.HttpServletRequest request,
Page page)
Returns null. |
Decorator |
getNamedDecorator(javax.servlet.http.HttpServletRequest request,
String name)
Returns null. |
void |
init(Config config,
Properties properties,
DecoratorMapper parent)
Does nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullDecoratorMapper()
Method Detail |
---|
public void init(Config config, Properties properties, DecoratorMapper parent)
init
in interface DecoratorMapper
config
- Config supplied by Servlet or Filter.properties
- Any initialization properties (specific to implementation).public Decorator getDecorator(javax.servlet.http.HttpServletRequest request, Page page)
getDecorator
in interface DecoratorMapper
public Decorator getNamedDecorator(javax.servlet.http.HttpServletRequest request, String name)
getNamedDecorator
in interface DecoratorMapper
|
www.opensymphony.com/sitemesh/ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |