public class IncludeMacroParameters extends Object
IncludeMacro
Macro.Modifier and Type | Class and Description |
---|---|
static class |
IncludeMacroParameters.Context |
Constructor and Description |
---|
IncludeMacroParameters() |
Modifier and Type | Method and Description |
---|---|
IncludeMacroParameters.Context |
getContext() |
String |
getReference() |
String |
getSection() |
EntityType |
getType() |
void |
setContext(IncludeMacroParameters.Context context) |
void |
setPage(String page) |
void |
setReference(String reference) |
void |
setSection(String sectionId) |
void |
setType(EntityType type) |
public void setReference(String reference)
reference
- the reference of the resource to includepublic String getReference()
public EntityType getType()
public void setType(EntityType type)
type
- the type of the referencepublic void setContext(IncludeMacroParameters.Context context)
context
- defines whether the included page is executed in its separated execution context or whether it's
executed in the context of the current page.public IncludeMacroParameters.Context getContext()
public void setSection(String sectionId)
sectionId
- see getSection()
public String getSection()
public void setPage(String page)
page
- the reference of the page to includeCopyright © 2004–2019 XWiki. All rights reserved.