Class TextFormatMacro
- java.lang.Object
-
- fr.paris.lutece.plugins.wiki.service.parser.TextFormatMacro
-
-
Constructor Summary
Constructors Constructor Description TextFormatMacro()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormat()StringgetName()Gets the macro nameStringprocessText(String strText)Process a given textvoidsetFormat(String strFormat)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
-
getFormat
public String getFormat()
- Returns:
- the Format Text
-
setFormat
public void setFormat(String strFormat)
- Parameters:
strFormat- the Format text to set
-
-