Class ColorParser

java.lang.Object
org.apache.uima.tools.stylemap.ColorParser

public class ColorParser extends Object
The Class ColorParser.
  • Field Details

    • colorNameMap

      private HashMap colorNameMap
      The color name map.
  • Constructor Details

    • ColorParser

      public ColorParser()
      Instantiates a new color parser.
  • Method Details

    • initializeColorNameMap

      private void initializeColorNameMap()
      Initialize color name map.
    • getColorNameMap

      public HashMap 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 name
      featureValue - the feature value
      labelString - the label string
      styleColor - the style color
      Returns:
      the style map entry
    • parseChecked

      private void parseChecked(StringTokenizer token, StyleMapEntry sme)
      Parses the checked.
      Parameters:
      token - the token
      sme - the sme
    • parseHidden

      private void parseHidden(StringTokenizer token, StyleMapEntry sme)
      Parses the hidden.
      Parameters:
      token - the token
      sme - the sme