public interface RenderingContext
Modifier and Type | Method and Description |
---|---|
void |
addListener(AbstractRenderingListener renderingListener) |
void |
after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
Collection<AbstractRenderingListener.RenderingListenerReturnCode> |
before(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out) |
RenderableDefinition |
getAncestorDefinition(int level) |
AppendableWriter |
getAppendable() |
javax.jcr.Node |
getCurrentContent() |
javax.jcr.Node |
getMainContent() |
OutputProvider |
getOutputProvider() |
OutputStream |
getOutputStream() |
AreaDefinition |
getParentAreaDefinition() |
RenderableDefinition |
getRenderableDefinition() |
void |
handleException(RenderException renderException) |
void |
pop() |
void |
push(javax.jcr.Node content,
RenderableDefinition renderableDefinition)
Pushes the content and renderableDefinition to be used for rendering.
|
void |
push(javax.jcr.Node content,
RenderableDefinition renderableDefinition,
OutputProvider outputProvider)
Pushes the content and renderableDefinition to be used for rendering.
|
void |
setListeners(List<AbstractRenderingListener> listeners) |
javax.jcr.Node getMainContent()
javax.jcr.Node getCurrentContent()
RenderableDefinition getRenderableDefinition()
AreaDefinition getParentAreaDefinition()
RenderableDefinition getAncestorDefinition(int level)
OutputProvider getOutputProvider()
void push(javax.jcr.Node content, RenderableDefinition renderableDefinition)
void push(javax.jcr.Node content, RenderableDefinition renderableDefinition, OutputProvider outputProvider)
outputProvider
- the OutputProvider to be used for output or null to use the OutputProvider already setvoid pop()
AppendableWriter getAppendable() throws IOException
IOException
OutputStream getOutputStream() throws IOException
IOException
void handleException(RenderException renderException)
void addListener(AbstractRenderingListener renderingListener)
void setListeners(List<AbstractRenderingListener> listeners)
Collection<AbstractRenderingListener.RenderingListenerReturnCode> before(javax.jcr.Node content, RenderableDefinition definition, Map<String,Object> contextObjects, OutputProvider out)
void after(javax.jcr.Node content, RenderableDefinition definition, Map<String,Object> contextObjects, OutputProvider out)
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.