Class InitialValue
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.InitialValue
- All Implemented Interfaces:
CSSValue,ValueItem,Serializable,Cloneable
An
initial 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
ConstructorsModifierConstructorDescriptionprotectedMust access instance through static method. -
Method Summary
Modifier and TypeMethodDescriptionGet a string representation of the current value.Gets the CSSValue associated to this item.Get the primitive type.static InitialValuegetValue()voidwriteCssText(io.sf.carte.util.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, setCssTextMethods inherited from class io.sf.carte.doc.style.css.property.StyleValue
getMinifiedCssText, isPrimitiveValue, isSubproperty, isSystemDefault, matches, toString
-
Constructor Details
-
InitialValue
protected InitialValue()Must access instance through static method.
-
-
Method Details
-
getValue
-
getPrimitiveType
Description copied from interface:CSSValueGet the primitive type.- Returns:
- the primitive type.
-
getCssText
Description copied from class:StyleValueGet a string representation of the current value.- Specified by:
getCssTextin interfaceCSSValue- Specified by:
getCssTextin classStyleValue- Returns:
- the css text representing the value of this property.
-
writeCssText
Description copied from interface:CSSValueSerialize this value to aSimpleWriter.- Parameters:
wri- the SimpleWriter.- Throws:
IOException- if an error happened while writing.
-
getCSSValue
Description copied from interface:ValueItemGets the CSSValue associated to this item.If there is an item there must be a value, so this method cannot return null.
- Returns:
- the CSSValue associated to this item.
-