Package cssutils :: Module util :: Class _SimpleNamespaces
[hide private]
[frames] | no frames]

Class _SimpleNamespaces

source code

 object --+    
          |    
_Namespaces --+
              |
             _SimpleNamespaces

namespaces used in objects like Selector as long as they are not connected to a CSSStyleSheet
Instance Methods [hide private]
 
__init__(self, *args)
no initial values are set, only the relevant sheet is
source code
 
__setitem__(self, prefix, namespaceURI)
replaces prefix or sets new rule, may raise NoModificationAllowedErr
source code
 
__str__(self)
str(x)
source code

Inherited from _Namespaces: __contains__, __delitem__, __getitem__, __iter__, __len__, get, items, keys, prefixForNamespaceURI, values

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties [hide private]
  namespaces
Dict Wrapper for self.sheets @namespace rules.

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args)
(Constructor)

source code 
no initial values are set, only the relevant sheet is
Overrides: object.__init__
(inherited documentation)

__setitem__(self, prefix, namespaceURI)
(Index assignment operator)

source code 
replaces prefix or sets new rule, may raise NoModificationAllowedErr
Overrides: _Namespaces.__setitem__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

Property Details [hide private]

namespaces

Dict Wrapper for self.sheets @namespace rules.
Get Method:
unreachable(self)