|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.renderer.RenderContext com.atlassian.confluence.renderer.PageContext
public class PageContext
Context object that gets passed to the renderer to tell it what circumstances the page is being rendered in. This is used for all rendering in Confluence, not just rendering pages.
Field Summary |
---|
Fields inherited from interface com.atlassian.renderer.RenderContextOutputType |
---|
DISPLAY, EMAIL, FEED, HTML_EXPORT, PDF, PREVIEW, WORD |
Constructor Summary | |
---|---|
PageContext()
|
|
PageContext(ContentEntityObject entity)
|
|
PageContext(ContentEntityObject entity,
PageContext previousContext)
|
|
PageContext(java.lang.String spaceKey)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
ContentEntityObject |
getEntity()
|
PageContext |
getOriginalContext()
|
java.lang.String |
getPageTitle()
|
java.util.Calendar |
getPostingDay()
|
java.lang.String |
getSpaceKey()
|
int |
hashCode()
|
Methods inherited from class com.atlassian.renderer.RenderContext |
---|
addExternalReference, addParam, addRenderedContent, addRenderedContent, getAttachmentsPath, getBaseUrl, getCharacterEncoding, getEmbeddedResourceRenderer, getExternalReferences, getImagePath, getLinkRenderer, getOutputType, getParam, getParams, getRenderedContentStore, getRenderMode, getSiteRoot, isRenderingForWysiwyg, popRenderMode, pushRenderMode, setAttachmentsPath, setBaseUrl, setCharacterEncoding, setEmbeddedResourceRenderer, setImagePath, setLinkRenderer, setOutputType, setRenderingForWysiwyg, setSiteRoot |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageContext()
public PageContext(java.lang.String spaceKey)
public PageContext(ContentEntityObject entity)
public PageContext(ContentEntityObject entity, PageContext previousContext)
Method Detail |
---|
public PageContext getOriginalContext()
public java.lang.String getSpaceKey()
public java.lang.String getPageTitle()
public java.util.Calendar getPostingDay()
public ContentEntityObject getEntity()
public boolean equals(java.lang.Object o)
equals
in class com.atlassian.renderer.RenderContext
public int hashCode()
hashCode
in class com.atlassian.renderer.RenderContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |