Package com.openhtmltopdf.css.sheet
Class Ruleset
- java.lang.Object
-
- com.openhtmltopdf.css.sheet.Ruleset
-
public class Ruleset extends Object
- Author:
- Torbjoern Gannholm, Patrick Wright
-
-
Constructor Summary
Constructors Constructor Description Ruleset(int orig)
-
Method Summary
Modifier and Type Method Description voidaddAllProperties(List<PropertyDeclaration> props)voidaddFSSelector(Selector selector)voidaddProperty(PropertyDeclaration decl)List<Selector>getFSSelectors()intgetOrigin()List<PropertyDeclaration>getPropertyDeclarations()Returns an Iterator of PropertyDeclarations pulled from this CSSStyleRule.
-
-
-
Method Detail
-
getPropertyDeclarations
public List<PropertyDeclaration> getPropertyDeclarations()
Returns an Iterator of PropertyDeclarations pulled from this CSSStyleRule.- Returns:
- The propertyDeclarations value
-
addProperty
public void addProperty(PropertyDeclaration decl)
-
addAllProperties
public void addAllProperties(List<PropertyDeclaration> props)
-
addFSSelector
public void addFSSelector(Selector selector)
-
getOrigin
public int getOrigin()
-
-