public class CssDeclarationImpl extends java.lang.Object implements CssDeclaration
Constructor and Description |
---|
CssDeclarationImpl(java.lang.String property,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProperty()
Get the css property of this declaration
|
java.lang.String |
getValue()
Get the value of this declaration
|
void |
setProperty(java.lang.String property)
Set the css property of the declaration
|
void |
setValue(java.lang.String value)
Set the value of this declaration
|
java.lang.String |
toCss()
Get a String representation of the declaration
|
public CssDeclarationImpl(java.lang.String property, java.lang.String value)
public java.lang.String getProperty()
CssDeclaration
getProperty
in interface CssDeclaration
public void setProperty(java.lang.String property)
CssDeclaration
setProperty
in interface CssDeclaration
public java.lang.String getValue()
CssDeclaration
getValue
in interface CssDeclaration
public void setValue(java.lang.String value)
CssDeclaration
setValue
in interface CssDeclaration
public java.lang.String toCss()
CssDeclaration
toCss
in interface CssDeclaration