[hide private]
[frames] | no frames]

[ Module Hierarchy | Class Hierarchy ]

# Class Hierarchy

- codecs.Codec: Defines the interface for stateless encoders/decoders.
  - codecs.StreamReader
    - cssutils.codec.StreamReader
  - codecs.StreamWriter
    - cssutils.codec.StreamWriter
- markupbase.ParserBase: Parser base class which provides some common support methods used by the SGML/HTML and XHTML parsers.
  - HTMLParser.HTMLParser: Find tags and other markup and call handler functions.
    - cssutils.scripts.csscapture.CSSCaptureHTMLParser: parses given data for link and style elements
- object: The most base type
  - cssutils.util.Base: Base class for most CSS and StyleSheets classes
    - cssutils.util.Base2: Base class for new seq handling, used by Selector for now only
      - cssutils.css.cssrule.CSSRule: Abstract base interface for any type of CSS statement.
        - cssutils.css.csscharsetrule.CSSCharsetRule: The CSSCharsetRule interface represents an @charset rule in a CSS style sheet.
        - cssutils.css.csscomment.CSSComment: (cssutils) a CSS comment
        - cssutils.css.cssfontfacerule.CSSFontFaceRule: The CSSFontFaceRule interface represents a @font-face rule in a CSS style sheet.
        - cssutils.css.cssimportrule.CSSImportRule: Represents an @import rule within a CSS style sheet.
        - cssutils.css.cssmediarule.CSSMediaRule: Objects implementing the CSSMediaRule interface can be identified by the MEDIA_RULE constant.
        - cssutils.css.cssnamespacerule.CSSNamespaceRule: Represents an @namespace rule within a CSS style sheet.
        - cssutils.css.csspagerule.CSSPageRule: The CSSPageRule interface represents a @page rule within a CSS style sheet.
        - cssutils.css.cssstylerule.CSSStyleRule: The CSSStyleRule object represents a ruleset specified (if any) in a CSS style sheet.
        - cssutils.css.cssunknownrule.CSSUnknownRule: represents an at-rule not supported by this user agent.
      - cssutils.css.selector.Selector: (cssutils) a single selector in a SelectorList of a CSSStyleRule
    - cssutils.css.cssstyledeclaration.CSSStyleDeclaration: The CSSStyleDeclaration class represents a single CSS declaration block.
    - cssutils.css.cssvalue.CSSValue: The CSSValue interface represents a simple or a complex value.
      - cssutils.css.cssvalue.CSSPrimitiveValue: represents a single CSS Value.
      - cssutils.css.cssvalue.CSSValueList: The CSSValueList interface provides the abstraction of an ordered collection of CSS values.
    - cssutils.stylesheets.medialist.MediaList: Provides the abstraction of an ordered collection of media, without defining or constraining how this collection is implemented.
    - cssutils.stylesheets.mediaquery.MediaQuery: A Media Query consists of a media type and one or more expressions involving media features.
    - cssutils.css.property.Property: (cssutils) a CSS property in a StyleDeclaration of a CSSStyleRule
    - cssutils.css.selectorlist.SelectorList: (cssutils) a list of Selectors of a CSSStyleRule
    - cssutils.stylesheets.stylesheet.StyleSheet: The StyleSheet interface is the abstract base interface for any type of style sheet.
      - cssutils.css.cssstylesheet.CSSStyleSheet: The CSSStyleSheet interface represents a CSS style sheet.
  - exceptions.BaseException: Common base class for all exceptions
    - exceptions.Exception: Common base class for all non-exit exceptions.
      - exceptions.StandardError: Base class for all standard Python exceptions that do not represent interpreter exiting.
        - exceptions.AssertionError: Assertion failed.
  - cssutils.css.cssproperties.CSS2Properties: The CSS2Properties interface represents a convenience mechanism for retrieving and setting properties within a CSSStyleDeclaration.
    - cssutils.css.cssstyledeclaration.CSSStyleDeclaration: The CSSStyleDeclaration class represents a single CSS declaration block.
  - cssutils.scripts.csscapture.CSSCapture: Retrieve all CSS stylesheets including embedded for a given URL.
  - cssutils.parse'.CSSParser: parses a CSS StyleSheet string or file and returns a DOM Level 2 CSS StyleSheet object
  - cssutils.css3productions.CSSProductions: has attributes for all PRODUCTIONS
  - cssutils.css2productions.CSSProductions
  - cssutils.cssproductions.CSSProductions: most attributes are set later
  - cssutils.serialize.CSSSerializer: Methods to serialize a CSSStylesheet and its parts
  - cssutils.DOMImplementationCSS: This interface allows the DOM user to create a CSSStyleSheet outside the context of a document.
  - cssutils.util.Deprecated: This is a decorator which can be used to mark functions as deprecated.
  - codecs.IncrementalDecoder: An IncrementalDecoder decodes an input in multiple steps.
    - cssutils.codec.IncrementalDecoder
  - codecs.IncrementalEncoder: An IncrementalEncoder encodes an input in multiple steps.
    - cssutils.codec.IncrementalEncoder
  - cssutils.util.Item: an item in the seq list of classes (successor to tuple items in old seq)
  - cssutils.util.ListSeq: (EXPERIMENTAL) A base class used for list classes like css.SelectorList or stylesheets.MediaList
    - cssutils.stylesheets.medialist.MediaList: Provides the abstraction of an ordered collection of media, without defining or constraining how this collection is implemented.
    - cssutils.css.selectorlist.SelectorList: (cssutils) a list of Selectors of a CSSStyleRule
  - cssutils.serialize.Out: a simple class which makes appended items available as a combined string
  - cssutils.serialize.Preferences: controls output of CSSSerializer
  - cssutils.tests.test_codec.Queue: queue: write bytes at one end, read bytes from the other end
  - cssutils.util.Seq: property seq of Base2 inheriting classes, holds a list of Item objects.
  - unittest.TestCase: A class whose instances are single test cases.
    - cssutils.tests.encutils.AutoEncodingTestCase
    - cssutils.tests.basetest.BaseTestCase
      - cssutils.tests.test_util.BaseTestCase
      - cssutils.tests.test_scripts_csscombine.CSSCombine
      - cssutils.tests.test_cssvalue.CSSPrimitiveValueTestCase
      - cssutils.tests.test_cssproperties.CSSPropertiesTestCase
      - cssutils.tests.test_cssrulelist.CSSRuleListTestCase
      - cssutils.tests.test_cssrule.CSSRuleTestCase: base class for all CSSRule subclass tests
        - cssutils.tests.test_csscharsetrule.CSSCharsetRuleTestCase
        - cssutils.tests.test_csscomment.CSSCommentTestCase
        - cssutils.tests.test_cssfontfacerule.CSSFontFaceRuleTestCase
        - cssutils.tests.test_cssimportrule.CSSImportRuleTestCase
        - cssutils.tests.test_cssmediarule.CSSMediaRuleTestCase
        - cssutils.tests.test_cssnamespacerule.CSSNamespaceRuleTestCase
        - cssutils.tests.test_csspagerule.CSSPageRuleTestCase
        - cssutils.tests.test_cssstylerule.CSSStyleRuleTestCase
        - cssutils.tests.test_cssunknownrule.CSSUnknownRuleTestCase
      - cssutils.tests.test_serialize.CSSSerializerTestCase: testcases for cssutils.CSSSerializer
      - cssutils.tests.test_cssstyledeclaration.CSSStyleDeclarationTestCase
      - cssutils.tests.test_parse.CSSStyleSheetTestCase
      - cssutils.tests.test_cssstylesheet.CSSStyleSheetTestCase
      - cssutils.tests.test_cssvalue.CSSValueListTestCase
      - cssutils.tests.test_cssvalue.CSSValueTestCase
      - cssutils.tests.test_cssutils.CSSutilsTestCase
      - cssutils.tests.test_util.ListSeqTestCase
      - cssutils.tests.test_medialist.MediaListTestCase
      - cssutils.tests.test_mediaquery.MediaQueryTestCase
      - cssutils.tests.test_property.PropertyTestCase
      - cssutils.tests.test_selectorlist.SelectorListTestCase
      - cssutils.tests.test_selector.SelectorTestCase
      - cssutils.tests.test_tokenize2.TokenizerTestCase
    - cssutils.tests.test_cssutilsimport.CSSutilsImportTestCase
    - cssutils.tests.test_codec.CodecTestCase
    - cssutils.tests.test_domimplementation.DOMImplementationTestCase
  - cssutils.tokenize2.Tokenizer: (Tokenname, value, startline, startcolumn)
  - cssutils.errorhandler._ErrorHandler: handles all errors and log messages
    - cssutils.errorhandler.ErrorHandler: Singleton, see _ErrorHandler
  - cssutils.util._Namespaces: A dictionary like wrapper for @namespace rules used in a CSSStyleSheet.
    - cssutils.util._SimpleNamespaces: namespaces used in objects like Selector as long as they are not connected to a CSSStyleSheet
  - list: list() -> new list list(sequence) -> new list initialized from sequence's items
    - cssutils.css.cssrulelist.CSSRuleList: The CSSRuleList object represents an (ordered) list of statements.
    - cssutils.stylesheets.stylesheetlist.StyleSheetList: Interface StyleSheetList (introduced in DOM Level 2)