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 Summary
Constructors Modifier Constructor Description protected
MarkupValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
applyMarkup(String input)
Takes an input and applies the HTML markup.String
removeMarkup(String input)
Takes an input and removes possible markups that where applied by thisMarkupProcessor
-
-
-
Method Detail
-
applyMarkup
public String applyMarkup(String input)
Description copied from interface:MarkupProcessor
Takes an input and applies the HTML markup.- Specified by:
applyMarkup
in interfaceMarkupProcessor
- 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 thisMarkupProcessor
- Specified by:
removeMarkup
in interfaceMarkupProcessor
- Parameters:
input
- The input from which the markup should be removed.- Returns:
- The input value without markups.
- Since:
- 1.1
-
-