Home | Trees | Indices | Help |
|
---|
|
Version: $Id: util.py 1321 2008-06-29 20:59:58Z cthedot $
|
|||
Base Base class for most CSS and StyleSheets classes |
|||
Base2 Base class for new seq handling, used by Selector for now only |
|||
Seq property seq of Base2 inheriting classes, holds a list of Item objects. |
|||
Item an item in the seq list of classes (successor to tuple items in old seq) |
|||
ListSeq (EXPERIMENTAL) A base class used for list classes like css.SelectorList or stylesheets.MediaList |
|||
_Namespaces A dictionary like wrapper for @namespace rules used in a CSSStyleSheet. |
|||
_SimpleNamespaces namespaces used in objects like Selector as long as they are not connected to a CSSStyleSheet |
|
|||
|
|||
|
Imports: codecs, ifilter, re, types, urllib2, xml, cssutils, Tokenizer, encutils
|
Retrieve data from url. cssutils default implementation of fetch URL function. Returns (encoding, string) or None |
Read cssText from url and decode it using all relevant methods (HTTP header, BOM, @charset). Returns encoding (which is needed to set encoding of stylesheet properly) and decoded text
Priority or encoding informationcssutils only: overrideEncoding
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 09 15:30:05 2008 | http://epydoc.sourceforge.net |