|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.css.engine.value.AbstractValue
public abstract class AbstractValue
This class provides an abstract implementation of the Value interface.
Constructor Summary | |
---|---|
AbstractValue()
|
Method Summary | |
---|---|
protected org.w3c.dom.DOMException |
createDOMException()
Creates an INVALID_ACCESS_ERR exception. |
Value |
getBlue()
Implements Value.getBlue() . |
Value |
getBottom()
Implements Value.getBottom() . |
short |
getCssValueType()
Implements Value.getCssValueType() . |
float |
getFloatValue()
Implements Value.getFloatValue() . |
Value |
getGreen()
Implements Value.getGreen() . |
java.lang.String |
getIdentifier()
Implements Value.getIdentifier() . |
Value |
getLeft()
Implements Value.getLeft() . |
int |
getLength()
Implements Value.getLength() . |
java.lang.String |
getListStyle()
Implements Value.getListStyle() . |
short |
getPrimitiveType()
Implements Value.getPrimitiveType() . |
Value |
getRed()
Implements Value.getRed() . |
Value |
getRight()
Implements Value.getRight() . |
java.lang.String |
getSeparator()
Implements Value.getSeparator() . |
java.lang.String |
getStringValue()
Implements Value.getStringValue() . |
Value |
getTop()
Implements Value.getTop() . |
Value |
item(int index)
Implements Value.item(int) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.batik.css.engine.value.Value |
---|
getCssText |
Constructor Detail |
---|
public AbstractValue()
Method Detail |
---|
public short getCssValueType()
Value.getCssValueType()
.
getCssValueType
in interface Value
public short getPrimitiveType()
Value.getPrimitiveType()
.
getPrimitiveType
in interface Value
public float getFloatValue() throws org.w3c.dom.DOMException
Value.getFloatValue()
.
getFloatValue
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a float
value.public java.lang.String getStringValue() throws org.w3c.dom.DOMException
Value.getStringValue()
.
getStringValue
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a string
value.public Value getRed() throws org.w3c.dom.DOMException
Value.getRed()
.
getRed
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB
color value.public Value getGreen() throws org.w3c.dom.DOMException
Value.getGreen()
.
getGreen
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB
color value.public Value getBlue() throws org.w3c.dom.DOMException
Value.getBlue()
.
getBlue
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB
color value.public int getLength() throws org.w3c.dom.DOMException
Value.getLength()
.
getLength
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a list
value.public Value item(int index) throws org.w3c.dom.DOMException
Value.item(int)
.
item
in interface Value
index
position in the
list, or null
if that is not a valid index.
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a list
value.public Value getTop() throws org.w3c.dom.DOMException
Value.getTop()
.
getTop
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getRight() throws org.w3c.dom.DOMException
Value.getRight()
.
getRight
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getBottom() throws org.w3c.dom.DOMException
Value.getBottom()
.
getBottom
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getLeft() throws org.w3c.dom.DOMException
Value.getLeft()
.
getLeft
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public java.lang.String getIdentifier() throws org.w3c.dom.DOMException
Value.getIdentifier()
.
getIdentifier
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter
value.public java.lang.String getListStyle() throws org.w3c.dom.DOMException
Value.getListStyle()
.
getListStyle
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter
value.public java.lang.String getSeparator() throws org.w3c.dom.DOMException
Value.getSeparator()
.
getSeparator
in interface Value
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter
value.protected org.w3c.dom.DOMException createDOMException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |