Class TextFormatMacro

  • All Implemented Interfaces:
    WikiMacro

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