Package com.openhtmltopdf.css.sheet
Class Ruleset
java.lang.Object
com.openhtmltopdf.css.sheet.Ruleset
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List
<InvalidPropertyDeclaration> private final int
private final List
<PropertyDeclaration> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllProperties
(List<PropertyDeclaration> props) void
addFSSelector
(Selector selector) void
addInvalidProperty
(InvalidPropertyDeclaration invalidPropertyDeclaration) void
int
Returns an Iterator of PropertyDeclarations pulled from this CSSStyleRule.void
toCSS
(StringBuilder sb)
-
Field Details
-
_origin
private final int _origin -
_props
-
_fsSelectors
-
_invalidProperties
-
-
Constructor Details
-
Ruleset
public Ruleset(int orig)
-
-
Method Details
-
getPropertyDeclarations
Returns an Iterator of PropertyDeclarations pulled from this CSSStyleRule.- Returns:
- The propertyDeclarations value
-
addProperty
-
addAllProperties
-
addFSSelector
-
getFSSelectors
-
getOrigin
public int getOrigin() -
toCSS
-
addInvalidProperty
-
getInvalidPropertyDeclarations
-