- All Known Subinterfaces:
CSSAttrValue
,CSSCountersValue
,CSSCounterValue
,CSSCustomPropertyValue
,CSSEnvVariableValue
,CSSExpressionValue
,CSSFunctionValue
,CSSGradientValue
,CSSRatioValue
,CSSShorthandValue
,CSSUnicodeRangeValue
,CSSUnicodeRangeValue.CSSUnicodeValue
,ExtendedCSSPrimitiveValue
,ExtendedCSSValueList<E>
- All Known Implementing Classes:
AttrValue
,CalcValue
,ColorValue
,CustomPropertyValue
,EnvVariableValue
,ExpressionValue
,FunctionValue
,GradientValue
,IdentifierValue
,InheritValue
,LinkedCSSValueList
,NumberValue
,PercentageValue
,PrimitiveValue
,RatioValue
,StringValue
,StyleValue
,SystemDefaultValue
,UnicodeRangeValue
,UnicodeValue
,UnicodeWildcardValue
,UnknownValue
,URIValue
,URIValueWrapper
,ValueList
Extends the CSSValue interface to provide a couple serialization methods, and
extend
Cloneable
.-
Field Summary
Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this value.getMinifiedCssText
(String propertyName) Gives a minified version of the css text of the property, for the given property name.void
writeCssText
(SimpleWriter wri) Serialize this value to aSimpleWriter
.Methods inherited from interface org.w3c.dom.css.CSSValue
getCssText, getCssValueType, setCssText
-
Method Details
-
clone
ExtendedCSSValue clone()Creates and returns a copy of this value.- Returns:
- a clone of this value.
-
getMinifiedCssText
Gives a minified version of the css text of the property, for the given property name.- Parameters:
propertyName
- the property name.- Returns:
- the minified css text.
-
writeCssText
Serialize this value to aSimpleWriter
.- Parameters:
wri
- the SimpleWriter.- Throws:
IOException
- if an error happened while writing.
-