|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.macro.MacroExecutionContext
public class MacroExecutionContext
Container for the execution context of a macro (i.e., the state passed
to it on Macro.execute(java.util.Map, String, com.atlassian.renderer.RenderContext)).
| Constructor Summary | |
|---|---|
MacroExecutionContext(Map<String,String> params,
String body,
PageContext pageContext)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getBody()
Returns the body of the macro. |
ContentEntityObject |
getContent()
Returns the ContentEntityObject associated with this macro. |
PageContext |
getPageContext()
Returns the PageContext of the macro. |
Map<String,String> |
getParams()
Returns the macro parameters and their values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MacroExecutionContext(Map<String,String> params,
String body,
PageContext pageContext)
params - the parameters passed to the macro from the pagebody - the body of the macro (the text contained between the start
and end tags)pageContext - the PageContext that the macro is called
from| Method Detail |
|---|
public Map<String,String> getParams()
public String getBody()
public PageContext getPageContext()
PageContext of the macro.
PageContext of the macro.public ContentEntityObject getContent()
ContentEntityObject associated with this macro.
ContentEntityObject associated with this macro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||