Package org.xhtmlrenderer.css.parser
Class PropertyValue
java.lang.Object
org.xhtmlrenderer.css.parser.PropertyValue
- All Implemented Interfaces:
org.w3c.dom.css.CSSPrimitiveValue
,org.w3c.dom.css.CSSValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final short
static final short
static final short
static final short
static final short
static final short
static final short
Fields inherited from interface org.w3c.dom.css.CSSPrimitiveValue
CSS_ATTR, CSS_CM, CSS_COUNTER, CSS_DEG, CSS_DIMENSION, CSS_EMS, CSS_EXS, CSS_GRAD, CSS_HZ, CSS_IDENT, CSS_IN, CSS_KHZ, CSS_MM, CSS_MS, CSS_NUMBER, CSS_PC, CSS_PERCENTAGE, CSS_PT, CSS_PX, CSS_RAD, CSS_RECT, CSS_RGBCOLOR, CSS_S, CSS_STRING, CSS_UNKNOWN, CSS_URI
Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyValue
(short type, float floatValue, String cssText) PropertyValue
(short type, String stringValue, String cssText) PropertyValue
(List values) PropertyValue
(IdentValue ident) PropertyValue
(FSColor color) PropertyValue
(FSFunction function) -
Method Summary
Modifier and TypeMethodDescriptionorg.w3c.dom.css.Counter
short
float
float
getFloatValue
(short unitType) short
short
org.w3c.dom.css.Rect
org.w3c.dom.css.RGBColor
String[]
void
setCssText
(String cssText) void
setFloatValue
(short unitType, float floatValue) void
setIdentValue
(IdentValue identValue) void
setOperator
(Token operator) void
setStringArrayValue
(String[] stringArrayValue) void
setStringValue
(short stringType, String stringValue) toString()
-
Field Details
-
VALUE_TYPE_NUMBER
public static final short VALUE_TYPE_NUMBER- See Also:
-
VALUE_TYPE_LENGTH
public static final short VALUE_TYPE_LENGTH- See Also:
-
VALUE_TYPE_COLOR
public static final short VALUE_TYPE_COLOR- See Also:
-
VALUE_TYPE_IDENT
public static final short VALUE_TYPE_IDENT- See Also:
-
VALUE_TYPE_STRING
public static final short VALUE_TYPE_STRING- See Also:
-
VALUE_TYPE_LIST
public static final short VALUE_TYPE_LIST- See Also:
-
VALUE_TYPE_FUNCTION
public static final short VALUE_TYPE_FUNCTION- See Also:
-
-
Constructor Details
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
PropertyValue
-
-
Method Details
-
getCounterValue
- Specified by:
getCounterValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
getFloatValue
- Specified by:
getFloatValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
getFloatValue
public float getFloatValue() -
getPrimitiveType
public short getPrimitiveType()- Specified by:
getPrimitiveType
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
-
getRGBColorValue
- Specified by:
getRGBColorValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
getRectValue
- Specified by:
getRectValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
getStringValue
- Specified by:
getStringValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
setFloatValue
- Specified by:
setFloatValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
setStringValue
- Specified by:
setStringValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
getCssText
- Specified by:
getCssText
in interfaceorg.w3c.dom.css.CSSValue
-
getCssValueType
public short getCssValueType()- Specified by:
getCssValueType
in interfaceorg.w3c.dom.css.CSSValue
-
setCssText
- Specified by:
setCssText
in interfaceorg.w3c.dom.css.CSSValue
- Throws:
DOMException
-
getFSColor
-
getIdentValue
-
setIdentValue
-
getPropertyValueType
public short getPropertyValueType() -
getOperator
-
setOperator
-
getStringArrayValue
-
setStringArrayValue
-
toString
-
getValues
-
getFunction
-
getFingerprint
-