Package org.apache.uima.tools.stylemap
Class ColorParser
java.lang.Object
org.apache.uima.tools.stylemap.ColorParser
The Class ColorParser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the color name map.parseAndAssignColors(String typeName, String featureValue, String labelString, String styleColor) Parses the and assign colors.
-
Constructor Details
-
ColorParser
public ColorParser()Instantiates a new color parser.
-
-
Method Details
-
getColorNameMap
Gets the color name map.- Returns:
- the color name map
-
parseAndAssignColors
public StyleMapEntry parseAndAssignColors(String typeName, String featureValue, String labelString, String styleColor) Parses the and assign colors.- Parameters:
typeName- the type namefeatureValue- the feature valuelabelString- the label stringstyleColor- the style color- Returns:
- the style map entry
-