Module io.sf.carte.css4j
Package io.sf.carte.doc.style.css
Interface CSSStyleSheetList<T extends CSSRule>
- All Superinterfaces:
StyleSheetList
- All Known Implementing Classes:
StyleSheetList
List of extended style sheets.
See The
StyleSheetList
Interface.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Accept a declaration rule visitor.void
Accept a descriptor rule visitor.void
acceptStyleRuleVisitor
(Visitor<CSSStyleRule> visitor) Accept a style rule visitor.item
(int index) retrieve aCSSStyleSheet
by ordinal index.Methods inherited from interface org.w3c.dom.stylesheets.StyleSheetList
getLength
-
Method Details
-
item
retrieve aCSSStyleSheet
by ordinal index.- Specified by:
item
in interfaceStyleSheetList
- Parameters:
index
- the index in this list.- Returns:
- the sheet at
index
, ornull
ifindex
is less than zero, or greater or equal to the list length.
-
acceptStyleRuleVisitor
Accept a style rule visitor.This method scans all the sheets in this list for style rules and visits them.
- Parameters:
visitor
- the visitor.
-
acceptDeclarationRuleVisitor
Accept a declaration rule visitor.This method scans all the sheets in this list for declaration rules and visits them.
- Parameters:
visitor
- the visitor.
-
acceptDescriptorRuleVisitor
Accept a descriptor rule visitor.This method scans all the sheets in this list for declaration rules that declare descriptors, and visits them.
- Parameters:
visitor
- the visitor.
-