Class CSS20Attribute.CSSStyleValue
- java.lang.Object
-
- com.adobe.fontengine.inlineformatting.css20.CSS20Attribute.CSSStyleValue
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CSS20Attribute
public static final class CSS20Attribute.CSSStyleValue extends java.lang.Object implements java.io.Serializable
This class provides an enumeration of the possible values for the CSS Style 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.CSSStyleValue
ITALIC
static CSS20Attribute.CSSStyleValue
NORMAL
static CSS20Attribute.CSSStyleValue
OBLIQUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CSS20Attribute.CSSStyleValue
parse(java.lang.String text)
Parse the text and return the CSSStyleValue object which is represented if any.java.lang.String
toString()
-
-
-
Field Detail
-
NORMAL
public static final CSS20Attribute.CSSStyleValue NORMAL
-
OBLIQUE
public static final CSS20Attribute.CSSStyleValue OBLIQUE
-
ITALIC
public static final CSS20Attribute.CSSStyleValue ITALIC
-
-
Method Detail
-
parse
public static CSS20Attribute.CSSStyleValue parse(java.lang.String text)
Parse the text and return the CSSStyleValue object which is represented if any.- Parameters:
text
- textual representation of the style- Returns:
- CSSStyleValue represented by the text value
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-