All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.css.values.CssString
java.lang.Object
|
+----org.w3c.css.values.CssValue
|
+----org.w3c.css.values.CssString
- public class CssString
- extends CssValue
A CSS string.
-
CssString()
- Create a new CssString
-
CssString(String)
- Create a new CssString
-
equals(Object)
- Compares two values for equality.
-
get()
- Returns the string
-
hashCode()
- Get the hash code of the internal string.
-
set(String, Frame)
- Set the value of this string.
-
toString()
- Returns a string representation of the object.
CssString
public CssString()
- Create a new CssString
CssString
public CssString(String s)
- Create a new CssString
set
public void set(String s,
Frame frame) throws InvalidParamException
- Set the value of this string.
- Parameters:
- s - the string representation of the string.
- frame - For errors and warnings reports.
- Throws: InvalidParamException
- The unit is incorrect
- Overrides:
- set in class CssValue
get
public Object get()
- Returns the string
- Overrides:
- get in class CssValue
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object
hashCode
public int hashCode()
- Get the hash code of the internal string.
- Overrides:
- hashCode in class Object
equals
public boolean equals(Object value)
- Compares two values for equality.
- Parameters:
- value - The other value.
- Overrides:
- equals in class CssValue
All Packages Class Hierarchy This Package Previous Next Index