Class AbstractValue
java.lang.Object
org.apache.batik.css.engine.value.AbstractValue
- All Implemented Interfaces:
Value
- Direct Known Subclasses:
AbstractCIEColor, DeviceColor, FloatValue, ICCColor, ICCNamedColor, InheritValue, ListValue, RectValue, RGBColorValue, StringValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DOMExceptionCreates an INVALID_ACCESS_ERR exception.getBlue()ImplementsValue.getBlue().ImplementsValue.getBottom().shortImplementsValue.getCssValueType().floatImplementsValue.getFloatValue().getGreen()ImplementsValue.getGreen().ImplementsValue.getIdentifier().getLeft()ImplementsValue.getLeft().intImplementsValue.getLength().ImplementsValue.getListStyle().shortImplementsValue.getPrimitiveType().getRed()ImplementsValue.getRed().getRight()ImplementsValue.getRight().ImplementsValue.getSeparator().ImplementsValue.getStringValue().getTop()ImplementsValue.getTop().item(int index) ImplementsValue.item(int).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Value
getCssText
-
Constructor Details
-
AbstractValue
public AbstractValue()
-
-
Method Details
-
getCssValueType
public short getCssValueType()ImplementsValue.getCssValueType().- Specified by:
getCssValueTypein interfaceValue
-
getPrimitiveType
public short getPrimitiveType()ImplementsValue.getPrimitiveType().- Specified by:
getPrimitiveTypein interfaceValue
-
getFloatValue
ImplementsValue.getFloatValue().- Specified by:
getFloatValuein interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a float value.
-
getStringValue
ImplementsValue.getStringValue().- Specified by:
getStringValuein interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a string value.
-
getRed
ImplementsValue.getRed().- Specified by:
getRedin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
-
getGreen
ImplementsValue.getGreen().- Specified by:
getGreenin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
-
getBlue
ImplementsValue.getBlue().- Specified by:
getBluein interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
-
getLength
ImplementsValue.getLength().- Specified by:
getLengthin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a list value.
-
item
ImplementsValue.item(int).- Specified by:
itemin interfaceValue- Returns:
- The style rule at the
indexposition in the list, ornullif that is not a valid index. - Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a list value.
-
getTop
ImplementsValue.getTop().- Specified by:
getTopin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getRight
ImplementsValue.getRight().- Specified by:
getRightin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getBottom
ImplementsValue.getBottom().- Specified by:
getBottomin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getLeft
ImplementsValue.getLeft().- Specified by:
getLeftin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getIdentifier
ImplementsValue.getIdentifier().- Specified by:
getIdentifierin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
getListStyle
ImplementsValue.getListStyle().- Specified by:
getListStylein interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
getSeparator
ImplementsValue.getSeparator().- Specified by:
getSeparatorin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
createDOMException
Creates an INVALID_ACCESS_ERR exception.
-