Class CssPropertyMerger
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.CssPropertyMerger
Utilities class to merge CSS properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
mergeTextDecoration
(String firstValue, String secondValue) Merges text decoration.normalizeTextDecoration
(String value) Normalizes text decoration values.
-
Constructor Details
-
CssPropertyMerger
private CssPropertyMerger()Creates a newCssPropertyMerger
class.
-
-
Method Details
-
mergeTextDecoration
Merges text decoration.- Parameters:
firstValue
- the first valuesecondValue
- the second value- Returns:
- the merged value
-
normalizeTextDecoration
Normalizes text decoration values.- Parameters:
value
- the text decoration value- Returns:
- a set of normalized decoration values
-