Class TextWrapperMacro

  • All Implemented Interfaces:
    WikiMacro

    public class TextWrapperMacro
    extends Object
    implements WikiMacro
    Text Wrapper Macro
    • 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