public class CssStyleSheet extends Object
| Constructor and Description |
|---|
CssStyleSheet()
Creates a new
CssStyleSheet instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatement(CssStatement statement)
Adds a CSS statement to the style sheet.
|
void |
appendCssStyleSheet(CssStyleSheet anotherCssStyleSheet)
Append another CSS style sheet to this one.
|
static Map<String,String> |
extractStylesFromRuleSets(List<CssRuleSet> ruleSets)
Gets the CSS declarations.
|
List<CssDeclaration> |
getCssDeclarations(INode node,
MediaDeviceDescription deviceDescription)
Gets the CSS declarations.
|
List<CssRuleSet> |
getCssRuleSets(INode node,
MediaDeviceDescription deviceDescription)
Gets the CSS rule sets.
|
List<CssStatement> |
getStatements()
Gets the CSS statements of this style sheet.
|
String |
toString() |
public CssStyleSheet()
CssStyleSheet instance.public void addStatement(CssStatement statement)
statement - the CSS statementpublic void appendCssStyleSheet(CssStyleSheet anotherCssStyleSheet)
anotherCssStyleSheet - the other CSS style sheetpublic List<CssStatement> getStatements()
public List<CssDeclaration> getCssDeclarations(INode node, MediaDeviceDescription deviceDescription)
node - the nodedeviceDescription - the media device descriptionpublic static Map<String,String> extractStylesFromRuleSets(List<CssRuleSet> ruleSets)
ruleSets - list of css rule setspublic List<CssRuleSet> getCssRuleSets(INode node, MediaDeviceDescription deviceDescription)
node - the nodedeviceDescription - the device descriptionCopyright © 1998–2023 Apryse Group NV. All rights reserved.