public class CssValue extends CssBase<CssStyleDeclaration> implements org.w3c.dom.css.CSSValue
CssBase.CharacterStateCSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST| Constructor and Description |
|---|
CssValue()
Creates new instance.
|
CssValue(CssStyleDeclaration parent)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
consumeCssText(String cssText)
Will be called when the given cssText should be consumed by this element.
|
String
|
createCssText()
Creates the cssText for this element, this should be based upon the current status of the element.
|
short |
getCssValueType() |
Enumerations.CssValueLengthType |
getLengthType()
Returns the
lengthType. |
String
|
getValue()
Returns the
value. |
filterCommentAndString,
getCssText, getIsModifiable, getParent, setCssText, setNeedsUpdateCssTextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCssText, setCssTextpublic CssValue()
public CssValue(CssStyleDeclaration parent)
parent - the parent of the elementpublic Enumerations.CssValueLengthType getLengthType()
lengthType.lengthTypepublic void consumeCssText(String cssText) throws DOMException
consumeCssText in class CssBase<CssStyleDeclaration>cssText - the cssText to be consumedDOMException - if an error during consumption occurs
public String createCssText()
CssBasecreateCssText in class CssBase<CssStyleDeclaration>public short getCssValueType()
getCssValueType in interface org.w3c.dom.css.CSSValueCopyright © 2015 Saxonia Systems AG. All rights reserved.