Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

nsIDocument* nsINode::GetOwnerDoc (  )  const [inline, inherited]

Return the "owner document" of this node. Note that this is not the same as the DOM ownerDocument -- that's null for Document nodes, whereas for a nsIDocument GetOwnerDocument returns the document itself. For nsIContent implementations the two are the same.

Definition at line 252 of file nsINode.h.

Referenced by nsGenericElement::BindToTree(), CreateTemplateBuilder(), nsINode::DeleteProperty(), nsGenericElement::DestroyContent(), nsHTMLSelectElement::DispatchDOMEvent(), nsGenericElement::doInsertChildAt(), nsGenericElement::doPreHandleEvent(), nsGenericElement::doRemoveChildAt(), nsGenericElement::doReplaceOrInsertBefore(), nsGenericElement::GetBaseURI(), nsINode::GetCurrentDoc(), nsObjectLoadingContent::GetObjectBaseURI(), nsINode::GetProperty(), nsINode::SetProperty(), nsGenericElement::UnbindFromTree(), and nsINode::UnsetProperty().

  {
    return mNodeInfo->GetDocument();
  }


Generated by  Doxygen 1.6.0   Back to index