Class ExcerptIncludeMacroParameters
- java.lang.Object
-
- com.xwiki.macros.excerptinclude.macro.ExcerptIncludeMacroParameters
-
@Unstable public class ExcerptIncludeMacroParameters extends Object
Defines parameters for theExcerptIncludeMacroMacro.- Since:
- 1.14.5
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description ExcerptIncludeMacroParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()org.xwiki.model.reference.DocumentReferencegetReference()Retrieves the reference to the document from which the excerpt is to be included.booleanisInline()booleanisNopanel()voidsetInline(boolean inline)Explicitly sets inline mode.voidsetName(String name)Sets the name of the excerpt to be included.voidsetNopanel(boolean nopanel)Sets the name of the excerpt to be included.voidsetReference(org.xwiki.model.reference.DocumentReference reference)Sets the reference to the document from which the excerpt is to be included.
-
-
-
Method Detail
-
getReference
public org.xwiki.model.reference.DocumentReference getReference()
Retrieves the reference to the document from which the excerpt is to be included.- Returns:
- A
DocumentReferenceobject representing the document reference. - Since:
- 1.14.5
-
setReference
public void setReference(org.xwiki.model.reference.DocumentReference reference)
Sets the reference to the document from which the excerpt is to be included.- Parameters:
reference- ADocumentReferenceobject representing the document reference.
-
getName
public String getName()
- Returns:
- the name of the excerpt to be included.
- Since:
- 1.18.0
-
setName
public void setName(String name)
Sets the name of the excerpt to be included.- Parameters:
name- the name to set.- Since:
- 1.18.0
-
isNopanel
public boolean isNopanel()
- Returns:
- the name of the excerpt to be included.
- Since:
- 1.19.0
-
setNopanel
public void setNopanel(boolean nopanel)
Sets the name of the excerpt to be included.- Parameters:
nopanel- the name to set.- Since:
- 1.19.0
-
isInline
public boolean isInline()
- Returns:
- whether the macro is explicitly in inline mode.
- Since:
- 1.25.1
-
setInline
public void setInline(boolean inline)
Explicitly sets inline mode. Note that if the macro is used inline, it will be inline.- Parameters:
inline- the name to set.- Since:
- 1.25.1
-
-