Class CSS20Attribute.CSSVariantValue
- java.lang.Object
-
- com.adobe.fontengine.inlineformatting.css20.CSS20Attribute.CSSVariantValue
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CSS20Attribute
public static final class CSS20Attribute.CSSVariantValue extends java.lang.Object implements java.io.Serializable
This class provides an enumeration of the possible values for the CSS Variant attribute.Concurrency
Instances of this class are immutable after construction and contain no mutable static data. Therefore, they are threadsafe.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CSS20Attribute.CSSVariantValue
NORMAL
static CSS20Attribute.CSSVariantValue
SMALL_CAPS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CSS20Attribute.CSSVariantValue
parse(java.lang.String text)
Parse the text and return the CSSVariantValue object which is represented if any.java.lang.String
toString()
-
-
-
Field Detail
-
NORMAL
public static final CSS20Attribute.CSSVariantValue NORMAL
-
SMALL_CAPS
public static final CSS20Attribute.CSSVariantValue SMALL_CAPS
-
-
Method Detail
-
parse
public static CSS20Attribute.CSSVariantValue parse(java.lang.String text)
Parse the text and return the CSSVariantValue object which is represented if any.- Parameters:
text
- textual representation of the variant- Returns:
- CSSVariantValue represented by the text value
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-