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
public class PropertyValue
- extends Object
- implements org.w3c.dom.css.CSSPrimitiveValue
| 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 |
VALUE_TYPE_NUMBER
public static final short VALUE_TYPE_NUMBER
- See Also:
- Constant Field Values
VALUE_TYPE_LENGTH
public static final short VALUE_TYPE_LENGTH
- See Also:
- Constant Field Values
VALUE_TYPE_COLOR
public static final short VALUE_TYPE_COLOR
- See Also:
- Constant Field Values
VALUE_TYPE_IDENT
public static final short VALUE_TYPE_IDENT
- See Also:
- Constant Field Values
VALUE_TYPE_STRING
public static final short VALUE_TYPE_STRING
- See Also:
- Constant Field Values
VALUE_TYPE_LIST
public static final short VALUE_TYPE_LIST
- See Also:
- Constant Field Values
VALUE_TYPE_FUNCTION
public static final short VALUE_TYPE_FUNCTION
- See Also:
- Constant Field Values
PropertyValue
public PropertyValue(short type,
float floatValue,
String cssText)
PropertyValue
public PropertyValue(FSColor color)
PropertyValue
public PropertyValue(short type,
String stringValue,
String cssText)
PropertyValue
public PropertyValue(IdentValue ident)
PropertyValue
public PropertyValue(List values)
PropertyValue
public PropertyValue(FSFunction function)
getCounterValue
public org.w3c.dom.css.Counter getCounterValue()
throws DOMException
- Specified by:
getCounterValue in interface org.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
getFloatValue
public float getFloatValue(short unitType)
throws DOMException
- Specified by:
getFloatValue in interface org.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
getFloatValue
public float getFloatValue()
getPrimitiveType
public short getPrimitiveType()
- Specified by:
getPrimitiveType in interface org.w3c.dom.css.CSSPrimitiveValue
getRGBColorValue
public org.w3c.dom.css.RGBColor getRGBColorValue()
throws DOMException
- Specified by:
getRGBColorValue in interface org.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
getRectValue
public org.w3c.dom.css.Rect getRectValue()
throws DOMException
- Specified by:
getRectValue in interface org.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
getStringValue
public String getStringValue()
throws DOMException
- Specified by:
getStringValue in interface org.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
setFloatValue
public void setFloatValue(short unitType,
float floatValue)
throws DOMException
- Specified by:
setFloatValue in interface org.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
setStringValue
public void setStringValue(short stringType,
String stringValue)
throws DOMException
- Specified by:
setStringValue in interface org.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
getCssText
public String getCssText()
- Specified by:
getCssText in interface org.w3c.dom.css.CSSValue
getCssValueType
public short getCssValueType()
- Specified by:
getCssValueType in interface org.w3c.dom.css.CSSValue
setCssText
public void setCssText(String cssText)
throws DOMException
- Specified by:
setCssText in interface org.w3c.dom.css.CSSValue
- Throws:
DOMException
getFSColor
public FSColor getFSColor()
getIdentValue
public IdentValue getIdentValue()
setIdentValue
public void setIdentValue(IdentValue identValue)
getPropertyValueType
public short getPropertyValueType()
getOperator
public Token getOperator()
setOperator
public void setOperator(Token operator)
getStringArrayValue
public String[] getStringArrayValue()
setStringArrayValue
public void setStringArrayValue(String[] stringArrayValue)
toString
public String toString()
- Overrides:
toString in class Object
getValues
public List getValues()
getFunction
public FSFunction getFunction()
getFingerprint
public String getFingerprint()
Copyright © 2013. All Rights Reserved.