Package io.sf.carte.doc.style.css
Interface CSSStyleSheetList<T extends CSSRule>
- All Superinterfaces:
org.w3c.dom.stylesheets.StyleSheetList
- All Known Implementing Classes:
StyleSheetList
public interface CSSStyleSheetList<T extends CSSRule>
extends org.w3c.dom.stylesheets.StyleSheetList
List of extended style sheets.
See The
StyleSheetList Interface.-
Method Summary
Modifier and TypeMethodDescriptionvoidacceptDeclarationRuleVisitor(io.sf.carte.util.Visitor<CSSDeclarationRule> visitor) Accept a declaration rule visitor.voidacceptDescriptorRuleVisitor(io.sf.carte.util.Visitor<CSSDeclarationRule> visitor) Accept a descriptor rule visitor.voidacceptStyleRuleVisitor(io.sf.carte.util.Visitor<CSSStyleRule> visitor) Accept a style rule visitor.item(int index) retrieve aCSSStyleSheetby ordinal index.Methods inherited from interface org.w3c.dom.stylesheets.StyleSheetList
getLength
-
Method Details
-
item
retrieve aCSSStyleSheetby ordinal index.- Specified by:
itemin interfaceorg.w3c.dom.stylesheets.StyleSheetList- Parameters:
index- the index in this list.- Returns:
- the sheet at
index, ornullifindexis 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.
-