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.SelectorListselectorListThe selector list.protected StyleDeclarationstyleDeclarationThe style declaration.static shortTYPEThe 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.SelectorListgetSelectorList()Returns the selector list.StyleDeclarationgetStyleDeclaration()Returns the style declaration.shortgetType()Returns a constant identifying the rule type.voidsetSelectorList(org.w3c.css.sac.SelectorList sl)Sets the selector list.voidsetStyleDeclaration(StyleDeclaration sd)Sets the style map.java.lang.StringtoString(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.
-
-