Package org.apache.fop.traits
Class RuleStyle
java.lang.Object
org.apache.fop.traits.TraitEnum
org.apache.fop.traits.RuleStyle
- All Implemented Interfaces:
Serializable
Enumeration class for rule styles.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RuleStyle
rule-style: dashedstatic final RuleStyle
rule-style: dottedstatic final RuleStyle
rule-style: doublestatic final RuleStyle
rule-style: groovestatic final RuleStyle
rule-style: nonestatic final RuleStyle
rule-style: ridgeprivate static final String[]
private static final int[]
private static final long
static final RuleStyle
rule-style: solidprivate static final RuleStyle[]
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.fop.traits.TraitEnum
getEnumValue, getName
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
RULE_STYLE_NAMES
-
RULE_STYLE_VALUES
private static final int[] RULE_STYLE_VALUES -
NONE
rule-style: none -
DOTTED
rule-style: dotted -
DASHED
rule-style: dashed -
SOLID
rule-style: solid -
DOUBLE
rule-style: double -
GROOVE
rule-style: groove -
RIDGE
rule-style: ridge -
STYLES
-
-
Constructor Details
-
RuleStyle
private RuleStyle(int index)
-
-
Method Details
-
valueOf
Returns the enumeration/singleton object based on its name.- Parameters:
name
- the name of the enumeration value- Returns:
- the enumeration object
-
valueOf
Returns the enumeration/singleton object based on its name.- Parameters:
enumValue
- the enumeration value- Returns:
- the enumeration object
-
readResolve
- Throws:
ObjectStreamException
-
toString
-