public class DisplayMacroParameters extends Object
DisplayMacro
Macro.Constructor and Description |
---|
DisplayMacroParameters() |
Modifier and Type | Method and Description |
---|---|
String |
getReference() |
String |
getSection() |
EntityType |
getType() |
boolean |
isExcludeFirstHeading() |
void |
setExcludeFirstHeading(boolean excludeFirstHeading) |
void |
setPage(String page) |
void |
setReference(String reference) |
void |
setSection(String sectionId) |
void |
setType(EntityType type) |
public void setReference(String reference)
reference
- the reference to displaypublic String getReference()
public EntityType getType()
public void setType(EntityType type)
type
- the type of the referencepublic void setSection(String sectionId)
sectionId
- see getSection()
public String getSection()
@Unstable public void setExcludeFirstHeading(boolean excludeFirstHeading)
excludeFirstHeading
- true
to remove the first heading found inside
the document or the section, false
to keep it@Unstable public boolean isExcludeFirstHeading()
public void setPage(String page)
page
- the reference of the page to displayCopyright © 2004–2021 XWiki. All rights reserved.