Package bridge :: Class Attribute
[hide private]
[frames] | no frames]

Class Attribute

source code

object --+
         |
        Attribute

Maps the attribute of an XML element to a simple Python object.

Instance Methods [hide private]
  __init__(self, name=None, value=None, prefix=None, namespace=None, parent=None)
Maps the attribute of an XML element to a simple Python object.
  __unicode__(self)
  __str__(self)
str(x)
  __repr__(self)
repr(x)

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


Class Variables [hide private]
  encoding = 'UTF-8'
  as_attribute_of_element = None

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, name=None, value=None, prefix=None, namespace=None, parent=None)
(Constructor)

source code 

Maps the attribute of an XML element to a simple Python object.

Keyword arguments: name -- Name of the attribute value -- content of the attribute prefix -- XML prefix of the element namespace -- XML namespace defining the prefix parent -- element which this attribute belongs to
Overrides: object.__init__

__unicode__(self)

source code 
None

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)

Class Variable Details [hide private]

encoding

None
Value:
'UTF-8'                                                                
      

as_attribute_of_element

None
Value:
None