info.informatica.doc.style.css.property
Class ColorIdentifiers

java.lang.Object
  extended by info.informatica.doc.style.css.property.ColorIdentifiers

public class ColorIdentifiers
extends Object

CSS Color identifiers map.


Constructor Summary
ColorIdentifiers()
           
 
Method Summary
 String getColor(String keyword)
          Gets the color associated to the given keyword.
static ColorIdentifiers getInstance()
          Gets the instance of this class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorIdentifiers

public ColorIdentifiers()
Method Detail

getInstance

public static ColorIdentifiers getInstance()
Gets the instance of this class.

Returns:
the singleton instance of this class.

getColor

public String getColor(String keyword)
Gets the color associated to the given keyword.

Parameters:
keyword - the color keyword (orange, blue, etc.)
Returns:
the corresponding #-starting hex color specification.