Package com.openhtmltopdf.css.sheet
Class Ruleset
java.lang.Object
com.openhtmltopdf.css.sheet.Ruleset
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<InvalidPropertyDeclaration> private final intprivate final List<PropertyDeclaration> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllProperties(List<PropertyDeclaration> props) voidaddFSSelector(Selector selector) voidaddInvalidProperty(InvalidPropertyDeclaration invalidPropertyDeclaration) voidintReturns an Iterator of PropertyDeclarations pulled from this CSSStyleRule.voidtoCSS(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
-