Package org.apache.batik.css.dom
Class CSSOMValue.AbstractComponent
- java.lang.Object
-
- org.apache.batik.css.dom.CSSOMValue.AbstractComponent
-
- All Implemented Interfaces:
org.w3c.dom.css.CSSPrimitiveValue,org.w3c.dom.css.CSSValue
- Direct Known Subclasses:
CSSOMValue.FloatComponent,CSSOMValue.ListComponent
- Enclosing class:
- CSSOMValue
protected abstract class CSSOMValue.AbstractComponent extends java.lang.Object implements org.w3c.dom.css.CSSPrimitiveValueTo store a component.
-
-
Field Summary
-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractComponent()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.css.CountergetCounterValue()DOM: ImplementsCSSPrimitiveValue.getCounterValue().java.lang.StringgetCssText()DOM: ImplementsCSSValue.getCssText().shortgetCssValueType()DOM: ImplementsCSSValue.getCssValueType().floatgetFloatValue(short unitType)DOM: ImplementsCSSPrimitiveValue.getFloatValue(short).intgetLength()DOM: ImplementsCSSValueList.getLength().shortgetPrimitiveType()DOM: ImplementsCSSPrimitiveValue.getPrimitiveType().org.w3c.dom.css.RectgetRectValue()DOM: ImplementsCSSPrimitiveValue.getRectValue().org.w3c.dom.css.RGBColorgetRGBColorValue()DOM: ImplementsCSSPrimitiveValue.getRGBColorValue().java.lang.StringgetStringValue()DOM: ImplementsCSSPrimitiveValue.getStringValue().protected abstract ValuegetValue()The returns the actual value of this component.org.w3c.dom.css.CSSValueitem(int index)DOM: ImplementsCSSValueList.item(int).
-
-
-
Method Detail
-
getValue
protected abstract Value getValue()
The returns the actual value of this component.
-
getCssText
public java.lang.String getCssText()
DOM: ImplementsCSSValue.getCssText().- Specified by:
getCssTextin interfaceorg.w3c.dom.css.CSSValue
-
getCssValueType
public short getCssValueType()
DOM: ImplementsCSSValue.getCssValueType().- Specified by:
getCssValueTypein interfaceorg.w3c.dom.css.CSSValue
-
getPrimitiveType
public short getPrimitiveType()
DOM: ImplementsCSSPrimitiveValue.getPrimitiveType().- Specified by:
getPrimitiveTypein interfaceorg.w3c.dom.css.CSSPrimitiveValue
-
getFloatValue
public float getFloatValue(short unitType) throws org.w3c.dom.DOMExceptionDOM: ImplementsCSSPrimitiveValue.getFloatValue(short).- Specified by:
getFloatValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
org.w3c.dom.DOMException
-
getStringValue
public java.lang.String getStringValue() throws org.w3c.dom.DOMExceptionDOM: ImplementsCSSPrimitiveValue.getStringValue().- Specified by:
getStringValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
org.w3c.dom.DOMException
-
getCounterValue
public org.w3c.dom.css.Counter getCounterValue() throws org.w3c.dom.DOMExceptionDOM: ImplementsCSSPrimitiveValue.getCounterValue().- Specified by:
getCounterValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
org.w3c.dom.DOMException
-
getRectValue
public org.w3c.dom.css.Rect getRectValue() throws org.w3c.dom.DOMExceptionDOM: ImplementsCSSPrimitiveValue.getRectValue().- Specified by:
getRectValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
org.w3c.dom.DOMException
-
getRGBColorValue
public org.w3c.dom.css.RGBColor getRGBColorValue() throws org.w3c.dom.DOMExceptionDOM: ImplementsCSSPrimitiveValue.getRGBColorValue().- Specified by:
getRGBColorValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
org.w3c.dom.DOMException
-
getLength
public int getLength()
DOM: ImplementsCSSValueList.getLength().
-
item
public org.w3c.dom.css.CSSValue item(int index)
DOM: ImplementsCSSValueList.item(int).
-
-