A dictionary like wrapper for @namespace rules used in a CSSStyleSheet.
Works on effective namespaces, so e.g. if:
only the second rule is effective and kept.
|
__init__(self,
parentStyleSheet,
*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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prefixForNamespaceURI(self,
namespaceURI)
returns effective prefix for given namespaceURI or raises IndexError
if this cannot be found |
source code
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|