Package org.apache.batik.css.engine
Class StyleRule
- java.lang.Object
-
- org.apache.batik.css.engine.StyleRule
-
-
Field Summary
Fields Modifier and Type Field Description protected org.w3c.css.sac.SelectorList
selectorList
The selector list.protected StyleDeclaration
styleDeclaration
The style declaration.static short
TYPE
The type constant.
-
Constructor Summary
Constructors Constructor Description StyleRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.css.sac.SelectorList
getSelectorList()
Returns the selector list.StyleDeclaration
getStyleDeclaration()
Returns the style declaration.short
getType()
Returns a constant identifying the rule type.void
setSelectorList(org.w3c.css.sac.SelectorList sl)
Sets the selector list.void
setStyleDeclaration(StyleDeclaration sd)
Sets the style map.java.lang.String
toString(CSSEngine eng)
Returns a printable representation of this style rule.
-
-
-
Field Detail
-
TYPE
public static final short TYPE
The type constant.- See Also:
- Constant Field Values
-
selectorList
protected org.w3c.css.sac.SelectorList selectorList
The selector list.
-
styleDeclaration
protected StyleDeclaration styleDeclaration
The style declaration.
-
-
Method Detail
-
getType
public short getType()
Returns a constant identifying the rule type.
-
setSelectorList
public void setSelectorList(org.w3c.css.sac.SelectorList sl)
Sets the selector list.
-
getSelectorList
public org.w3c.css.sac.SelectorList getSelectorList()
Returns the selector list.
-
setStyleDeclaration
public void setStyleDeclaration(StyleDeclaration sd)
Sets the style map.
-
getStyleDeclaration
public StyleDeclaration getStyleDeclaration()
Returns the style declaration.
-
-