Class CSSStyleSheetListImpl

  • All Implemented Interfaces:
    org.w3c.dom.stylesheets.StyleSheetList

    public class CSSStyleSheetListImpl
    extends java.lang.Object
    implements org.w3c.dom.stylesheets.StyleSheetList
    Implementation of StyleSheetList.
    Version:
    $Id: CSSStyleSheetListImpl.java,v 1.3 2008/03/26 02:17:24 sdanig Exp $
    Author:
    Johannes Koch
    • Constructor Summary

      Constructors 
      Constructor Description
      CSSStyleSheetListImpl()
      Creates a new instance of CSSStyleSheetListImpl
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(org.w3c.dom.css.CSSStyleSheet cssStyleSheet)
      Adds a CSSStyleSheet.
      java.util.List<org.w3c.dom.css.CSSStyleSheet> getCSSStyleSheets()  
      int getLength()  
      org.w3c.dom.stylesheets.StyleSheet item​(int index)  
      org.w3c.dom.stylesheets.StyleSheet merge()
      Merges all StyleSheets in this list into one.
      void setCSSStyleSheets​(java.util.List<org.w3c.dom.css.CSSStyleSheet> cssStyleSheets)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CSSStyleSheetListImpl

        public CSSStyleSheetListImpl()
        Creates a new instance of CSSStyleSheetListImpl
    • Method Detail

      • getCSSStyleSheets

        public java.util.List<org.w3c.dom.css.CSSStyleSheet> getCSSStyleSheets()
      • setCSSStyleSheets

        public void setCSSStyleSheets​(java.util.List<org.w3c.dom.css.CSSStyleSheet> cssStyleSheets)
      • getLength

        public int getLength()
        Specified by:
        getLength in interface org.w3c.dom.stylesheets.StyleSheetList
      • item

        public org.w3c.dom.stylesheets.StyleSheet item​(int index)
        Specified by:
        item in interface org.w3c.dom.stylesheets.StyleSheetList
      • add

        public void add​(org.w3c.dom.css.CSSStyleSheet cssStyleSheet)
        Adds a CSSStyleSheet.
        Parameters:
        cssStyleSheet - the CSSStyleSheet
      • merge

        public org.w3c.dom.stylesheets.StyleSheet merge()
        Merges all StyleSheets in this list into one.
        Returns:
        the new (merged) StyleSheet