|
||||||||||
| 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(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String body,
PageContext pageContext)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.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. |
java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.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 java.util.Map<java.lang.String,java.lang.String> getParams()
public java.lang.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 | |||||||||