Package EaseXML :: Module main :: Class MetaXMLObject
[show private | hide private]
[frames | no frames]

Type MetaXMLObject

object --+    
         |    
      type --+
             |
            MetaXMLObject


The place where all magic happens:

Special variables are:


Method Summary
  __new__(cls, className, bases, dictionnary)
(Static method)
  instanceFromXml(cls, xmlData, registryID)
Builds a new XMLObject instance given its XML representation. (Class method)
  isXONode(cls, name, instance)
Checks if an instance variable is an XMLObject Node (Class method)
    Inherited from type
  __call__(x, ...)
x.__call__(...) <==> x(...)
  __cmp__(x, y)
x.__cmp__(y) <==> cmp(x,y)
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
list of immediate subclasses __subclasses__()
__subclasses__() -> list of immediate subclasses
list mro()
return a type's method resolution order
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
list __methods__ = ['set', 'get', 'getEntities', 'orderNodes'...
    Inherited from type
tuple __bases__ = (<type 'object'>,)
int __basicsize__ = 420                                                                   
int __dictoffset__ = 132                                                                   
int __flags__ = 21995                                                                 
int __itemsize__ = 20                                                                    
tuple __mro__ = (<type 'type'>, <type 'object'>)
str __name__ = 'type'
int __weakrefoffset__ = 184                                                                   

Class Method Details

instanceFromXml(cls, xmlData, registryID=None)

Builds a new XMLObject instance given its XML representation. This method differs from XMLObject.fromXml in the fact that you don't need to care about the XMLObject type to use because it's taken from the class registry.

Though, XMLObjects you defined need to be in the namespace where you use this method.

isXONode(cls, name, instance)

Checks if an instance variable is an XMLObject Node

Class Variable Details

__methods__

Type:
list
Value:
['set',
 'get',
 'getEntities',
 'orderNodes',
 'setParentNode',
 'getClassName',
 'toDict',
 'fromDict',
...                                                                    

Generated by Epydoc 2.1 on Sun Dec 12 17:20:24 2004 http://epydoc.sf.net