@Deprecated public class CssRule extends Object
Constructor and Description |
---|
CssRule(String selector,
boolean deep)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CssRule |
create(String selector)
Deprecated.
|
String |
getProperty(String propertyName)
Deprecated.
Returns a specific property value from this CSS rule.
|
String |
getSelector()
Deprecated.
|
void |
setProperty(String propertyName,
String propertyValue)
Deprecated.
Sets a specific property value for this CSS rule.
|
public CssRule(String selector, boolean deep)
selector
- the CSS selector to search for in the stylesheetsdeep
- should the search follow any @import statements?public String getProperty(String propertyName)
propertyName
- camelCase CSS property namepublic void setProperty(String propertyName, String propertyValue)
propertyName
- camelCase CSS property namepropertyValue
- the value of the property as a Stringpublic String getSelector()
Copyright © 2015 Magnolia International Ltd.. All rights reserved.