fr.paris.lutece.plugins.wiki.service.parser
Class TextFormatMacro

java.lang.Object
  extended by fr.paris.lutece.plugins.wiki.service.parser.TextFormatMacro
All Implemented Interfaces:
WikiMacro

public class TextFormatMacro
extends Object
implements WikiMacro

Text Wrapper Macro


Constructor Summary
TextFormatMacro()
           
 
Method Summary
 String getFormat()
           
 String getName()
          Gets the macro name
 String processText(String strText)
          Process a given text
 void setFormat(String strFormat)
           
 void setName(String strName)
          Sets the macro name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFormatMacro

public TextFormatMacro()
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

Specified by:
getName in interface WikiMacro
Returns:
The macro name

processText

public String processText(String strText)
Process a given text

Specified by:
processText in interface WikiMacro
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


Copyright © 2014 Mairie de Paris. All Rights Reserved.