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 shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortFields 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_URIFields 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.CountershortfloatfloatgetFloatValue(short unitType) shortshortorg.w3c.dom.css.Rectorg.w3c.dom.css.RGBColorString[]<T> List<T>voidsetCssText(String cssText) voidsetFloatValue(short unitType, float floatValue) voidsetIdentValue(IdentValue identValue) voidsetOperator(Token operator) voidsetStringArrayValue(String[] stringArrayValue) voidsetStringValue(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:
getCounterValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
getFloatValue
- Specified by:
getFloatValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
getFloatValue
public float getFloatValue() -
getPrimitiveType
public short getPrimitiveType()- Specified by:
getPrimitiveTypein interfaceorg.w3c.dom.css.CSSPrimitiveValue
-
getRGBColorValue
- Specified by:
getRGBColorValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
getRectValue
- Specified by:
getRectValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
getStringValue
- Specified by:
getStringValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
setFloatValue
- Specified by:
setFloatValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
setStringValue
- Specified by:
setStringValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
getCssText
- Specified by:
getCssTextin interfaceorg.w3c.dom.css.CSSValue
-
getCssValueType
public short getCssValueType()- Specified by:
getCssValueTypein interfaceorg.w3c.dom.css.CSSValue
-
setCssText
- Specified by:
setCssTextin interfaceorg.w3c.dom.css.CSSValue- Throws:
DOMException
-
getFSColor
-
getIdentValue
-
setIdentValue
-
getPropertyValueType
public short getPropertyValueType() -
getOperator
-
setOperator
-
getStringArrayValue
-
setStringArrayValue
-
toString
-
getValues
-
getFunction
-
getFingerprint
-