|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper
public class InlineDecoratorMapper
The InlineDecoratorMapper is used to determine the correct Decorator when using inline decorators.
It will check the request attribute value defined by the key
RequestConstants.DECORATOR
and use the appropriate named
Decorator. This is passed across from the page:applyDecorator tag.
DecoratorMapper
Field Summary |
---|
Fields inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper |
---|
config, parent |
Fields inherited from interface com.opensymphony.module.sitemesh.RequestConstants |
---|
DECORATOR, PAGE, ROBOT |
Constructor Summary | |
---|---|
InlineDecoratorMapper()
|
Method Summary | |
---|---|
Decorator |
getDecorator(javax.servlet.http.HttpServletRequest request,
Page page)
Delegate to parent. |
Methods inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper |
---|
getNamedDecorator, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InlineDecoratorMapper()
Method Detail |
---|
public Decorator getDecorator(javax.servlet.http.HttpServletRequest request, Page page)
AbstractDecoratorMapper
getDecorator
in interface DecoratorMapper
getDecorator
in class AbstractDecoratorMapper
|
www.opensymphony.com/sitemesh/ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |