Class StyleRule
java.lang.Object
org.apache.batik.css.engine.StyleRule
- All Implemented Interfaces:
Rule
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.w3c.css.sac.SelectorListThe selector list.protected StyleDeclarationThe style declaration.static final shortThe type constant. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.w3c.css.sac.SelectorListReturns the selector list.Returns the style declaration.shortgetType()Returns a constant identifying the rule type.voidsetSelectorList(org.w3c.css.sac.SelectorList sl) Sets the selector list.voidSets the style map.Returns a printable representation of this style rule.
-
Field Details
-
TYPE
public static final short TYPEThe type constant.- See Also:
-
selectorList
protected org.w3c.css.sac.SelectorList selectorListThe selector list. -
styleDeclaration
The style declaration.
-
-
Constructor Details
-
StyleRule
public StyleRule()
-
-
Method Details
-
getType
-
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
Sets the style map. -
getStyleDeclaration
Returns the style declaration. -
toString
-