org.apache.batik.css.engine.value
public class StringValue extends AbstractValue
| Field Summary | |
|---|---|
| protected short | unitType
The unit type |
| protected String | value
The value of the string |
| Constructor Summary | |
|---|---|
| StringValue(short type, String s)
Creates a new StringValue. | |
| Method Summary | |
|---|---|
| boolean | equals(Object obj)
Indicates whether some other object is "equal to" this one. |
| static String | getCssText(short type, String value)
Returns the CSS text associated with the given type/value pair. |
| String | getCssText()
A string representation of the current value. |
| short | getPrimitiveType()
The type of the value. |
| String | getStringValue()
This method is used to get the string value. |
| String | toString()
Returns a printable representation of this value. |
Parameters: obj the reference object with which to compare.
Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a string value.