java.lang.Object
io.sf.carte.doc.style.css.property.StyleValue
io.sf.carte.doc.style.css.property.KeywordValue
io.sf.carte.doc.style.css.property.RevertValue
- All Implemented Interfaces:
CSSValue
,CSSValueItem
,ValueItem
,Serializable
,Cloneable
A
revert
value.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.sf.carte.doc.style.css.CSSValue
CSSValue.CssType, CSSValue.Type
-
Constructor Summary
ModifierConstructorDescriptionprotected
Must access instance through static method. -
Method Summary
Modifier and TypeMethodDescriptionGet a string representation of the current value.Gets the StyleValue associated to this item.Get the primitive type.static RevertValue
getValue()
void
writeCssText
(SimpleWriter wri) Serialize this value to aSimpleWriter
.Methods inherited from class io.sf.carte.doc.style.css.property.KeywordValue
asSubproperty, clone, equals, getCssValueType, getNextLexicalUnit, handleSyntaxWarnings, hashCode, hasWarnings, setCssText
Methods inherited from class io.sf.carte.doc.style.css.property.StyleValue
getMinifiedCssText, isSubproperty, isSystemDefault, matches, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.sf.carte.doc.style.css.CSSValue
getMinifiedCssText, isPrimitiveValue
-
Constructor Details
-
RevertValue
protected RevertValue()Must access instance through static method.
-
-
Method Details
-
getValue
-
getPrimitiveType
Description copied from interface:CSSValue
Get the primitive type.- Returns:
- the primitive type.
-
getCssText
Description copied from class:StyleValue
Get a string representation of the current value.- Specified by:
getCssText
in interfaceCSSValue
- Specified by:
getCssText
in classStyleValue
- Returns:
- the css text representing the value of this property.
-
writeCssText
Description copied from interface:CSSValue
Serialize this value to aSimpleWriter
.- Parameters:
wri
- the SimpleWriter.- Throws:
IOException
- if an error happened while writing.
-
getCSSValue
Description copied from interface:ValueItem
Gets the StyleValue associated to this item.If there is an item there must be a value, so this method cannot return null.
- Returns:
- the StyleValue associated to this item.
-