|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.osbcp.cssparser.PropertyValue
public final class PropertyValue
Represents a property and its value of a CSS rule.
Constructor Summary | |
---|---|
PropertyValue(java.lang.String property,
java.lang.String value)
Creates a new PropertyValue based on a property and its value. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getProperty()
Returns the property. |
java.lang.String |
getValue()
Returns the value. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyValue(java.lang.String property, java.lang.String value)
property
- The CSS property (such as 'width' or 'color').value
- The value of the property (such as '100px' or 'red').Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getProperty()
public java.lang.String getValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |