Package ndg :: Package soap :: Module etree :: Class ETreeSOAPExtensions
[hide private]

Class ETreeSOAPExtensions

source code


Utility to enable addition of core ElementTree specific attributes and methods for ElementTree SOAP implementation

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_getQname(self) source code
 
_setQname(self, value) source code
 
_getElem(self) source code
 
_setElem(self, value) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
_prettyPrint(cls, elem)
Basic pretty printing separating each element on to a new line
source code
Static Methods [hide private]
 
_serialize(elem)
Serialise element tree into string
source code
 
_parse(source)
Read in the XML from source
source code
Properties [hide private]
  qname
Qualified name object
  elem
Root element

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_parse(source)
Static Method

source code 

Read in the XML from source

Parameters:
  • source (basestring/file) - file path to XML file or file object

Property Details [hide private]

qname

Qualified name object

Get Method:
_getQname(self)
Set Method:
_setQname(self, value)

elem

Root element

Get Method:
_getElem(self)
Set Method:
_setElem(self, value)