Class TextWrapperMacro
- java.lang.Object
-
- fr.paris.lutece.plugins.wiki.service.parser.TextWrapperMacro
-
-
Constructor Summary
Constructors Constructor Description TextWrapperMacro()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAfter()StringgetBefore()StringgetName()Gets the macro nameStringprocessText(String strText)Process a given textvoidsetAfter(String strAfter)voidsetBefore(String strBefore)voidsetName(String strName)Sets the macro name
-
-
-
Method Detail
-
setName
public void setName(String strName)
Sets the macro name- Parameters:
strName- The macro name
-
getName
public String getName()
Gets the macro name
-
processText
public String processText(String strText)
Process a given text- Specified by:
processTextin interfaceWikiMacro- Parameters:
strText- The text- Returns:
- The text processed
-
getBefore
public String getBefore()
- Returns:
- the Before Text
-
setBefore
public void setBefore(String strBefore)
- Parameters:
strBefore- the Before text to set
-
getAfter
public String getAfter()
- Returns:
- the After text
-
setAfter
public void setAfter(String strAfter)
- Parameters:
strAfter- the After text to set
-
-