|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RenderingContext
Provides all information needed in the rendering process.
Method Summary | |
---|---|
void |
addListener(RenderingListener renderingListener)
|
void |
after(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out)
|
void |
before(javax.jcr.Node content,
RenderableDefinition definition,
Map<String,Object> contextObjects,
OutputProvider out)
|
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<RenderingListener> listeners)
|
Method Detail |
---|
javax.jcr.Node getMainContent()
javax.jcr.Node getCurrentContent()
RenderableDefinition getRenderableDefinition()
AreaDefinition getParentAreaDefinition()
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(RenderingListener renderingListener)
void setListeners(List<RenderingListener> listeners)
void 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |