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

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

public class TextWrapperMacro
extends Object
implements WikiMacro

Text Wrapper Macro


Constructor Summary
TextWrapperMacro()
           
 
Method Summary
 String getAfter()
           
 String getBefore()
           
 String getName()
          Gets the macro name
 String processText(String strText)
          Process a given text
 void setAfter(String strAfter)
           
 void setBefore(String strBefore)
           
 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

TextWrapperMacro

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

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.