public class DomCssValueAdaptor
extends java.lang.Object
implements 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| Constructor and Description |
|---|
DomCssValueAdaptor(com.openhtmltopdf.css.parser.PropertyValue val) |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.css.Counter |
getCounterValue() |
java.lang.String |
getCssText() |
short |
getCssValueType() |
float |
getFloatValue(short unitType) |
short |
getPrimitiveType() |
org.w3c.dom.css.Rect |
getRectValue() |
org.w3c.dom.css.RGBColor |
getRGBColorValue() |
java.lang.String |
getStringValue() |
void |
setCssText(java.lang.String cssText) |
void |
setFloatValue(short unitType,
float floatValue) |
void |
setStringValue(short stringType,
java.lang.String stringValue) |
public DomCssValueAdaptor(com.openhtmltopdf.css.parser.PropertyValue val)
public java.lang.String getCssText()
getCssText in interface org.w3c.dom.css.CSSValuepublic void setCssText(java.lang.String cssText)
throws org.w3c.dom.DOMException
setCssText in interface org.w3c.dom.css.CSSValueorg.w3c.dom.DOMExceptionpublic short getCssValueType()
getCssValueType in interface org.w3c.dom.css.CSSValuepublic short getPrimitiveType()
getPrimitiveType in interface org.w3c.dom.css.CSSPrimitiveValuepublic void setFloatValue(short unitType,
float floatValue)
throws org.w3c.dom.DOMException
setFloatValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionpublic float getFloatValue(short unitType)
throws org.w3c.dom.DOMException
getFloatValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionpublic void setStringValue(short stringType,
java.lang.String stringValue)
throws org.w3c.dom.DOMException
setStringValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionpublic java.lang.String getStringValue()
throws org.w3c.dom.DOMException
getStringValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionpublic org.w3c.dom.css.Counter getCounterValue()
throws org.w3c.dom.DOMException
getCounterValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionpublic org.w3c.dom.css.Rect getRectValue()
throws org.w3c.dom.DOMException
getRectValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionpublic org.w3c.dom.css.RGBColor getRGBColorValue()
throws org.w3c.dom.DOMException
getRGBColorValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionCopyright © 2013–2021. All rights reserved.