| Method Summary |
| |
__init__(self,
key)
Default constructor. |
| |
addChild(self,
key)
Adds a child with the given key, or return existing child with same
key. |
| |
commonValues(node1,
node2)
Return a list of the values that two nodes have in common in their
children. (Static method)
|
| |
compare(node1,
node2)
Compare two nodes. (Static method)
|
| |
getChild(self,
key)
Returns the child (if any) having the indicated key. |
| |
getChildValues(self)
Returns the values of this node's children. |
| |
hasChild(self,
key)
Indicates whether node has a child with the indicated key. |
| |
merge(fromnode,
tonode)
Merge one node (fromnode) into another
(tonode). (Static method)
|
| |
_getChildren(self)
Property target used to get children. |
| |
_getEndpoint(self)
Property target used to get endpoint. |
| |
_getValue(self)
Property target used to get value. |
| |
_setChildren(self,
value)
Property target used to set children. |
| |
_setEndpoint(self,
value)
Property target used to set endpoint. |
| |
_setValue(self,
value)
Property target used to set value. |
| 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 |
| |
__repr__(x)
x.__repr__() <==> repr(x) |
| |
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
| |
__str__(x)
x.__str__() <==> str(x) |