[hide private]
[frames] | no frames]

[ Module Hierarchy | Class Hierarchy ]

# Class Hierarchy

- 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.domimplementationcss.DOMImplementationCSS: This interface allows the DOM user to create a CSSStyleSheet outside the context of a document.
  - cssutils.token.Tokenre: regexes for CSS tokens, on initialization all attributes will be compiled to re.match objects
  - 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.csscomment.CSSComment: (cssutils) a CSS comment
      - cssutils.css.cssunknownrule.CSSUnknownRule: represents an at-rule not supported by this user agent.
      - cssutils.css.cssstylerule.CSSStyleRule: represents a single rule set in a CSS style sheet.
      - cssutils.css.cssnamespacerule.CSSNamespaceRule: Represents an @namespace rule within a CSS style sheet.
      - cssutils.css.cssmediarule.CSSMediaRule: represents an @media rule in a CSS style sheet.
      - cssutils.css.csspagerule.CSSPageRule: The CSSPageRule interface represents a @page rule within a CSS style sheet.
      - cssutils.css.cssimportrule.CSSImportRule: Represents an @import rule within a CSS style sheet.
    - cssutils.stylesheets.medialist.MediaList: Provides the abstraction of an ordered collection of media, without defining or constraining how this collection is implemented.
    - cssutils.css.property._Property: (cssutils) a CSS property in a StyleDeclaration of a CSSStyleRule
    - cssutils.css.selector.Selector: (cssutils) a single selector in a SelectorList of a CSSStyleRule
    - cssutils.css.selectorlist.SelectorList: (cssutils) a list of Selectors of a CSSStyleRule
    - 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.cssstyledeclaration.CSSStyleDeclaration: The CSSStyleDeclaration class represents a single CSS declaration block.
    - 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 is a concrete interface used to represent a CSS style sheet i.e., a style sheet whose content type is "text/css".
  - cssutils.token.Token: constants for Tokenizer and Parser to use values are just identifiers!
  - cssutils.errorhandler._ErrorHandler: handles all errors and log messages
    - cssutils.errorhandler.ErrorHandler: Singleton, see _ErrorHandler
  - cssutils.tokenize.Tokenizer: generates a list of Token objects
  - list: list() -> new list list(sequence) -> new list initialized from sequence's items
    - cssutils.css.cssrulelist.CSSRuleList: The CSSRuleList interface provides the abstraction of an ordered collection of CSS rules.
    - 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.css.cssstyledeclaration.SameNamePropertyList: (cssutils) EXPERIMENTAL
    - cssutils.stylesheets.stylesheetlist.StyleSheetList: Interface StyleSheetList (introduced in DOM Level 2)
  - cssutils.serialize.Preferences: controls output of CSSSerializer
  - cssutils.scripts.csscapture.CSSCapture: Retrieve all CSS stylesheets including embedded for a given URL.
  - unittest.TestCase: A class whose instances are single test cases.
    - cssutils.tests.basetest.BaseTestCase
      - cssutils.tests.test_cssprimitivevalue.CSSPrimitiveValueTestCase
      - cssutils.tests.test_cssstyledeclaration.CSSStyleDeclarationTestCase
      - cssutils.tests.test_cssproperties.CSSPropertiesTestCase
      - cssutils.tests.test_tokenize.TokenizerTestCase
      - cssutils.tests.test_property.PropertyTestCase
      - cssutils.tests.test_cssvalue.CSSValueTestCase
      - cssutils.tests.test_cssstylesheet.CSSStyleSheetTestCase
      - cssutils.tests.test_selectorlist.SelectorListTestCase
      - cssutils.tests.test_token.TokenTestCase
      - cssutils.tests.test_parse.CSSStyleSheetTestCase
      - cssutils.tests.test_util.UtilTestCase
      - cssutils.tests.test_selector.SelectorTestCase
      - cssutils.tests.test_cssrule.CSSRuleTestCase: base class for all CSSRule subclass tests
        - cssutils.tests.test_csspagerule.CSSPageRuleTestCase
        - cssutils.tests.test_cssmediarule.CSSMediaRuleTestCase
        - cssutils.tests.test_cssnamespacerule.CSSNamespaceRuleTestCase
        - cssutils.tests.test_csscharsetrule.CSSCharsetRuleTestCase
        - cssutils.tests.test_cssunknownrule.CSSUnknownRuleTestCase
        - cssutils.tests.test_csscomment.CSSCommentTestCase
        - cssutils.tests.test_cssstylerule.CSSStyleRuleTestCase
        - cssutils.tests.test_cssimportrule.CSSImportRuleTestCase
      - cssutils.tests.test_medialist.MediaListTestCase
      - cssutils.tests.test_cssvalue.CSSPrimitiveValueTestCase
      - cssutils.tests.test_cssvalue.CSSValueListTestCase
      - cssutils.tests.test_cssrulelist.CSSRuleListTestCase
      - cssutils.tests.test_escapes.CSSStyleSheetTestCase
      - cssutils.tests.test_serialize.CSSSerializerTestCase: testcases for cssutils.CSSSerializer
      - cssutils.tests.test_cssstyledeclaration.SameNamePropertyListTestCase
      - cssutils.tests.test_cssutils.CSSutilsTestCase
    - cssutils.tests.test_cssutilsimport.CSSutilsImportTestCase
    - cssutils.tests.encutils.AutoEncodingTestCase
  - cssutils.parse'.CSSParser: parses a CSS StyleSheet string or file and returns a DOM Level 2 CSS StyleSheet object
  - cssutils.serialize.CSSSerializer: Methods to serialize a CSSStylesheet and its parts
  - 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.
  - 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.