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

Type Attribute

object --+
         |
        Attribute


Maps the attribute of an XML element to a simple Python object.
Method Summary
  __init__(self, name, value, prefix, namespace, parent)
Maps the attribute of an XML element to a simple Python object.
  __repr__(self)
  __str__(self)
  __unicode__(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Class Variable Summary
NoneType as_attribute_of_element = None                                                                  
str encoding = 'UTF-8'

Method Details

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

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:
__builtin__.object.__init__

Class Variable Details

as_attribute_of_element

Type:
NoneType
Value:
None                                                                  

encoding

Type:
str
Value:
'UTF-8'                                                                

Generated by Epydoc 2.1 on Tue May 22 18:09:00 2007 http://epydoc.sf.net