public class CssRuleSet extends CssStatement
Constructor and Description |
---|
CssRuleSet(ICssSelector selector, List<CssDeclaration> declarations)
Creates a new CssRuleSet .
|
Modifier and Type | Method and Description |
---|---|
List<CssRuleSet> |
getCssRuleSets(INode element, MediaDeviceDescription deviceDescription)
Gets a list of CssRuleSet objects.
|
List<CssDeclaration> |
getImportantDeclarations()
Gets the important CSS declarations.
|
List<CssDeclaration> |
getNormalDeclarations()
Gets the normal CSS declarations.
|
ICssSelector |
getSelector()
Gets the CSS selector.
|
String |
toString() |
public CssRuleSet(ICssSelector selector, List<CssDeclaration> declarations)
CssRuleSet
.
selector
- the CSS selector
declarations
- the CSS declarations
public List<CssRuleSet> getCssRuleSets(INode element, MediaDeviceDescription deviceDescription)
CssStatement
CssRuleSet
objects.
getCssRuleSets
in class CssStatement
element
- a node
deviceDescription
- a media device description
public ICssSelector getSelector()
public List<CssDeclaration> getNormalDeclarations()
public List<CssDeclaration> getImportantDeclarations()
Copyright © 1998–2019 iText Group NV. All rights reserved.