Logo Search packages:      
Sourcecode: zope-parsedxml version File versions

def ParsedXML::ManageableDOM::ManageableWrapper::wrapDOMObj (   self,
  node 
)

Return the appropriate manageable class wrapped around the node.

Definition at line 563 of file ManageableDOM.py.

00563                               :
        """Return the appropriate manageable class wrapped around the node."""
        if node is None:
            return
        wrapper_type = WRAPPER_TYPES[node._get_nodeType()]
        parent = aq_parent(self) or self
        return wrapper_type(node, self._persistentDoc).__of__(parent)
        
# According to DOM Erratum Core-14, the empty string should be
# accepted as equivalent to null for hasFeature().

_MANAGEABLE_DOM_FEATURES = (


Generated by  Doxygen 1.6.0   Back to index