Class ColorParser
- java.lang.Object
-
- net.sourceforge.plantuml.klimt.color.ColorParser
-
public class ColorParser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegexLeafexp1()static RegexLeafexp2()static RegexLeafexp3()static RegexLeafexp4()static RegexLeafexp6()static RegexLeafexp7()ColorsgetColor(RegexResult arg, HColorSet set)RegexLeafgetRegex()static ColorParsermandatoryColor(ColorType mainType)static ColorParsersimpleColor(java.lang.String optPrefix, ColorType mainType)static ColorParsersimpleColor(ColorType mainType)static ColorParsersimpleColor(ColorType mainType, java.lang.String id)
-
-
-
Method Detail
-
getColor
public Colors getColor(RegexResult arg, HColorSet set) throws NoSuchColorException
- Throws:
NoSuchColorException
-
simpleColor
public static ColorParser simpleColor(ColorType mainType)
-
simpleColor
public static ColorParser simpleColor(ColorType mainType, java.lang.String id)
-
mandatoryColor
public static ColorParser mandatoryColor(ColorType mainType)
-
simpleColor
public static ColorParser simpleColor(java.lang.String optPrefix, ColorType mainType)
-
exp1
public static RegexLeaf exp1()
-
exp2
public static RegexLeaf exp2()
-
exp3
public static RegexLeaf exp3()
-
exp4
public static RegexLeaf exp4()
-
exp6
public static RegexLeaf exp6()
-
exp7
public static RegexLeaf exp7()
-
getRegex
public RegexLeaf getRegex()
-
-