[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.parse'.CSSParser: parses a CSS StyleSheet string or file and returns a DOM Level 2 CSS StyleSheet object
  - unittest.TestCase: A class whose instances are single test cases.
    - cssutils.tests.test_codec.CodecTestCase
    - cssutils.tests.basetest.BaseTestCase
      - cssutils.tests.test_cssutils.CSSutilsTestCase
      - cssutils.tests.test_selector.SelectorTestCase
      - cssutils.tests.test_cssstylesheet.CSSStyleSheetTestCase
      - cssutils.tests.test_selectorlist.SelectorListTestCase
      - cssutils.tests.test_parse.CSSStyleSheetTestCase
      - cssutils.tests.test_cssstyledeclaration.CSSStyleDeclarationTestCase
      - cssutils.tests.test_cssvalue.CSSValueListTestCase
      - cssutils.tests.test_cssvalue.CSSPrimitiveValueTestCase
      - cssutils.tests.test_tokenize2.TokenizerTestCase
      - 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_cssunknownrule.CSSUnknownRuleTestCase
        - cssutils.tests.test_cssstylerule.CSSStyleRuleTestCase
        - cssutils.tests.test_csspagerule.CSSPageRuleTestCase
        - cssutils.tests.test_cssnamespacerule.CSSNamespaceRuleTestCase
        - cssutils.tests.test_cssmediarule.CSSMediaRuleTestCase
        - cssutils.tests.test_cssimportrule.CSSImportRuleTestCase
      - cssutils.tests.test_property.PropertyTestCase
      - cssutils.tests.test_cssproperties.CSSPropertiesTestCase
      - cssutils.tests.test_cssrulelist.CSSRuleListTestCase
      - cssutils.tests.test_util.UtilTestCase
      - cssutils.tests.test_cssvalue.CSSValueTestCase
      - cssutils.tests.test_medialist.MediaListTestCase
      - cssutils.tests.test_serialize.CSSSerializerTestCase: testcases for cssutils.CSSSerializer
      - cssutils.tests.test_mediaquery.MediaQueryTestCase
    - cssutils.tests.encutils.AutoEncodingTestCase
    - cssutils.tests.test_domimplementation.DOMImplementationTestCase
    - cssutils.tests.test_cssutilsimport.CSSutilsImportTestCase
  - codecs.IncrementalDecoder: An IncrementalDecoder decodes an input in multiple steps.
    - cssutils.codec.IncrementalDecoder
  - cssutils.cssproductions.CSSProductions: most attributes are set later
  - cssutils.tokenize2.Tokenizer: (Tokenname, value, startline, startcolumn)
  - cssutils.scripts.csscapture.CSSCapture: Retrieve all CSS stylesheets including embedded for a given URL.
  - cssutils.util.Base: Base class for most CSS and StyleSheets classes
    - 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.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.csscomment.CSSComment: (cssutils) a CSS comment
      - 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.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.
    - 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.css.selectorlist.SelectorList: (cssutils) a list of Selectors of a CSSStyleRule
    - cssutils.css.property.Property: (cssutils) a CSS property in a StyleDeclaration of a CSSStyleRule
    - cssutils.stylesheets.mediaquery.MediaQuery: A Media Query consists of a media type and one or more expressions involving media features.
    - cssutils.stylesheets.medialist.MediaList: Provides the abstraction of an ordered collection of media, without defining or constraining how this collection is implemented.
    - cssutils.css.selector.Selector: (cssutils) a single selector in a SelectorList of a CSSStyleRule
  - codecs.IncrementalEncoder: An IncrementalEncoder encodes an input in multiple steps.
    - cssutils.codec.IncrementalEncoder
  - 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.util.Deprecated: This is a decorator which can be used to mark functions as deprecated.
  - cssutils.serialize.Preferences: controls output of CSSSerializer
  - cssutils.util.Seq: (EXPERIMENTAL) a list like sequence of (value, type) used in almost all cssutils classes
  - cssutils.css3productions.CSSProductions: has attributes for all PRODUCTIONS
  - cssutils.serialize.CSSSerializer: Methods to serialize a CSSStylesheet and its parts
  - 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.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.stylesheets.stylesheetlist.StyleSheetList: Interface StyleSheetList (introduced in DOM Level 2)
  - cssutils.errorhandler._ErrorHandler: handles all errors and log messages
    - cssutils.errorhandler.ErrorHandler: Singleton, see _ErrorHandler
  - cssutils.DOMImplementationCSS: This interface allows the DOM user to create a CSSStyleSheet outside the context of a document.
  - cssutils.tests.test_codec.Queue: queue: write bytes at one end, read bytes from the other end
  - 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.css2productions.CSSProductions