|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.portal.layout.renderer.aspect.impl.DefaultRendererContext
public final class DefaultRendererContext
The renderer aspect context is passed to every renderer aspect. Using this context, a renderer aspect can get it's configuration and it can invoke (if wanted) the next aspect in the aspect chain.
Constructor Summary | |
---|---|
DefaultRendererContext(RendererAspectChain chain,
Layout layout,
PortalService service)
|
Method Summary | |
---|---|
Object |
getAspectConfiguration()
Get the "compiled" configuration of the aspect. |
Object |
getAttribute(String key)
Get an attribute |
Map |
getObjectModel()
Get the object model |
void |
invokeNext(Layout layout,
PortalService service,
ContentHandler handler)
Stream out raw layout |
boolean |
isRendering()
Return whether rendering is enabled for this chain. |
void |
removeAttribute(String key)
Remove an attribute |
void |
setAttribute(String key,
Object attribute)
Set an attribute |
void |
setObjectModel(Map map)
Set the object model |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRendererContext(RendererAspectChain chain, Layout layout, PortalService service)
Method Detail |
---|
public void invokeNext(Layout layout, PortalService service, ContentHandler handler) throws SAXException
RendererAspectContext
invokeNext
in interface RendererAspectContext
SAXException
public boolean isRendering()
RendererAspectContext
isRendering
in interface RendererAspectContext
public Object getAspectConfiguration()
RendererAspectContext
getAspectConfiguration
in interface RendererAspectContext
public void setAttribute(String key, Object attribute)
setAttribute
in interface RendererAspectContext
public Object getAttribute(String key)
getAttribute
in interface RendererAspectContext
public void removeAttribute(String key)
removeAttribute
in interface RendererAspectContext
public Map getObjectModel()
RendererAspectContext
getObjectModel
in interface RendererAspectContext
public void setObjectModel(Map map)
map
- The object model
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |