mozilla

Revision 549403 of nsIXFormsNSInstanceElement

  • Revision slug: Mozilla/XPCOM/Reference/Interface/nsIXFormsNSInstanceElement
  • Revision title: nsIXFormsNSInstanceElement
  • Revision id: 549403
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment minor cleanup; 1 words removedXPCOM_Interface_Reference/nsIXFormsNSInstanceElement Mozilla/XPCOM/Reference/Interface/nsIXFormsNSInstanceElement

Revision Content

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

{{ 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.

Example Code

None.

Revision Source

<p><code>nsIXFormsNSInstanceElement</code> is implemented by all <a href="/en/XForms" title="en/XForms">XForms</a> <code>&lt;instance/&gt;</code> elements, defining Mozilla extensions.</p>
<p>{{ InterfaceStatus("nsIXFormsNSInstanceElement", "extensions/xforms/nsIXFormsNSInstanceElement.idl", "EXPERIMENTAL", "Mozilla 1.8", "yes") }}</p>
<h3 id="Interface_Code" name="Interface_Code">Interface Code</h3>
<pre>[scriptable, uuid(80669b92-8331-4f92-aaf8-06e80e6827b3)]
interface nsIXFormsNSInstanceElement : nsISupports
{
  nsIDOMDocument getInstanceDocument();
};
</pre>
<h3 id="Methods" name="Methods">Methods</h3>
<h4 id="getInstanceDocument" 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/XPCOM_Interface_Reference/nsIXFormsModelElement#getInstanceDocument" title="en/XPCOM_Interface_Reference/nsIXFormsModelElement#getInstanceDocument">nsIXFormsModelElement::getInstanceDocument()</a> for the given instance element.</p>
<h3 id="Related_Interfaces" name="Related_Interfaces">Related Interfaces</h3>
<ul> <li><a href="/en/XPCOM_Interface_Reference/nsIXFormsModelElement" title="en/XPCOM_Interface_Reference/nsIXFormsModelElement">nsIXFormsModelElement</a></li>
</ul>
<h3 id="Example_Code" name="Example_Code">Example Code</h3>
<p>None.</p>
Revert to this revision