Class UnicodeRangeValue
java.lang.Object
io.sf.carte.doc.style.css.property.StyleValue
io.sf.carte.doc.style.css.property.PrimitiveValue
io.sf.carte.doc.style.css.property.TypedValue
io.sf.carte.doc.style.css.property.UnicodeRangeValue
- All Implemented Interfaces:
CSSPrimitiveValue
,CSSTypedValue
,CSSUnicodeRangeValue
,CSSValue
,Serializable
,Cloneable
Unicode range value.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.sf.carte.doc.style.css.CSSUnicodeRangeValue
CSSUnicodeRangeValue.CSSUnicodeValue
Nested classes/interfaces inherited from interface io.sf.carte.doc.style.css.CSSValue
CSSValue.CssType, CSSValue.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.boolean
Get a string representation of the current value.Get the end of this unicode range.getValue()
Get the beginning of this unicode range.int
hashCode()
void
writeCssText
(io.sf.carte.util.SimpleWriter wri) Serialize this value to aSimpleWriter
.Methods inherited from class io.sf.carte.doc.style.css.property.TypedValue
getComponent, getCssValueType, getFloatValue, getStringValue, isCalculatedNumber, isNumberZero, setComponent, setFloatValue, setStringValue, toRGBColor
Methods inherited from class io.sf.carte.doc.style.css.property.PrimitiveValue
getPrimitiveType, isPrimitiveValue, isSubproperty, setExpectInteger, setSubproperty
Methods inherited from class io.sf.carte.doc.style.css.property.StyleValue
getMinifiedCssText, isSystemDefault, matches, setCssText, 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.CSSPrimitiveValue
getUnitType, isNegativeNumber, setExpectInteger
Methods inherited from interface io.sf.carte.doc.style.css.CSSTypedValue
getFloatValue, getStringValue, isCalculatedNumber, isNumberZero, setFloatValue, setStringValue, toRGBColor, toRGBColorValue
Methods inherited from interface io.sf.carte.doc.style.css.CSSValue
getCssValueType, getMinifiedCssText, getPrimitiveType, matches, setCssText
-
Constructor Details
-
UnicodeRangeValue
-
-
Method Details
-
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
.- Specified by:
writeCssText
in interfaceCSSValue
- Parameters:
wri
- the SimpleWriter.- Throws:
IOException
- if an error happened while writing.
-
getValue
Description copied from interface:CSSUnicodeRangeValue
Get the beginning of this unicode range.The value can be an integer or a wildcard value.
- Specified by:
getValue
in interfaceCSSUnicodeRangeValue
- Returns:
- the value.
-
getEndValue
Description copied from interface:CSSUnicodeRangeValue
Get the end of this unicode range.- Specified by:
getEndValue
in interfaceCSSUnicodeRangeValue
- Returns:
- the range end value, or null if a single unicode value was specified.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPrimitiveValue
-
equals
- Overrides:
equals
in classPrimitiveValue
-
clone
Description copied from class:TypedValue
Creates and returns a copy of this object.The object will be the same except for the
subproperty
flag, that will be disabled in the clone object.- Specified by:
clone
in interfaceCSSUnicodeRangeValue
- Specified by:
clone
in interfaceCSSValue
- Specified by:
clone
in classTypedValue
- Returns:
- a copy of this object.
-