Class MarkupDisplayConverter.MarkupValue

java.lang.Object
org.eclipse.nebula.widgets.nattable.extension.nebula.richtext.MarkupDisplayConverter.MarkupValue
All Implemented Interfaces:
MarkupProcessor
Enclosing class:
MarkupDisplayConverter

protected class MarkupDisplayConverter.MarkupValue extends Object implements MarkupProcessor
Simple value class to store the original value and the markup replacement.
  • Constructor Details

    • MarkupValue

      protected MarkupValue()
  • Method Details

    • applyMarkup

      public String applyMarkup(String input)
      Description copied from interface: MarkupProcessor
      Takes an input and applies the HTML markup.
      Specified by:
      applyMarkup in interface MarkupProcessor
      Parameters:
      input - The input that should be processed for markup.
      Returns:
      The input with additional markups.
      Since:
      1.1
    • removeMarkup

      public String removeMarkup(String input)
      Description copied from interface: MarkupProcessor
      Takes an input and removes possible markups that where applied by this MarkupProcessor
      Specified by:
      removeMarkup in interface MarkupProcessor
      Parameters:
      input - The input from which the markup should be removed.
      Returns:
      The input value without markups.
      Since:
      1.1