mozilla

Revision 131582 of nsIXFormsNSInstanceElement

  • Revision slug: XPCOM_Interface_Reference/nsIXFormsNSInstanceElement
  • Revision title: nsIXFormsNSInstanceElement
  • Revision id: 131582
  • Created:
  • Creator: Nickolay
  • Is current revision? No
  • Comment /* getInstanceDocument */ linkify [[nsIXFormsModelElement#getInstanceDocument|nsIXFormsModelElement::getInstanceDocument()]]

Revision Content

Summary

nsIXFormsNSInstanceElement is implemented by all XForms <instance/> elements, defining Mozilla extensions.

{{template.InterfaceStatus("nsIXFormsNSInstanceElement", "extensions/xforms/nsIXFormsNSInstanceElement.idl", "EXPERIMENTAL", "Mozilla 1.8", "yes")}}

Interface Code

[scriptable, uuid(80669b92-8331-4f92-aaf8-06e80e6827b3)]
interface nsIXFormsNSInstanceElement : nsISupports
{
  nsIDOMDocument getInstanceDocument();
};

Methods

getInstanceDocument

 nsIDOMDocument getInstanceDocument();

getInstanceDocument returns a DOM Document that corresponds to the instance data associated with the instance element. Essentially it is just a shortcut to nsIXFormsModelElement::getInstanceDocument() for the given instance element.

Related Interfaces

Example Code

None.

Revision Source

<h3 name="Summary"> Summary </h3>
<p><code>nsIXFormsNSInstanceElement</code> is implemented by all <a href="en/XForms">XForms</a> <code>&lt;instance/&gt;</code> elements, defining Mozilla extensions.
</p><p>{{template.InterfaceStatus("nsIXFormsNSInstanceElement", "extensions/xforms/nsIXFormsNSInstanceElement.idl", "EXPERIMENTAL", "Mozilla 1.8", "yes")}}
</p>
<h3 name="Interface_Code"> Interface Code </h3>
<pre>[scriptable, uuid(80669b92-8331-4f92-aaf8-06e80e6827b3)]
interface nsIXFormsNSInstanceElement : nsISupports
{
  nsIDOMDocument getInstanceDocument();
};
</pre>
<h3 name="Methods"> Methods </h3>
<h4 name="getInstanceDocument"> getInstanceDocument </h4>
<pre class="eval"> nsIDOMDocument getInstanceDocument();
</pre>
<p><code>getInstanceDocument</code> returns a DOM Document that corresponds to the instance data associated with the instance element. Essentially it is just a shortcut to <a href="en/NsIXFormsModelElement#getInstanceDocument">nsIXFormsModelElement::getInstanceDocument()</a> for the given instance element.
</p>
<h3 name="Related_Interfaces"> Related Interfaces </h3>
<ul><li> <a href="en/NsIXFormsModelElement">nsIXFormsModelElement</a>
</li></ul>
<h3 name="Example_Code"> Example Code </h3>
<p>None.
</p>
Revert to this revision