1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>DOMNode class Reference</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
|
---|
2 | <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
3 |
|
---|
4 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
5 |
|
---|
6 | <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
7 | <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
8 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
9 | <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
10 | <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
11 | <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
12 |
|
---|
13 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
14 | <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
15 | <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
16 | <A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
17 |
|
---|
18 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
19 | <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
20 |
|
---|
21 | <A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
22 | <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
23 |
|
---|
24 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
25 |
|
---|
26 | <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
27 | <A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
28 | <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
29 |
|
---|
30 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
31 |
|
---|
32 | <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
33 |
|
---|
34 | <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
35 |
|
---|
36 |
|
---|
37 | <IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
|
---|
38 | <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
|
---|
39 |
|
---|
40 | <P>
|
---|
41 | <!-- Generated by Doxygen 1.2.14 -->
|
---|
42 | <center>
|
---|
43 | <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
---|
44 | <hr><h1>DOMNode Class Reference</h1>The <code>DOMNode</code> interface is the primary datatype for the entire Document Object Model.
|
---|
45 | <a href="#_details">More...</a>
|
---|
46 | <p>
|
---|
47 | Inheritance diagram for DOMNode:<p><center><img src="classDOMNode__inherit__graph.gif" border="0" usemap="#DOMNode__inherit__map" alt="Inheritance graph"></center>
|
---|
48 | <map name="DOMNode__inherit__map">
|
---|
49 | <area href="classDOMAttr.html" shape="rect" coords="193,24,257,5" alt="">
|
---|
50 | <area href="classDOMCharacterData.html" shape="rect" coords="160,66,291,48" alt="">
|
---|
51 | <area href="classDOMDocument.html" shape="rect" coords="173,109,277,90" alt="">
|
---|
52 | <area href="classDOMDocumentFragment.html" shape="rect" coords="145,152,305,133" alt="">
|
---|
53 | <area href="classDOMDocumentType.html" shape="rect" coords="159,194,292,176" alt="">
|
---|
54 | <area href="classDOMElement.html" shape="rect" coords="181,237,269,218" alt="">
|
---|
55 | <area href="classDOMEntity.html" shape="rect" coords="188,280,263,261" alt="">
|
---|
56 | <area href="classDOMEntityReference.html" shape="rect" coords="156,322,295,304" alt="">
|
---|
57 | <area href="classDOMNotation.html" shape="rect" coords="180,365,271,346" alt="">
|
---|
58 | <area href="classDOMProcessingInstruction.html" shape="rect" coords="141,408,309,389" alt="">
|
---|
59 | <area href="classDOMXPathNamespace.html" shape="rect" coords="151,450,300,432" alt="">
|
---|
60 | </map>
|
---|
61 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classDOMNode-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
---|
62 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr>
|
---|
63 | <tr><td colspan="2"><div class="groupHeader">Public Contants</div></td></tr>
|
---|
64 | <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classDOMNode.html#z112_0">NodeType</a> { <br>
|
---|
65 | <a class="el" href="classDOMNode.html#z112_0s0">ELEMENT_NODE</a> = 1,
|
---|
66 | <a class="el" href="classDOMNode.html#z112_0s1">ATTRIBUTE_NODE</a> = 2,
|
---|
67 | <a class="el" href="classDOMNode.html#z112_0s2">TEXT_NODE</a> = 3,
|
---|
68 | <a class="el" href="classDOMNode.html#z112_0s3">CDATA_SECTION_NODE</a> = 4,
|
---|
69 | <br>
|
---|
70 | <a class="el" href="classDOMNode.html#z112_0s4">ENTITY_REFERENCE_NODE</a> = 5,
|
---|
71 | <a class="el" href="classDOMNode.html#z112_0s5">ENTITY_NODE</a> = 6,
|
---|
72 | <a class="el" href="classDOMNode.html#z112_0s6">PROCESSING_INSTRUCTION_NODE</a> = 7,
|
---|
73 | <a class="el" href="classDOMNode.html#z112_0s7">COMMENT_NODE</a> = 8,
|
---|
74 | <br>
|
---|
75 | <a class="el" href="classDOMNode.html#z112_0s8">DOCUMENT_NODE</a> = 9,
|
---|
76 | <a class="el" href="classDOMNode.html#z112_0s9">DOCUMENT_TYPE_NODE</a> = 10,
|
---|
77 | <a class="el" href="classDOMNode.html#z112_0s10">DOCUMENT_FRAGMENT_NODE</a> = 11,
|
---|
78 | <a class="el" href="classDOMNode.html#z112_0s11">NOTATION_NODE</a> = 12
|
---|
79 | <br>
|
---|
80 | }</td></tr>
|
---|
81 | <tr><td> </td><td><font size=-1><em>NodeType.</em> <a href="#z112_0">More...</a><em></em></font><br><br></td></tr>
|
---|
82 | <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classDOMNode.html#z112_1">DOMTreePosition</a> { <br>
|
---|
83 | <a class="el" href="classDOMNode.html#z112_1s12">TREE_POSITION_PRECEDING</a> = 0x01,
|
---|
84 | <a class="el" href="classDOMNode.html#z112_1s13">TREE_POSITION_FOLLOWING</a> = 0x02,
|
---|
85 | <a class="el" href="classDOMNode.html#z112_1s14">TREE_POSITION_ANCESTOR</a> = 0x04,
|
---|
86 | <a class="el" href="classDOMNode.html#z112_1s15">TREE_POSITION_DESCENDANT</a> = 0x08,
|
---|
87 | <br>
|
---|
88 | <a class="el" href="classDOMNode.html#z112_1s16">TREE_POSITION_EQUIVALENT</a> = 0x10,
|
---|
89 | <a class="el" href="classDOMNode.html#z112_1s17">TREE_POSITION_SAME_NODE</a> = 0x20,
|
---|
90 | <a class="el" href="classDOMNode.html#z112_1s18">TREE_POSITION_DISCONNECTED</a> = 0x00
|
---|
91 | <br>
|
---|
92 | }</td></tr>
|
---|
93 | <tr><td> </td><td><font size=-1><em>TreePosition:.</em> <a href="#z112_1">More...</a><em></em></font><br><br></td></tr>
|
---|
94 | <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
---|
95 | <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
|
---|
96 | <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classDOMNode.html#z111_0">~DOMNode</a> ()</td></tr>
|
---|
97 | <tr><td> </td><td><font size=-1><em>Destructor.</em> <a href="#z111_0">More...</a><em></em></font><br><br></td></tr>
|
---|
98 | <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
|
---|
99 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_0">getNodeName</a> () const=0</td></tr>
|
---|
100 | <tr><td> </td><td><font size=-1><em>The name of this node, depending on its type; see the table above.</em> <a href="#z113_0">More...</a><em></em></font><br><br></td></tr>
|
---|
101 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_1">getNodeValue</a> () const=0</td></tr>
|
---|
102 | <tr><td> </td><td><font size=-1><em>Gets the value of this node, depending on its type.</em> <a href="#z113_1">More...</a><em></em></font><br><br></td></tr>
|
---|
103 | <tr><td nowrap align=right valign=top>virtual short </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_2">getNodeType</a> () const=0</td></tr>
|
---|
104 | <tr><td> </td><td><font size=-1><em>An enum value representing the type of the underlying object.</em> <a href="#z113_2">More...</a><em></em></font><br><br></td></tr>
|
---|
105 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_3">getParentNode</a> () const=0</td></tr>
|
---|
106 | <tr><td> </td><td><font size=-1><em>Gets the parent of this node.</em> <a href="#z113_3">More...</a><em></em></font><br><br></td></tr>
|
---|
107 | <tr><td nowrap align=right valign=top>virtual <a class="el" href="classDOMNodeList.html">DOMNodeList</a> * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_4">getChildNodes</a> () const=0</td></tr>
|
---|
108 | <tr><td> </td><td><font size=-1><em>Gets a <code><a class="el" href="classDOMNodeList.html">DOMNodeList</a></code> that contains all children of this node.</em> <a href="#z113_4">More...</a><em></em></font><br><br></td></tr>
|
---|
109 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_5">getFirstChild</a> () const=0</td></tr>
|
---|
110 | <tr><td> </td><td><font size=-1><em>Gets the first child of this node.</em> <a href="#z113_5">More...</a><em></em></font><br><br></td></tr>
|
---|
111 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_6">getLastChild</a> () const=0</td></tr>
|
---|
112 | <tr><td> </td><td><font size=-1><em>Gets the last child of this node.</em> <a href="#z113_6">More...</a><em></em></font><br><br></td></tr>
|
---|
113 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_7">getPreviousSibling</a> () const=0</td></tr>
|
---|
114 | <tr><td> </td><td><font size=-1><em>Gets the node immediately preceding this node.</em> <a href="#z113_7">More...</a><em></em></font><br><br></td></tr>
|
---|
115 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_8">getNextSibling</a> () const=0</td></tr>
|
---|
116 | <tr><td> </td><td><font size=-1><em>Gets the node immediately following this node.</em> <a href="#z113_8">More...</a><em></em></font><br><br></td></tr>
|
---|
117 | <tr><td nowrap align=right valign=top>virtual <a class="el" href="classDOMNamedNodeMap.html">DOMNamedNodeMap</a> * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_9">getAttributes</a> () const=0</td></tr>
|
---|
118 | <tr><td> </td><td><font size=-1><em>Gets a <code><a class="el" href="classDOMNamedNodeMap.html">DOMNamedNodeMap</a></code> containing the attributes of this node (if it is an <code><a class="el" href="classDOMElement.html">DOMElement</a></code>) or <code>null</code> otherwise.</em> <a href="#z113_9">More...</a><em></em></font><br><br></td></tr>
|
---|
119 | <tr><td nowrap align=right valign=top>virtual <a class="el" href="classDOMDocument.html">DOMDocument</a> * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_10">getOwnerDocument</a> () const=0</td></tr>
|
---|
120 | <tr><td> </td><td><font size=-1><em>Gets the <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code> object associated with this node.</em> <a href="#z113_10">More...</a><em></em></font><br><br></td></tr>
|
---|
121 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_11">cloneNode</a> (bool deep) const=0</td></tr>
|
---|
122 | <tr><td> </td><td><font size=-1><em>Returns a duplicate of this node.</em> <a href="#z113_11">More...</a><em></em></font><br><br></td></tr>
|
---|
123 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_12">insertBefore</a> (DOMNode *newChild, DOMNode *refChild)=0</td></tr>
|
---|
124 | <tr><td> </td><td><font size=-1><em>Inserts the node <code>newChild</code> before the existing child node <code>refChild</code>.</em> <a href="#z113_12">More...</a><em></em></font><br><br></td></tr>
|
---|
125 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_13">replaceChild</a> (DOMNode *newChild, DOMNode *oldChild)=0</td></tr>
|
---|
126 | <tr><td> </td><td><font size=-1><em>Replaces the child node <code>oldChild</code> with <code>newChild</code> in the list of children, and returns the <code>oldChild</code> node.</em> <a href="#z113_13">More...</a><em></em></font><br><br></td></tr>
|
---|
127 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_14">removeChild</a> (DOMNode *oldChild)=0</td></tr>
|
---|
128 | <tr><td> </td><td><font size=-1><em>Removes the child node indicated by <code>oldChild</code> from the list of children, and returns it.</em> <a href="#z113_14">More...</a><em></em></font><br><br></td></tr>
|
---|
129 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_15">appendChild</a> (DOMNode *newChild)=0</td></tr>
|
---|
130 | <tr><td> </td><td><font size=-1><em>Adds the node <code>newChild</code> to the end of the list of children of this node.</em> <a href="#z113_15">More...</a><em></em></font><br><br></td></tr>
|
---|
131 | <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_16">hasChildNodes</a> () const=0</td></tr>
|
---|
132 | <tr><td> </td><td><font size=-1><em>This is a convenience method to allow easy determination of whether a node has any children.</em> <a href="#z113_16">More...</a><em></em></font><br><br></td></tr>
|
---|
133 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classDOMNode.html#z113_17">setNodeValue</a> (const XMLCh *nodeValue)=0</td></tr>
|
---|
134 | <tr><td> </td><td><font size=-1><em>Sets the value of the node.</em> <a href="#z113_17">More...</a><em></em></font><br><br></td></tr>
|
---|
135 | <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2.</div></td></tr>
|
---|
136 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classDOMNode.html#z114_0">normalize</a> ()=0</td></tr>
|
---|
137 | <tr><td> </td><td><font size=-1><em>Puts all <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes in the full depth of the sub-tree underneath this <code>DOMNode</code>, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes, i.e., there are neither adjacent <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes nor empty <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes.</em> <a href="#z114_0">More...</a><em></em></font><br><br></td></tr>
|
---|
138 | <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classDOMNode.html#z114_1">isSupported</a> (const XMLCh *feature, const XMLCh *version) const=0</td></tr>
|
---|
139 | <tr><td> </td><td><font size=-1><em>Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.</em> <a href="#z114_1">More...</a><em></em></font><br><br></td></tr>
|
---|
140 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classDOMNode.html#z114_2">getNamespaceURI</a> () const=0</td></tr>
|
---|
141 | <tr><td> </td><td><font size=-1><em>Get the <em>namespace URI</em> of this node, or <code>null</code> if it is unspecified.</em> <a href="#z114_2">More...</a><em></em></font><br><br></td></tr>
|
---|
142 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classDOMNode.html#z114_3">getPrefix</a> () const=0</td></tr>
|
---|
143 | <tr><td> </td><td><font size=-1><em>Get the <em>namespace prefix</em> of this node, or <code>null</code> if it is unspecified.</em> <a href="#z114_3">More...</a><em></em></font><br><br></td></tr>
|
---|
144 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classDOMNode.html#z114_4">getLocalName</a> () const=0</td></tr>
|
---|
145 | <tr><td> </td><td><font size=-1><em>Returns the local part of the <em>qualified name</em> of this node.</em> <a href="#z114_4">More...</a><em></em></font><br><br></td></tr>
|
---|
146 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classDOMNode.html#z114_5">setPrefix</a> (const XMLCh *prefix)=0</td></tr>
|
---|
147 | <tr><td> </td><td><font size=-1><em>Set the <em>namespace prefix</em> of this node.</em> <a href="#z114_5">More...</a><em></em></font><br><br></td></tr>
|
---|
148 | <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classDOMNode.html#z114_6">hasAttributes</a> () const=0</td></tr>
|
---|
149 | <tr><td> </td><td><font size=-1><em>Returns whether this node (if it is an element) has any attributes.</em> <a href="#z114_6">More...</a><em></em></font><br><br></td></tr>
|
---|
150 | <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3.</div></td></tr>
|
---|
151 | <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_0">isSameNode</a> (const DOMNode *other) const=0</td></tr>
|
---|
152 | <tr><td> </td><td><font size=-1><em>Returns whether this node is the same node as the given one.</em> <a href="#z115_0">More...</a><em></em></font><br><br></td></tr>
|
---|
153 | <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_1">isEqualNode</a> (const DOMNode *arg) const=0</td></tr>
|
---|
154 | <tr><td> </td><td><font size=-1><em>Tests whether two nodes are equal.</em> <a href="#z115_1">More...</a><em></em></font><br><br></td></tr>
|
---|
155 | <tr><td nowrap align=right valign=top>virtual void * </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_2">setUserData</a> (const XMLCh *key, void *data, <a class="el" href="classDOMUserDataHandler.html">DOMUserDataHandler</a> *handler)=0</td></tr>
|
---|
156 | <tr><td> </td><td><font size=-1><em>Associate an object to a key on this node.</em> <a href="#z115_2">More...</a><em></em></font><br><br></td></tr>
|
---|
157 | <tr><td nowrap align=right valign=top>virtual void * </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_3">getUserData</a> (const XMLCh *key) const=0</td></tr>
|
---|
158 | <tr><td> </td><td><font size=-1><em>Retrieves the object associated to a key on a this node.</em> <a href="#z115_3">More...</a><em></em></font><br><br></td></tr>
|
---|
159 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_4">getBaseURI</a> () const=0</td></tr>
|
---|
160 | <tr><td> </td><td><font size=-1><em>The absolute base URI of this node or <code>null</code> if undefined.</em> <a href="#z115_4">More...</a><em></em></font><br><br></td></tr>
|
---|
161 | <tr><td nowrap align=right valign=top>virtual short </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_5">compareTreePosition</a> (const DOMNode *other) const=0</td></tr>
|
---|
162 | <tr><td> </td><td><font size=-1><em>Compares a node with this node with regard to their position in the tree and according to the document order.</em> <a href="#z115_5">More...</a><em></em></font><br><br></td></tr>
|
---|
163 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_6">getTextContent</a> () const=0</td></tr>
|
---|
164 | <tr><td> </td><td><font size=-1><em>This attribute returns the text content of this node and its descendants.</em> <a href="#z115_6">More...</a><em></em></font><br><br></td></tr>
|
---|
165 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_7">setTextContent</a> (const XMLCh *textContent)=0</td></tr>
|
---|
166 | <tr><td> </td><td><font size=-1><em>This attribute returns the text content of this node and its descendants.</em> <a href="#z115_7">More...</a><em></em></font><br><br></td></tr>
|
---|
167 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_8">lookupNamespacePrefix</a> (const XMLCh *namespaceURI, bool useDefault) const=0</td></tr>
|
---|
168 | <tr><td> </td><td><font size=-1><em>Look up the prefix associated to the given namespace URI, starting from this node.</em> <a href="#z115_8">More...</a><em></em></font><br><br></td></tr>
|
---|
169 | <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_9">isDefaultNamespace</a> (const XMLCh *namespaceURI) const=0</td></tr>
|
---|
170 | <tr><td> </td><td><font size=-1><em>This method checks if the specified <code>namespaceURI</code> is the default namespace or not.</em> <a href="#z115_9">More...</a><em></em></font><br><br></td></tr>
|
---|
171 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_10">lookupNamespaceURI</a> (const XMLCh *prefix) const=0</td></tr>
|
---|
172 | <tr><td> </td><td><font size=-1><em>Look up the namespace URI associated to the given prefix, starting from this node.</em> <a href="#z115_10">More...</a><em></em></font><br><br></td></tr>
|
---|
173 | <tr><td nowrap align=right valign=top>virtual DOMNode * </td><td valign=bottom><a class="el" href="classDOMNode.html#z115_11">getInterface</a> (const XMLCh *feature)=0</td></tr>
|
---|
174 | <tr><td> </td><td><font size=-1><em>This method makes available a <code>DOMNode</code>'s specialized interface.</em> <a href="#z115_11">More...</a><em></em></font><br><br></td></tr>
|
---|
175 | <tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
|
---|
176 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classDOMNode.html#z116_0">release</a> ()=0</td></tr>
|
---|
177 | <tr><td> </td><td><font size=-1><em>Called to indicate that this Node (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children.</em> <a href="#z116_0">More...</a><em></em></font><br><br></td></tr>
|
---|
178 | <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
|
---|
179 | <tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
|
---|
180 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classDOMNode.html#z109_0">DOMNode</a> ()</td></tr>
|
---|
181 | </table>
|
---|
182 | <hr><a name="_details"></a><h2>Detailed Description</h2>
|
---|
183 | The <code>DOMNode</code> interface is the primary datatype for the entire Document Object Model.
|
---|
184 | <p>
|
---|
185 | It represents a single node in the document tree. While all objects implementing the <code>DOMNode</code> interface expose methods for dealing with children, not all objects implementing the <code>DOMNode</code> interface may have children. For example, <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes may not have children, and adding children to such nodes results in a <code><a class="el" href="classDOMException.html">DOMException</a></code> being raised.
|
---|
186 | <p>
|
---|
187 | The attributes <code>nodeName</code>, <code>nodeValue</code> and <code>attributes</code> are included as a mechanism to get at node information without casting down to the specific derived interface. In cases where there is no obvious mapping of these attributes for a specific <code>nodeType</code> (e.g., <code>nodeValue</code> for an <code><a class="el" href="classDOMElement.html">DOMElement</a></code> or <code>attributes</code> for a <code><a class="el" href="classDOMComment.html">DOMComment</a></code> ), this returns <code>null</code>. Note that the specialized interfaces may contain additional and more convenient mechanisms to get and set the relevant information.
|
---|
188 | <p>
|
---|
189 | The values of <code>nodeName</code>, <code>nodeValue</code>, and <code>attributes</code> vary according to the node type as follows: <table border=1 cellspacing=3 cellpadding=3><tr><td>Interface </td><td>nodeName </td><td>nodeValue </td><td>attributes </td></tr>
|
---|
190 | <tr><td><a class="el" href="classDOMAttr.html">DOMAttr</a> </td><td>name of attribute </td><td>value of attribute </td><td>null </td></tr>
|
---|
191 | <tr><td><a class="el" href="classDOMCDATASection.html">DOMCDATASection</a> </td><td><code>"cdata-section"</code> </td><td> content of the CDATA Section </td><td>null </td></tr>
|
---|
192 | <tr><td><a class="el" href="classDOMComment.html">DOMComment</a> </td><td><code>"comment"</code> </td><td>content of the comment </td><td>null </td></tr>
|
---|
193 | <tr><td><a class="el" href="classDOMDocument.html">DOMDocument</a> </td><td><code>"document"</code> </td><td>null </td><td>null </td></tr>
|
---|
194 | <tr><td><a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a> </td><td> <code>"document-fragment"</code> </td><td>null </td><td>null </td></tr>
|
---|
195 | <tr><td><a class="el" href="classDOMDocumentType.html">DOMDocumentType</a> </td><td>document type name </td><td> null </td><td>null </td></tr>
|
---|
196 | <tr><td><a class="el" href="classDOMElement.html">DOMElement</a> </td><td>tag name </td><td>null </td><td>NamedNodeMap </td></tr>
|
---|
197 | <tr><td><a class="el" href="classDOMEntity.html">DOMEntity</a> </td><td>entity name </td><td>null </td><td>null </td></tr>
|
---|
198 | <tr><td><a class="el" href="classDOMEntityReference.html">DOMEntityReference</a> </td><td>name of entity referenced </td><td>null </td><td>null </td></tr>
|
---|
199 | <tr><td><a class="el" href="classDOMNotation.html">DOMNotation</a> </td><td>notation name </td><td>null </td><td> null </td></tr>
|
---|
200 | <tr><td><a class="el" href="classDOMProcessingInstruction.html">DOMProcessingInstruction</a> </td><td>target </td><td>entire content excluding the target </td><td>null </td></tr>
|
---|
201 | <tr><td><a class="el" href="classDOMText.html">DOMText</a> </td><td> <code>"text"</code> </td><td>content of the text node </td><td>null </td></tr></table>
|
---|
202 |
|
---|
203 | <p>
|
---|
204 | See also the <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113">Document Object Model (DOM) Level 2 Core Specification</a>.
|
---|
205 | <p>
|
---|
206 | <dl compact><dt><b>
|
---|
207 | Since: </b><dd>
|
---|
208 | DOM Level 1 </dl>
|
---|
209 | <p>
|
---|
210 | <hr><h2>Member Enumeration Documentation</h2>
|
---|
211 | <a name="z112_1" doxytag="DOMNode::DOMTreePosition"></a><p>
|
---|
212 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
213 | <tr>
|
---|
214 | <td class="md">
|
---|
215 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
216 | <tr>
|
---|
217 | <td class="md" nowrap valign="top"> enum DOMNode::DOMTreePosition
|
---|
218 | </table>
|
---|
219 | </td>
|
---|
220 | </tr>
|
---|
221 | </table>
|
---|
222 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
223 | <tr>
|
---|
224 | <td>
|
---|
225 |
|
---|
226 | </td>
|
---|
227 | <td>
|
---|
228 |
|
---|
229 | <p>
|
---|
230 | TreePosition:.
|
---|
231 | <p>
|
---|
232 |
|
---|
233 | <p>
|
---|
234 | <b>"Experimental - subject to change"</b>
|
---|
235 | <p>
|
---|
236 |
|
---|
237 | <p>
|
---|
238 | <code>TREE_POSITION_PRECEDING:</code> The node precedes the reference node.
|
---|
239 | <p>
|
---|
240 | <code>TREE_POSITION_FOLLOWING:</code> The node follows the reference node.
|
---|
241 | <p>
|
---|
242 | <code>TREE_POSITION_ANCESTOR:</code> The node is an ancestor of the reference node.
|
---|
243 | <p>
|
---|
244 | <code>TREE_POSITION_DESCENDANT:</code> The node is a descendant of the reference node.
|
---|
245 | <p>
|
---|
246 | <code>TREE_POSITION_EQUIVALENT:</code> The two nodes have an equivalent position. This is the case of two attributes that have the same <code>ownerElement</code>, and two nodes that are the same.
|
---|
247 | <p>
|
---|
248 | <code>TREE_POSITION_SAME_NODE:</code> The two nodes are the same. Two nodes that are the same have an equivalent position, though the reverse may not be true.
|
---|
249 | <p>
|
---|
250 | <code>TREE_POSITION_DISCONNECTED:</code> The two nodes are disconnected, they do not have any common ancestor. This is the case of two nodes that are not in the same document.
|
---|
251 | <p>
|
---|
252 | <dl compact><dt><b>
|
---|
253 | Since: </b><dd>
|
---|
254 | DOM Level 3 </dl><dl compact><dt><b>
|
---|
255 | Enumeration values:</b><dd>
|
---|
256 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
257 | <tr><td valign=top><em><a name="z112_1s12" doxytag="TREE_POSITION_PRECEDING"></a><em>TREE_POSITION_PRECEDING</em></em> </td><td>
|
---|
258 | </td></tr>
|
---|
259 | <tr><td valign=top><em><a name="z112_1s13" doxytag="TREE_POSITION_FOLLOWING"></a><em>TREE_POSITION_FOLLOWING</em></em> </td><td>
|
---|
260 | </td></tr>
|
---|
261 | <tr><td valign=top><em><a name="z112_1s14" doxytag="TREE_POSITION_ANCESTOR"></a><em>TREE_POSITION_ANCESTOR</em></em> </td><td>
|
---|
262 | </td></tr>
|
---|
263 | <tr><td valign=top><em><a name="z112_1s15" doxytag="TREE_POSITION_DESCENDANT"></a><em>TREE_POSITION_DESCENDANT</em></em> </td><td>
|
---|
264 | </td></tr>
|
---|
265 | <tr><td valign=top><em><a name="z112_1s16" doxytag="TREE_POSITION_EQUIVALENT"></a><em>TREE_POSITION_EQUIVALENT</em></em> </td><td>
|
---|
266 | </td></tr>
|
---|
267 | <tr><td valign=top><em><a name="z112_1s17" doxytag="TREE_POSITION_SAME_NODE"></a><em>TREE_POSITION_SAME_NODE</em></em> </td><td>
|
---|
268 | </td></tr>
|
---|
269 | <tr><td valign=top><em><a name="z112_1s18" doxytag="TREE_POSITION_DISCONNECTED"></a><em>TREE_POSITION_DISCONNECTED</em></em> </td><td>
|
---|
270 | </td></tr>
|
---|
271 | </table>
|
---|
272 | </dl>
|
---|
273 | </td>
|
---|
274 | </tr>
|
---|
275 | </table>
|
---|
276 | <a name="z112_0" doxytag="DOMNode::NodeType"></a><p>
|
---|
277 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
278 | <tr>
|
---|
279 | <td class="md">
|
---|
280 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
281 | <tr>
|
---|
282 | <td class="md" nowrap valign="top"> enum DOMNode::NodeType
|
---|
283 | </table>
|
---|
284 | </td>
|
---|
285 | </tr>
|
---|
286 | </table>
|
---|
287 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
288 | <tr>
|
---|
289 | <td>
|
---|
290 |
|
---|
291 | </td>
|
---|
292 | <td>
|
---|
293 |
|
---|
294 | <p>
|
---|
295 | NodeType.
|
---|
296 | <p>
|
---|
297 | <dl compact><dt><b>
|
---|
298 | Since: </b><dd>
|
---|
299 | DOM Level 1 </dl><dl compact><dt><b>
|
---|
300 | Enumeration values:</b><dd>
|
---|
301 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
302 | <tr><td valign=top><em><a name="z112_0s0" doxytag="ELEMENT_NODE"></a><em>ELEMENT_NODE</em></em> </td><td>
|
---|
303 | </td></tr>
|
---|
304 | <tr><td valign=top><em><a name="z112_0s1" doxytag="ATTRIBUTE_NODE"></a><em>ATTRIBUTE_NODE</em></em> </td><td>
|
---|
305 | </td></tr>
|
---|
306 | <tr><td valign=top><em><a name="z112_0s2" doxytag="TEXT_NODE"></a><em>TEXT_NODE</em></em> </td><td>
|
---|
307 | </td></tr>
|
---|
308 | <tr><td valign=top><em><a name="z112_0s3" doxytag="CDATA_SECTION_NODE"></a><em>CDATA_SECTION_NODE</em></em> </td><td>
|
---|
309 | </td></tr>
|
---|
310 | <tr><td valign=top><em><a name="z112_0s4" doxytag="ENTITY_REFERENCE_NODE"></a><em>ENTITY_REFERENCE_NODE</em></em> </td><td>
|
---|
311 | </td></tr>
|
---|
312 | <tr><td valign=top><em><a name="z112_0s5" doxytag="ENTITY_NODE"></a><em>ENTITY_NODE</em></em> </td><td>
|
---|
313 | </td></tr>
|
---|
314 | <tr><td valign=top><em><a name="z112_0s6" doxytag="PROCESSING_INSTRUCTION_NODE"></a><em>PROCESSING_INSTRUCTION_NODE</em></em> </td><td>
|
---|
315 | </td></tr>
|
---|
316 | <tr><td valign=top><em><a name="z112_0s7" doxytag="COMMENT_NODE"></a><em>COMMENT_NODE</em></em> </td><td>
|
---|
317 | </td></tr>
|
---|
318 | <tr><td valign=top><em><a name="z112_0s8" doxytag="DOCUMENT_NODE"></a><em>DOCUMENT_NODE</em></em> </td><td>
|
---|
319 | </td></tr>
|
---|
320 | <tr><td valign=top><em><a name="z112_0s9" doxytag="DOCUMENT_TYPE_NODE"></a><em>DOCUMENT_TYPE_NODE</em></em> </td><td>
|
---|
321 | </td></tr>
|
---|
322 | <tr><td valign=top><em><a name="z112_0s10" doxytag="DOCUMENT_FRAGMENT_NODE"></a><em>DOCUMENT_FRAGMENT_NODE</em></em> </td><td>
|
---|
323 | </td></tr>
|
---|
324 | <tr><td valign=top><em><a name="z112_0s11" doxytag="NOTATION_NODE"></a><em>NOTATION_NODE</em></em> </td><td>
|
---|
325 | </td></tr>
|
---|
326 | </table>
|
---|
327 | </dl>
|
---|
328 | </td>
|
---|
329 | </tr>
|
---|
330 | </table>
|
---|
331 | <hr><h2>Constructor & Destructor Documentation</h2>
|
---|
332 | <a name="z109_0" doxytag="DOMNode::DOMNode"></a><p>
|
---|
333 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
334 | <tr>
|
---|
335 | <td class="md">
|
---|
336 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
337 | <tr>
|
---|
338 | <td class="md" nowrap valign="top"> DOMNode::DOMNode </td>
|
---|
339 | <td class="md" valign="top">( </td>
|
---|
340 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
341 | <td class="md" valign="top">) </td>
|
---|
342 | <td class="md" nowrap><code> [protected]</code></td>
|
---|
343 | </tr>
|
---|
344 |
|
---|
345 | </table>
|
---|
346 | </td>
|
---|
347 | </tr>
|
---|
348 | </table>
|
---|
349 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
350 | <tr>
|
---|
351 | <td>
|
---|
352 |
|
---|
353 | </td>
|
---|
354 | <td>
|
---|
355 |
|
---|
356 | <p>
|
---|
357 | </td>
|
---|
358 | </tr>
|
---|
359 | </table>
|
---|
360 | <a name="z111_0" doxytag="DOMNode::~DOMNode"></a><p>
|
---|
361 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
362 | <tr>
|
---|
363 | <td class="md">
|
---|
364 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
365 | <tr>
|
---|
366 | <td class="md" nowrap valign="top"> virtual DOMNode::~DOMNode </td>
|
---|
367 | <td class="md" valign="top">( </td>
|
---|
368 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
369 | <td class="md" valign="top">) </td>
|
---|
370 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
371 | </tr>
|
---|
372 |
|
---|
373 | </table>
|
---|
374 | </td>
|
---|
375 | </tr>
|
---|
376 | </table>
|
---|
377 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
378 | <tr>
|
---|
379 | <td>
|
---|
380 |
|
---|
381 | </td>
|
---|
382 | <td>
|
---|
383 |
|
---|
384 | <p>
|
---|
385 | Destructor.
|
---|
386 | <p>
|
---|
387 | </td>
|
---|
388 | </tr>
|
---|
389 | </table>
|
---|
390 | <hr><h2>Member Function Documentation</h2>
|
---|
391 | <a name="z113_15" doxytag="DOMNode::appendChild"></a><p>
|
---|
392 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
393 | <tr>
|
---|
394 | <td class="md">
|
---|
395 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
396 | <tr>
|
---|
397 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::appendChild </td>
|
---|
398 | <td class="md" valign="top">( </td>
|
---|
399 | <td class="md" nowrap valign="top">DOMNode * </td>
|
---|
400 | <td class="mdname1" valign="top" nowrap> <em>newChild</em> </td>
|
---|
401 | <td class="md" valign="top">) </td>
|
---|
402 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
403 | </tr>
|
---|
404 |
|
---|
405 | </table>
|
---|
406 | </td>
|
---|
407 | </tr>
|
---|
408 | </table>
|
---|
409 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
410 | <tr>
|
---|
411 | <td>
|
---|
412 |
|
---|
413 | </td>
|
---|
414 | <td>
|
---|
415 |
|
---|
416 | <p>
|
---|
417 | Adds the node <code>newChild</code> to the end of the list of children of this node.
|
---|
418 | <p>
|
---|
419 | If the <code>newChild</code> is already in the tree, it is first removed. <dl compact><dt><b>
|
---|
420 | Parameters: </b><dd>
|
---|
421 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
422 | <tr><td valign=top><em>newChild</em> </td><td>
|
---|
423 | The node to add.If it is a <code><a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a></code> object, the entire contents of the document fragment are moved into the child list of this node </td></tr>
|
---|
424 | </table>
|
---|
425 | </dl><dl compact><dt><b>
|
---|
426 | Returns: </b><dd>
|
---|
427 | The node added. </dl><dl compact><dt><b>
|
---|
428 | Exceptions: </b><dd>
|
---|
429 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
430 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
431 | HIERARCHY_REQUEST_ERR: Raised if this node is of a type that does not allow children of the type of the <code>newChild</code> node, or if the node to append is one of this node's ancestors. <br>
|
---|
432 | WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was created from a different document than the one that created this node. <br>
|
---|
433 | NO_MODIFICATION_ALLOWED_ERR: Raised if this node or the node being appended is readonly. </td></tr>
|
---|
434 | </table>
|
---|
435 | </dl><dl compact><dt><b>
|
---|
436 | Since: </b><dd>
|
---|
437 | DOM Level 1 </dl> </td>
|
---|
438 | </tr>
|
---|
439 | </table>
|
---|
440 | <a name="z113_11" doxytag="DOMNode::cloneNode"></a><p>
|
---|
441 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
442 | <tr>
|
---|
443 | <td class="md">
|
---|
444 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
445 | <tr>
|
---|
446 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::cloneNode </td>
|
---|
447 | <td class="md" valign="top">( </td>
|
---|
448 | <td class="md" nowrap valign="top">bool </td>
|
---|
449 | <td class="mdname1" valign="top" nowrap> <em>deep</em> </td>
|
---|
450 | <td class="md" valign="top">) </td>
|
---|
451 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
452 | </tr>
|
---|
453 |
|
---|
454 | </table>
|
---|
455 | </td>
|
---|
456 | </tr>
|
---|
457 | </table>
|
---|
458 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
459 | <tr>
|
---|
460 | <td>
|
---|
461 |
|
---|
462 | </td>
|
---|
463 | <td>
|
---|
464 |
|
---|
465 | <p>
|
---|
466 | Returns a duplicate of this node.
|
---|
467 | <p>
|
---|
468 | This function serves as a generic copy constructor for nodes.
|
---|
469 | <p>
|
---|
470 | The duplicate node has no parent ( <code>parentNode</code> returns <code>null</code>.). <br>
|
---|
471 | Cloning an <code><a class="el" href="classDOMElement.html">DOMElement</a></code> copies all attributes and their values, including those generated by the XML processor to represent defaulted attributes, but this method does not copy any text it contains unless it is a deep clone, since the text is contained in a child <code><a class="el" href="classDOMText.html">DOMText</a></code> node. Cloning any other type of node simply returns a copy of this node. <dl compact><dt><b>
|
---|
472 | Parameters: </b><dd>
|
---|
473 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
474 | <tr><td valign=top><em>deep</em> </td><td>
|
---|
475 | If <code>true</code>, recursively clone the subtree under the specified node; if <code>false</code>, clone only the node itself (and its attributes, if it is an <code><a class="el" href="classDOMElement.html">DOMElement</a></code>). </td></tr>
|
---|
476 | </table>
|
---|
477 | </dl><dl compact><dt><b>
|
---|
478 | Returns: </b><dd>
|
---|
479 | The duplicate node. </dl><dl compact><dt><b>
|
---|
480 | Since: </b><dd>
|
---|
481 | DOM Level 1 </dl> </td>
|
---|
482 | </tr>
|
---|
483 | </table>
|
---|
484 | <a name="z115_5" doxytag="DOMNode::compareTreePosition"></a><p>
|
---|
485 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
486 | <tr>
|
---|
487 | <td class="md">
|
---|
488 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
489 | <tr>
|
---|
490 | <td class="md" nowrap valign="top"> virtual short DOMNode::compareTreePosition </td>
|
---|
491 | <td class="md" valign="top">( </td>
|
---|
492 | <td class="md" nowrap valign="top">const DOMNode * </td>
|
---|
493 | <td class="mdname1" valign="top" nowrap> <em>other</em> </td>
|
---|
494 | <td class="md" valign="top">) </td>
|
---|
495 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
496 | </tr>
|
---|
497 |
|
---|
498 | </table>
|
---|
499 | </td>
|
---|
500 | </tr>
|
---|
501 | </table>
|
---|
502 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
503 | <tr>
|
---|
504 | <td>
|
---|
505 |
|
---|
506 | </td>
|
---|
507 | <td>
|
---|
508 |
|
---|
509 | <p>
|
---|
510 | Compares a node with this node with regard to their position in the tree and according to the document order.
|
---|
511 | <p>
|
---|
512 | This order can be extended by module that define additional types of nodes.
|
---|
513 | <p>
|
---|
514 |
|
---|
515 | <p>
|
---|
516 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
517 | Parameters: </b><dd>
|
---|
518 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
519 | <tr><td valign=top><em>other</em> </td><td>
|
---|
520 | The node to compare against this node. </td></tr>
|
---|
521 | </table>
|
---|
522 | </dl><dl compact><dt><b>
|
---|
523 | Returns: </b><dd>
|
---|
524 | Returns how the given node is positioned relatively to this node. </dl><dl compact><dt><b>
|
---|
525 | Since: </b><dd>
|
---|
526 | DOM Level 3 </dl> </td>
|
---|
527 | </tr>
|
---|
528 | </table>
|
---|
529 | <a name="z113_9" doxytag="DOMNode::getAttributes"></a><p>
|
---|
530 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
531 | <tr>
|
---|
532 | <td class="md">
|
---|
533 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
534 | <tr>
|
---|
535 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classDOMNamedNodeMap.html">DOMNamedNodeMap</a>* DOMNode::getAttributes </td>
|
---|
536 | <td class="md" valign="top">( </td>
|
---|
537 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
538 | <td class="md" valign="top">) </td>
|
---|
539 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
540 | </tr>
|
---|
541 |
|
---|
542 | </table>
|
---|
543 | </td>
|
---|
544 | </tr>
|
---|
545 | </table>
|
---|
546 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
547 | <tr>
|
---|
548 | <td>
|
---|
549 |
|
---|
550 | </td>
|
---|
551 | <td>
|
---|
552 |
|
---|
553 | <p>
|
---|
554 | Gets a <code><a class="el" href="classDOMNamedNodeMap.html">DOMNamedNodeMap</a></code> containing the attributes of this node (if it is an <code><a class="el" href="classDOMElement.html">DOMElement</a></code>) or <code>null</code> otherwise.
|
---|
555 | <p>
|
---|
556 | <dl compact><dt><b>
|
---|
557 | Since: </b><dd>
|
---|
558 | DOM Level 1 </dl> </td>
|
---|
559 | </tr>
|
---|
560 | </table>
|
---|
561 | <a name="z115_4" doxytag="DOMNode::getBaseURI"></a><p>
|
---|
562 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
563 | <tr>
|
---|
564 | <td class="md">
|
---|
565 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
566 | <tr>
|
---|
567 | <td class="md" nowrap valign="top"> virtual const XMLCh* DOMNode::getBaseURI </td>
|
---|
568 | <td class="md" valign="top">( </td>
|
---|
569 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
570 | <td class="md" valign="top">) </td>
|
---|
571 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
572 | </tr>
|
---|
573 |
|
---|
574 | </table>
|
---|
575 | </td>
|
---|
576 | </tr>
|
---|
577 | </table>
|
---|
578 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
579 | <tr>
|
---|
580 | <td>
|
---|
581 |
|
---|
582 | </td>
|
---|
583 | <td>
|
---|
584 |
|
---|
585 | <p>
|
---|
586 | The absolute base URI of this node or <code>null</code> if undefined.
|
---|
587 | <p>
|
---|
588 | This value is computed according to . However, when the <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code> supports the feature "HTML" , the base URI is computed using first the value of the href attribute of the HTML BASE element if any, and the value of the <code>documentURI</code> attribute from the <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code> interface otherwise.
|
---|
589 | <p>
|
---|
590 |
|
---|
591 | <p>
|
---|
592 | <b>"Experimental - subject to change"</b>
|
---|
593 | <p>
|
---|
594 | <br>
|
---|
595 | When the node is an <code><a class="el" href="classDOMElement.html">DOMElement</a></code>, a <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code> or a a <code><a class="el" href="classDOMProcessingInstruction.html">DOMProcessingInstruction</a></code>, this attribute represents the properties [base URI] defined in . When the node is a <code><a class="el" href="classDOMNotation.html">DOMNotation</a></code>, an <code><a class="el" href="classDOMEntity.html">DOMEntity</a></code>, or an <code><a class="el" href="classDOMEntityReference.html">DOMEntityReference</a></code>, this attribute represents the properties [declaration base URI]. <dl compact><dt><b>
|
---|
596 | Since: </b><dd>
|
---|
597 | DOM Level 3 </dl> </td>
|
---|
598 | </tr>
|
---|
599 | </table>
|
---|
600 | <a name="z113_4" doxytag="DOMNode::getChildNodes"></a><p>
|
---|
601 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
602 | <tr>
|
---|
603 | <td class="md">
|
---|
604 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
605 | <tr>
|
---|
606 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classDOMNodeList.html">DOMNodeList</a>* DOMNode::getChildNodes </td>
|
---|
607 | <td class="md" valign="top">( </td>
|
---|
608 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
609 | <td class="md" valign="top">) </td>
|
---|
610 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
611 | </tr>
|
---|
612 |
|
---|
613 | </table>
|
---|
614 | </td>
|
---|
615 | </tr>
|
---|
616 | </table>
|
---|
617 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
618 | <tr>
|
---|
619 | <td>
|
---|
620 |
|
---|
621 | </td>
|
---|
622 | <td>
|
---|
623 |
|
---|
624 | <p>
|
---|
625 | Gets a <code><a class="el" href="classDOMNodeList.html">DOMNodeList</a></code> that contains all children of this node.
|
---|
626 | <p>
|
---|
627 | If there are no children, this is a <code><a class="el" href="classDOMNodeList.html">DOMNodeList</a></code> containing no nodes. The content of the returned <code><a class="el" href="classDOMNodeList.html">DOMNodeList</a></code> is "live" in the sense that, for instance, changes to the children of the node object that it was created from are immediately reflected in the nodes returned by the <code><a class="el" href="classDOMNodeList.html">DOMNodeList</a></code> accessors; it is not a static snapshot of the content of the node. This is true for every <code><a class="el" href="classDOMNodeList.html">DOMNodeList</a></code>, including the ones returned by the <code>getElementsByTagName</code> method. <dl compact><dt><b>
|
---|
628 | Since: </b><dd>
|
---|
629 | DOM Level 1 </dl> </td>
|
---|
630 | </tr>
|
---|
631 | </table>
|
---|
632 | <a name="z113_5" doxytag="DOMNode::getFirstChild"></a><p>
|
---|
633 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
634 | <tr>
|
---|
635 | <td class="md">
|
---|
636 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
637 | <tr>
|
---|
638 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::getFirstChild </td>
|
---|
639 | <td class="md" valign="top">( </td>
|
---|
640 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
641 | <td class="md" valign="top">) </td>
|
---|
642 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
643 | </tr>
|
---|
644 |
|
---|
645 | </table>
|
---|
646 | </td>
|
---|
647 | </tr>
|
---|
648 | </table>
|
---|
649 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
650 | <tr>
|
---|
651 | <td>
|
---|
652 |
|
---|
653 | </td>
|
---|
654 | <td>
|
---|
655 |
|
---|
656 | <p>
|
---|
657 | Gets the first child of this node.
|
---|
658 | <p>
|
---|
659 | If there is no such node, this returns <code>null</code>. <dl compact><dt><b>
|
---|
660 | Since: </b><dd>
|
---|
661 | DOM Level 1 </dl> </td>
|
---|
662 | </tr>
|
---|
663 | </table>
|
---|
664 | <a name="z115_11" doxytag="DOMNode::getInterface"></a><p>
|
---|
665 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
666 | <tr>
|
---|
667 | <td class="md">
|
---|
668 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
669 | <tr>
|
---|
670 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::getInterface </td>
|
---|
671 | <td class="md" valign="top">( </td>
|
---|
672 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
673 | <td class="mdname1" valign="top" nowrap> <em>feature</em> </td>
|
---|
674 | <td class="md" valign="top">) </td>
|
---|
675 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
676 | </tr>
|
---|
677 |
|
---|
678 | </table>
|
---|
679 | </td>
|
---|
680 | </tr>
|
---|
681 | </table>
|
---|
682 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
683 | <tr>
|
---|
684 | <td>
|
---|
685 |
|
---|
686 | </td>
|
---|
687 | <td>
|
---|
688 |
|
---|
689 | <p>
|
---|
690 | This method makes available a <code>DOMNode</code>'s specialized interface.
|
---|
691 | <p>
|
---|
692 |
|
---|
693 | <p>
|
---|
694 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
695 | Parameters: </b><dd>
|
---|
696 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
697 | <tr><td valign=top><em>feature</em> </td><td>
|
---|
698 | The name of the feature requested (case-insensitive). </td></tr>
|
---|
699 | </table>
|
---|
700 | </dl><dl compact><dt><b>
|
---|
701 | Returns: </b><dd>
|
---|
702 | Returns an alternate <code>DOMNode</code> which implements the specialized APIs of the specified feature, if any, or <code>null</code> if there is no alternate <code>DOMNode</code> which implements interfaces associated with that feature. Any alternate <code>DOMNode</code> returned by this method must delegate to the primary core <code>DOMNode</code> and not return results inconsistent with the primary core <code>DOMNode</code> such as <code>key</code>, <code>attributes</code>, <code>childNodes</code>, etc. </dl><dl compact><dt><b>
|
---|
703 | Since: </b><dd>
|
---|
704 | DOM Level 3 </dl> </td>
|
---|
705 | </tr>
|
---|
706 | </table>
|
---|
707 | <a name="z113_6" doxytag="DOMNode::getLastChild"></a><p>
|
---|
708 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
709 | <tr>
|
---|
710 | <td class="md">
|
---|
711 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
712 | <tr>
|
---|
713 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::getLastChild </td>
|
---|
714 | <td class="md" valign="top">( </td>
|
---|
715 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
716 | <td class="md" valign="top">) </td>
|
---|
717 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
718 | </tr>
|
---|
719 |
|
---|
720 | </table>
|
---|
721 | </td>
|
---|
722 | </tr>
|
---|
723 | </table>
|
---|
724 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
725 | <tr>
|
---|
726 | <td>
|
---|
727 |
|
---|
728 | </td>
|
---|
729 | <td>
|
---|
730 |
|
---|
731 | <p>
|
---|
732 | Gets the last child of this node.
|
---|
733 | <p>
|
---|
734 | If there is no such node, this returns <code>null</code>. <dl compact><dt><b>
|
---|
735 | Since: </b><dd>
|
---|
736 | DOM Level 1 </dl> </td>
|
---|
737 | </tr>
|
---|
738 | </table>
|
---|
739 | <a name="z114_4" doxytag="DOMNode::getLocalName"></a><p>
|
---|
740 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
741 | <tr>
|
---|
742 | <td class="md">
|
---|
743 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
744 | <tr>
|
---|
745 | <td class="md" nowrap valign="top"> virtual const XMLCh* DOMNode::getLocalName </td>
|
---|
746 | <td class="md" valign="top">( </td>
|
---|
747 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
748 | <td class="md" valign="top">) </td>
|
---|
749 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
750 | </tr>
|
---|
751 |
|
---|
752 | </table>
|
---|
753 | </td>
|
---|
754 | </tr>
|
---|
755 | </table>
|
---|
756 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
757 | <tr>
|
---|
758 | <td>
|
---|
759 |
|
---|
760 | </td>
|
---|
761 | <td>
|
---|
762 |
|
---|
763 | <p>
|
---|
764 | Returns the local part of the <em>qualified name</em> of this node.
|
---|
765 | <p>
|
---|
766 |
|
---|
767 | <p>
|
---|
768 | For nodes created with a DOM Level 1 method, such as <code>createElement</code> from the <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code> interface, it is null.
|
---|
769 | <p>
|
---|
770 | <dl compact><dt><b>
|
---|
771 | Since: </b><dd>
|
---|
772 | DOM Level 2 </dl> </td>
|
---|
773 | </tr>
|
---|
774 | </table>
|
---|
775 | <a name="z114_2" doxytag="DOMNode::getNamespaceURI"></a><p>
|
---|
776 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
777 | <tr>
|
---|
778 | <td class="md">
|
---|
779 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
780 | <tr>
|
---|
781 | <td class="md" nowrap valign="top"> virtual const XMLCh* DOMNode::getNamespaceURI </td>
|
---|
782 | <td class="md" valign="top">( </td>
|
---|
783 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
784 | <td class="md" valign="top">) </td>
|
---|
785 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
786 | </tr>
|
---|
787 |
|
---|
788 | </table>
|
---|
789 | </td>
|
---|
790 | </tr>
|
---|
791 | </table>
|
---|
792 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
793 | <tr>
|
---|
794 | <td>
|
---|
795 |
|
---|
796 | </td>
|
---|
797 | <td>
|
---|
798 |
|
---|
799 | <p>
|
---|
800 | Get the <em>namespace URI</em> of this node, or <code>null</code> if it is unspecified.
|
---|
801 | <p>
|
---|
802 |
|
---|
803 | <p>
|
---|
804 | This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope. It is merely the namespace URI given at creation time.
|
---|
805 | <p>
|
---|
806 | For nodes of any type other than <code>ELEMENT_NODE</code> and <code>ATTRIBUTE_NODE</code> and nodes created with a DOM Level 1 method, such as <code>createElement</code> from the <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code> interface, this is always <code>null</code>.
|
---|
807 | <p>
|
---|
808 | <dl compact><dt><b>
|
---|
809 | Since: </b><dd>
|
---|
810 | DOM Level 2 </dl> </td>
|
---|
811 | </tr>
|
---|
812 | </table>
|
---|
813 | <a name="z113_8" doxytag="DOMNode::getNextSibling"></a><p>
|
---|
814 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
815 | <tr>
|
---|
816 | <td class="md">
|
---|
817 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
818 | <tr>
|
---|
819 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::getNextSibling </td>
|
---|
820 | <td class="md" valign="top">( </td>
|
---|
821 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
822 | <td class="md" valign="top">) </td>
|
---|
823 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
824 | </tr>
|
---|
825 |
|
---|
826 | </table>
|
---|
827 | </td>
|
---|
828 | </tr>
|
---|
829 | </table>
|
---|
830 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
831 | <tr>
|
---|
832 | <td>
|
---|
833 |
|
---|
834 | </td>
|
---|
835 | <td>
|
---|
836 |
|
---|
837 | <p>
|
---|
838 | Gets the node immediately following this node.
|
---|
839 | <p>
|
---|
840 | If there is no such node, this returns <code>null</code>. <dl compact><dt><b>
|
---|
841 | Since: </b><dd>
|
---|
842 | DOM Level 1 </dl> </td>
|
---|
843 | </tr>
|
---|
844 | </table>
|
---|
845 | <a name="z113_0" doxytag="DOMNode::getNodeName"></a><p>
|
---|
846 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
847 | <tr>
|
---|
848 | <td class="md">
|
---|
849 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
850 | <tr>
|
---|
851 | <td class="md" nowrap valign="top"> virtual const XMLCh* DOMNode::getNodeName </td>
|
---|
852 | <td class="md" valign="top">( </td>
|
---|
853 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
854 | <td class="md" valign="top">) </td>
|
---|
855 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
856 | </tr>
|
---|
857 |
|
---|
858 | </table>
|
---|
859 | </td>
|
---|
860 | </tr>
|
---|
861 | </table>
|
---|
862 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
863 | <tr>
|
---|
864 | <td>
|
---|
865 |
|
---|
866 | </td>
|
---|
867 | <td>
|
---|
868 |
|
---|
869 | <p>
|
---|
870 | The name of this node, depending on its type; see the table above.
|
---|
871 | <p>
|
---|
872 | <dl compact><dt><b>
|
---|
873 | Since: </b><dd>
|
---|
874 | DOM Level 1 </dl> </td>
|
---|
875 | </tr>
|
---|
876 | </table>
|
---|
877 | <a name="z113_2" doxytag="DOMNode::getNodeType"></a><p>
|
---|
878 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
879 | <tr>
|
---|
880 | <td class="md">
|
---|
881 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
882 | <tr>
|
---|
883 | <td class="md" nowrap valign="top"> virtual short DOMNode::getNodeType </td>
|
---|
884 | <td class="md" valign="top">( </td>
|
---|
885 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
886 | <td class="md" valign="top">) </td>
|
---|
887 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
888 | </tr>
|
---|
889 |
|
---|
890 | </table>
|
---|
891 | </td>
|
---|
892 | </tr>
|
---|
893 | </table>
|
---|
894 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
895 | <tr>
|
---|
896 | <td>
|
---|
897 |
|
---|
898 | </td>
|
---|
899 | <td>
|
---|
900 |
|
---|
901 | <p>
|
---|
902 | An enum value representing the type of the underlying object.
|
---|
903 | <p>
|
---|
904 | <dl compact><dt><b>
|
---|
905 | Since: </b><dd>
|
---|
906 | DOM Level 1 </dl> </td>
|
---|
907 | </tr>
|
---|
908 | </table>
|
---|
909 | <a name="z113_1" doxytag="DOMNode::getNodeValue"></a><p>
|
---|
910 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
911 | <tr>
|
---|
912 | <td class="md">
|
---|
913 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
914 | <tr>
|
---|
915 | <td class="md" nowrap valign="top"> virtual const XMLCh* DOMNode::getNodeValue </td>
|
---|
916 | <td class="md" valign="top">( </td>
|
---|
917 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
918 | <td class="md" valign="top">) </td>
|
---|
919 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
920 | </tr>
|
---|
921 |
|
---|
922 | </table>
|
---|
923 | </td>
|
---|
924 | </tr>
|
---|
925 | </table>
|
---|
926 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
927 | <tr>
|
---|
928 | <td>
|
---|
929 |
|
---|
930 | </td>
|
---|
931 | <td>
|
---|
932 |
|
---|
933 | <p>
|
---|
934 | Gets the value of this node, depending on its type.
|
---|
935 | <p>
|
---|
936 | <dl compact><dt><b>
|
---|
937 | Exceptions: </b><dd>
|
---|
938 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
939 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
940 | NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. </td></tr>
|
---|
941 | </table>
|
---|
942 | </dl><dl compact><dt><b>
|
---|
943 | Since: </b><dd>
|
---|
944 | DOM Level 1 </dl> </td>
|
---|
945 | </tr>
|
---|
946 | </table>
|
---|
947 | <a name="z113_10" doxytag="DOMNode::getOwnerDocument"></a><p>
|
---|
948 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
949 | <tr>
|
---|
950 | <td class="md">
|
---|
951 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
952 | <tr>
|
---|
953 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classDOMDocument.html">DOMDocument</a>* DOMNode::getOwnerDocument </td>
|
---|
954 | <td class="md" valign="top">( </td>
|
---|
955 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
956 | <td class="md" valign="top">) </td>
|
---|
957 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
958 | </tr>
|
---|
959 |
|
---|
960 | </table>
|
---|
961 | </td>
|
---|
962 | </tr>
|
---|
963 | </table>
|
---|
964 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
965 | <tr>
|
---|
966 | <td>
|
---|
967 |
|
---|
968 | </td>
|
---|
969 | <td>
|
---|
970 |
|
---|
971 | <p>
|
---|
972 | Gets the <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code> object associated with this node.
|
---|
973 | <p>
|
---|
974 | This is also the <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code> object used to create new nodes. When this node is a <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code> or a <code><a class="el" href="classDOMDocumentType.html">DOMDocumentType</a></code> which is not used with any <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code> yet, this is <code>null</code>.
|
---|
975 | <p>
|
---|
976 | <dl compact><dt><b>
|
---|
977 | Since: </b><dd>
|
---|
978 | DOM Level 1 </dl> </td>
|
---|
979 | </tr>
|
---|
980 | </table>
|
---|
981 | <a name="z113_3" doxytag="DOMNode::getParentNode"></a><p>
|
---|
982 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
983 | <tr>
|
---|
984 | <td class="md">
|
---|
985 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
986 | <tr>
|
---|
987 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::getParentNode </td>
|
---|
988 | <td class="md" valign="top">( </td>
|
---|
989 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
990 | <td class="md" valign="top">) </td>
|
---|
991 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
992 | </tr>
|
---|
993 |
|
---|
994 | </table>
|
---|
995 | </td>
|
---|
996 | </tr>
|
---|
997 | </table>
|
---|
998 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
999 | <tr>
|
---|
1000 | <td>
|
---|
1001 |
|
---|
1002 | </td>
|
---|
1003 | <td>
|
---|
1004 |
|
---|
1005 | <p>
|
---|
1006 | Gets the parent of this node.
|
---|
1007 | <p>
|
---|
1008 | All nodes, except <code><a class="el" href="classDOMDocument.html">DOMDocument</a></code>, <code><a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a></code>, and <code><a class="el" href="classDOMAttr.html">DOMAttr</a></code> may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, a <code>null</code> DOMNode is returned. <dl compact><dt><b>
|
---|
1009 | Since: </b><dd>
|
---|
1010 | DOM Level 1 </dl> </td>
|
---|
1011 | </tr>
|
---|
1012 | </table>
|
---|
1013 | <a name="z114_3" doxytag="DOMNode::getPrefix"></a><p>
|
---|
1014 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1015 | <tr>
|
---|
1016 | <td class="md">
|
---|
1017 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1018 | <tr>
|
---|
1019 | <td class="md" nowrap valign="top"> virtual const XMLCh* DOMNode::getPrefix </td>
|
---|
1020 | <td class="md" valign="top">( </td>
|
---|
1021 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1022 | <td class="md" valign="top">) </td>
|
---|
1023 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
1024 | </tr>
|
---|
1025 |
|
---|
1026 | </table>
|
---|
1027 | </td>
|
---|
1028 | </tr>
|
---|
1029 | </table>
|
---|
1030 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1031 | <tr>
|
---|
1032 | <td>
|
---|
1033 |
|
---|
1034 | </td>
|
---|
1035 | <td>
|
---|
1036 |
|
---|
1037 | <p>
|
---|
1038 | Get the <em>namespace prefix</em> of this node, or <code>null</code> if it is unspecified.
|
---|
1039 | <p>
|
---|
1040 | <dl compact><dt><b>
|
---|
1041 | Since: </b><dd>
|
---|
1042 | DOM Level 2 </dl> </td>
|
---|
1043 | </tr>
|
---|
1044 | </table>
|
---|
1045 | <a name="z113_7" doxytag="DOMNode::getPreviousSibling"></a><p>
|
---|
1046 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1047 | <tr>
|
---|
1048 | <td class="md">
|
---|
1049 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1050 | <tr>
|
---|
1051 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::getPreviousSibling </td>
|
---|
1052 | <td class="md" valign="top">( </td>
|
---|
1053 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1054 | <td class="md" valign="top">) </td>
|
---|
1055 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
1056 | </tr>
|
---|
1057 |
|
---|
1058 | </table>
|
---|
1059 | </td>
|
---|
1060 | </tr>
|
---|
1061 | </table>
|
---|
1062 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1063 | <tr>
|
---|
1064 | <td>
|
---|
1065 |
|
---|
1066 | </td>
|
---|
1067 | <td>
|
---|
1068 |
|
---|
1069 | <p>
|
---|
1070 | Gets the node immediately preceding this node.
|
---|
1071 | <p>
|
---|
1072 | If there is no such node, this returns <code>null</code>. <dl compact><dt><b>
|
---|
1073 | Since: </b><dd>
|
---|
1074 | DOM Level 1 </dl> </td>
|
---|
1075 | </tr>
|
---|
1076 | </table>
|
---|
1077 | <a name="z115_6" doxytag="DOMNode::getTextContent"></a><p>
|
---|
1078 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1079 | <tr>
|
---|
1080 | <td class="md">
|
---|
1081 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1082 | <tr>
|
---|
1083 | <td class="md" nowrap valign="top"> virtual const XMLCh* DOMNode::getTextContent </td>
|
---|
1084 | <td class="md" valign="top">( </td>
|
---|
1085 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1086 | <td class="md" valign="top">) </td>
|
---|
1087 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
1088 | </tr>
|
---|
1089 |
|
---|
1090 | </table>
|
---|
1091 | </td>
|
---|
1092 | </tr>
|
---|
1093 | </table>
|
---|
1094 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1095 | <tr>
|
---|
1096 | <td>
|
---|
1097 |
|
---|
1098 | </td>
|
---|
1099 | <td>
|
---|
1100 |
|
---|
1101 | <p>
|
---|
1102 | This attribute returns the text content of this node and its descendants.
|
---|
1103 | <p>
|
---|
1104 | When it is defined to be null, setting it has no effect. When set, any possible children this node may have are removed and replaced by a single <code><a class="el" href="classDOMText.html">DOMText</a></code> node containing the string this attribute is set to. On getting, no serialization is performed, the returned string does not contain any markup. No whitespace normalization is performed, the returned string does not contain the element content whitespaces . Similarly, on setting, no parsing is performed either, the input string is taken as pure textual content.
|
---|
1105 | <p>
|
---|
1106 |
|
---|
1107 | <p>
|
---|
1108 | <b>"Experimental - subject to change"</b>
|
---|
1109 | <p>
|
---|
1110 | <br>
|
---|
1111 | The string returned is made of the text content of this node depending on its type, as defined below: <th>Node type</th> <th>Content</th> <table border=1 cellspacing=3 cellpadding=3></tr>
|
---|
1112 | <tr><td> ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, DOCUMENT_FRAGMENT_NODE </td><td>concatenation of the <code>textContent</code> attribute value of every child node, excluding COMMENT_NODE and PROCESSING_INSTRUCTION_NODE nodes </td></tr>
|
---|
1113 | <tr><td>ATTRIBUTE_NODE, TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE, PROCESSING_INSTRUCTION_NODE </td><td> <code>nodeValue</code> </td></tr>
|
---|
1114 | <tr><td>DOCUMENT_NODE, DOCUMENT_TYPE_NODE, NOTATION_NODE </td><td> null </td></tr></table>
|
---|
1115 | <dl compact><dt><b>
|
---|
1116 | Exceptions: </b><dd>
|
---|
1117 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1118 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1119 | NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. </td></tr>
|
---|
1120 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1121 | DOMSTRING_SIZE_ERR: Raised when it would return more characters than fit in a <code>DOMString</code> variable on the implementation platform. </td></tr>
|
---|
1122 | </table>
|
---|
1123 | </dl><dl compact><dt><b>
|
---|
1124 | Since: </b><dd>
|
---|
1125 | DOM Level 3 </dl> </td>
|
---|
1126 | </tr>
|
---|
1127 | </table>
|
---|
1128 | <a name="z115_3" doxytag="DOMNode::getUserData"></a><p>
|
---|
1129 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1130 | <tr>
|
---|
1131 | <td class="md">
|
---|
1132 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1133 | <tr>
|
---|
1134 | <td class="md" nowrap valign="top"> virtual void* DOMNode::getUserData </td>
|
---|
1135 | <td class="md" valign="top">( </td>
|
---|
1136 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
1137 | <td class="mdname1" valign="top" nowrap> <em>key</em> </td>
|
---|
1138 | <td class="md" valign="top">) </td>
|
---|
1139 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
1140 | </tr>
|
---|
1141 |
|
---|
1142 | </table>
|
---|
1143 | </td>
|
---|
1144 | </tr>
|
---|
1145 | </table>
|
---|
1146 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1147 | <tr>
|
---|
1148 | <td>
|
---|
1149 |
|
---|
1150 | </td>
|
---|
1151 | <td>
|
---|
1152 |
|
---|
1153 | <p>
|
---|
1154 | Retrieves the object associated to a key on a this node.
|
---|
1155 | <p>
|
---|
1156 | The object must first have been set to this node by calling <code>setUserData</code> with the same key.
|
---|
1157 | <p>
|
---|
1158 |
|
---|
1159 | <p>
|
---|
1160 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
1161 | Parameters: </b><dd>
|
---|
1162 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1163 | <tr><td valign=top><em>key</em> </td><td>
|
---|
1164 | The key the object is associated to. </td></tr>
|
---|
1165 | </table>
|
---|
1166 | </dl><dl compact><dt><b>
|
---|
1167 | Returns: </b><dd>
|
---|
1168 | Returns the <code>void*</code> associated to the given key on this node, or <code>null</code> if there was none. </dl><dl compact><dt><b>
|
---|
1169 | See also: </b><dd>
|
---|
1170 | <a class="el" href="classDOMNode.html#z115_2">setUserData</a> </dl><dl compact><dt><b>
|
---|
1171 | Since: </b><dd>
|
---|
1172 | DOM Level 3 </dl> </td>
|
---|
1173 | </tr>
|
---|
1174 | </table>
|
---|
1175 | <a name="z114_6" doxytag="DOMNode::hasAttributes"></a><p>
|
---|
1176 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1177 | <tr>
|
---|
1178 | <td class="md">
|
---|
1179 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1180 | <tr>
|
---|
1181 | <td class="md" nowrap valign="top"> virtual bool DOMNode::hasAttributes </td>
|
---|
1182 | <td class="md" valign="top">( </td>
|
---|
1183 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1184 | <td class="md" valign="top">) </td>
|
---|
1185 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
1186 | </tr>
|
---|
1187 |
|
---|
1188 | </table>
|
---|
1189 | </td>
|
---|
1190 | </tr>
|
---|
1191 | </table>
|
---|
1192 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1193 | <tr>
|
---|
1194 | <td>
|
---|
1195 |
|
---|
1196 | </td>
|
---|
1197 | <td>
|
---|
1198 |
|
---|
1199 | <p>
|
---|
1200 | Returns whether this node (if it is an element) has any attributes.
|
---|
1201 | <p>
|
---|
1202 | <dl compact><dt><b>
|
---|
1203 | Returns: </b><dd>
|
---|
1204 | <code>true</code> if this node has any attributes, <code>false</code> otherwise. </dl><dl compact><dt><b>
|
---|
1205 | Since: </b><dd>
|
---|
1206 | DOM Level 2 </dl> </td>
|
---|
1207 | </tr>
|
---|
1208 | </table>
|
---|
1209 | <a name="z113_16" doxytag="DOMNode::hasChildNodes"></a><p>
|
---|
1210 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1211 | <tr>
|
---|
1212 | <td class="md">
|
---|
1213 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1214 | <tr>
|
---|
1215 | <td class="md" nowrap valign="top"> virtual bool DOMNode::hasChildNodes </td>
|
---|
1216 | <td class="md" valign="top">( </td>
|
---|
1217 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1218 | <td class="md" valign="top">) </td>
|
---|
1219 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
1220 | </tr>
|
---|
1221 |
|
---|
1222 | </table>
|
---|
1223 | </td>
|
---|
1224 | </tr>
|
---|
1225 | </table>
|
---|
1226 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1227 | <tr>
|
---|
1228 | <td>
|
---|
1229 |
|
---|
1230 | </td>
|
---|
1231 | <td>
|
---|
1232 |
|
---|
1233 | <p>
|
---|
1234 | This is a convenience method to allow easy determination of whether a node has any children.
|
---|
1235 | <p>
|
---|
1236 | <dl compact><dt><b>
|
---|
1237 | Returns: </b><dd>
|
---|
1238 | <code>true</code> if the node has any children, <code>false</code> if the node has no children. </dl><dl compact><dt><b>
|
---|
1239 | Since: </b><dd>
|
---|
1240 | DOM Level 1 </dl> </td>
|
---|
1241 | </tr>
|
---|
1242 | </table>
|
---|
1243 | <a name="z113_12" doxytag="DOMNode::insertBefore"></a><p>
|
---|
1244 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1245 | <tr>
|
---|
1246 | <td class="md">
|
---|
1247 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1248 | <tr>
|
---|
1249 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::insertBefore </td>
|
---|
1250 | <td class="md" valign="top">( </td>
|
---|
1251 | <td class="md" nowrap valign="top">DOMNode * </td>
|
---|
1252 | <td class="mdname" nowrap> <em>newChild</em>, </td>
|
---|
1253 | </tr>
|
---|
1254 | <tr>
|
---|
1255 | <td></td>
|
---|
1256 | <td></td>
|
---|
1257 | <td class="md" nowrap>DOMNode * </td>
|
---|
1258 | <td class="mdname" nowrap> <em>refChild</em></td>
|
---|
1259 | </tr>
|
---|
1260 | <tr>
|
---|
1261 | <td></td>
|
---|
1262 | <td class="md">) </td>
|
---|
1263 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
1264 | </tr>
|
---|
1265 |
|
---|
1266 | </table>
|
---|
1267 | </td>
|
---|
1268 | </tr>
|
---|
1269 | </table>
|
---|
1270 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1271 | <tr>
|
---|
1272 | <td>
|
---|
1273 |
|
---|
1274 | </td>
|
---|
1275 | <td>
|
---|
1276 |
|
---|
1277 | <p>
|
---|
1278 | Inserts the node <code>newChild</code> before the existing child node <code>refChild</code>.
|
---|
1279 | <p>
|
---|
1280 | If <code>refChild</code> is <code>null</code>, insert <code>newChild</code> at the end of the list of children. <br>
|
---|
1281 | If <code>newChild</code> is a <code><a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a></code> object, all of its children are inserted, in the same order, before <code>refChild</code>. If the <code>newChild</code> is already in the tree, it is first removed. Note that a <code>DOMNode</code> that has never been assigned to refer to an actual node is == null. <dl compact><dt><b>
|
---|
1282 | Parameters: </b><dd>
|
---|
1283 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1284 | <tr><td valign=top><em>newChild</em> </td><td>
|
---|
1285 | The node to insert. </td></tr>
|
---|
1286 | <tr><td valign=top><em>refChild</em> </td><td>
|
---|
1287 | The reference node, i.e., the node before which the new node must be inserted. </td></tr>
|
---|
1288 | </table>
|
---|
1289 | </dl><dl compact><dt><b>
|
---|
1290 | Returns: </b><dd>
|
---|
1291 | The node being inserted. </dl><dl compact><dt><b>
|
---|
1292 | Exceptions: </b><dd>
|
---|
1293 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1294 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1295 | HIERARCHY_REQUEST_ERR: Raised if this node is of a type that does not allow children of the type of the <code>newChild</code> node, or if the node to insert is one of this node's ancestors. <br>
|
---|
1296 | WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was created from a different document than the one that created this node. <br>
|
---|
1297 | NO_MODIFICATION_ALLOWED_ERR: Raised if this node or the node being inserted is readonly. <br>
|
---|
1298 | NOT_FOUND_ERR: Raised if <code>refChild</code> is not a child of this node. </td></tr>
|
---|
1299 | </table>
|
---|
1300 | </dl><dl compact><dt><b>
|
---|
1301 | Since: </b><dd>
|
---|
1302 | DOM Level 1 </dl> </td>
|
---|
1303 | </tr>
|
---|
1304 | </table>
|
---|
1305 | <a name="z115_9" doxytag="DOMNode::isDefaultNamespace"></a><p>
|
---|
1306 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1307 | <tr>
|
---|
1308 | <td class="md">
|
---|
1309 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1310 | <tr>
|
---|
1311 | <td class="md" nowrap valign="top"> virtual bool DOMNode::isDefaultNamespace </td>
|
---|
1312 | <td class="md" valign="top">( </td>
|
---|
1313 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
1314 | <td class="mdname1" valign="top" nowrap> <em>namespaceURI</em> </td>
|
---|
1315 | <td class="md" valign="top">) </td>
|
---|
1316 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
1317 | </tr>
|
---|
1318 |
|
---|
1319 | </table>
|
---|
1320 | </td>
|
---|
1321 | </tr>
|
---|
1322 | </table>
|
---|
1323 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1324 | <tr>
|
---|
1325 | <td>
|
---|
1326 |
|
---|
1327 | </td>
|
---|
1328 | <td>
|
---|
1329 |
|
---|
1330 | <p>
|
---|
1331 | This method checks if the specified <code>namespaceURI</code> is the default namespace or not.
|
---|
1332 | <p>
|
---|
1333 |
|
---|
1334 | <p>
|
---|
1335 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
1336 | Parameters: </b><dd>
|
---|
1337 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1338 | <tr><td valign=top><em>namespaceURI</em> </td><td>
|
---|
1339 | The namespace URI to look for. </td></tr>
|
---|
1340 | </table>
|
---|
1341 | </dl><dl compact><dt><b>
|
---|
1342 | Returns: </b><dd>
|
---|
1343 | <code>true</code> if the specified <code>namespaceURI</code> is the default namespace, <code>false</code> otherwise. </dl><dl compact><dt><b>
|
---|
1344 | Since: </b><dd>
|
---|
1345 | DOM Level 3 </dl> </td>
|
---|
1346 | </tr>
|
---|
1347 | </table>
|
---|
1348 | <a name="z115_1" doxytag="DOMNode::isEqualNode"></a><p>
|
---|
1349 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1350 | <tr>
|
---|
1351 | <td class="md">
|
---|
1352 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1353 | <tr>
|
---|
1354 | <td class="md" nowrap valign="top"> virtual bool DOMNode::isEqualNode </td>
|
---|
1355 | <td class="md" valign="top">( </td>
|
---|
1356 | <td class="md" nowrap valign="top">const DOMNode * </td>
|
---|
1357 | <td class="mdname1" valign="top" nowrap> <em>arg</em> </td>
|
---|
1358 | <td class="md" valign="top">) </td>
|
---|
1359 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
1360 | </tr>
|
---|
1361 |
|
---|
1362 | </table>
|
---|
1363 | </td>
|
---|
1364 | </tr>
|
---|
1365 | </table>
|
---|
1366 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1367 | <tr>
|
---|
1368 | <td>
|
---|
1369 |
|
---|
1370 | </td>
|
---|
1371 | <td>
|
---|
1372 |
|
---|
1373 | <p>
|
---|
1374 | Tests whether two nodes are equal.
|
---|
1375 | <p>
|
---|
1376 | <br>
|
---|
1377 | This method tests for equality of nodes, not sameness (i.e., whether the two nodes are pointers to the same object) which can be tested with <code><a class="el" href="classDOMNode.html#z115_0">DOMNode::isSameNode</a></code>. All nodes that are the same will also be equal, though the reverse may not be true. <br>
|
---|
1378 | Two nodes are equal if and only if the following conditions are satisfied: The two nodes are of the same type.The following string attributes are equal: <code>nodeName</code>, <code>localName</code>, <code>namespaceURI</code>, <code>prefix</code>, <code>nodeValue</code> , <code>baseURI</code>. This is: they are both <code>null</code>, or they have the same length and are character for character identical. The <code>attributes</code> <code>DOMNamedNodeMaps</code> are equal. This is: they are both <code>null</code>, or they have the same length and for each node that exists in one map there is a node that exists in the other map and is equal, although not necessarily at the same index.The <code>childNodes</code> <code>DOMNodeLists</code> are equal. This is: they are both <code>null</code>, or they have the same length and contain equal nodes at the same index. This is true for <code><a class="el" href="classDOMAttr.html">DOMAttr</a></code> nodes as for any other type of node. Note that normalization can affect equality; to avoid this, nodes should be normalized before being compared. <br>
|
---|
1379 | For two <code><a class="el" href="classDOMDocumentType.html">DOMDocumentType</a></code> nodes to be equal, the following conditions must also be satisfied: The following string attributes are equal: <code>publicId</code>, <code>systemId</code>, <code>internalSubset</code>.The <code>entities</code> <code>DOMNamedNodeMaps</code> are equal.The <code>notations</code> <code>DOMNamedNodeMaps</code> are equal. <br>
|
---|
1380 | On the other hand, the following do not affect equality: the <code>ownerDocument</code> attribute, the <code>specified</code> attribute for <code><a class="el" href="classDOMAttr.html">DOMAttr</a></code> nodes, the <code>isWhitespaceInElementContent</code> attribute for <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes, as well as any user data or event listeners registered on the nodes.
|
---|
1381 | <p>
|
---|
1382 |
|
---|
1383 | <p>
|
---|
1384 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
1385 | Parameters: </b><dd>
|
---|
1386 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1387 | <tr><td valign=top><em>arg</em> </td><td>
|
---|
1388 | The node to compare equality with. </td></tr>
|
---|
1389 | </table>
|
---|
1390 | </dl><dl compact><dt><b>
|
---|
1391 | Returns: </b><dd>
|
---|
1392 | If the nodes, and possibly subtrees are equal, <code>true</code> otherwise <code>false</code>. </dl><dl compact><dt><b>
|
---|
1393 | Since: </b><dd>
|
---|
1394 | DOM Level 3 </dl> </td>
|
---|
1395 | </tr>
|
---|
1396 | </table>
|
---|
1397 | <a name="z115_0" doxytag="DOMNode::isSameNode"></a><p>
|
---|
1398 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1399 | <tr>
|
---|
1400 | <td class="md">
|
---|
1401 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1402 | <tr>
|
---|
1403 | <td class="md" nowrap valign="top"> virtual bool DOMNode::isSameNode </td>
|
---|
1404 | <td class="md" valign="top">( </td>
|
---|
1405 | <td class="md" nowrap valign="top">const DOMNode * </td>
|
---|
1406 | <td class="mdname1" valign="top" nowrap> <em>other</em> </td>
|
---|
1407 | <td class="md" valign="top">) </td>
|
---|
1408 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
1409 | </tr>
|
---|
1410 |
|
---|
1411 | </table>
|
---|
1412 | </td>
|
---|
1413 | </tr>
|
---|
1414 | </table>
|
---|
1415 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1416 | <tr>
|
---|
1417 | <td>
|
---|
1418 |
|
---|
1419 | </td>
|
---|
1420 | <td>
|
---|
1421 |
|
---|
1422 | <p>
|
---|
1423 | Returns whether this node is the same node as the given one.
|
---|
1424 | <p>
|
---|
1425 | <br>
|
---|
1426 | This method provides a way to determine whether two <code>DOMNode</code> references returned by the implementation reference the same object. When two <code>DOMNode</code> references are references to the same object, even if through a proxy, the references may be used completely interchangeably, such that all attributes have the same values and calling the same DOM method on either reference always has exactly the same effect.
|
---|
1427 | <p>
|
---|
1428 |
|
---|
1429 | <p>
|
---|
1430 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
1431 | Parameters: </b><dd>
|
---|
1432 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1433 | <tr><td valign=top><em>other</em> </td><td>
|
---|
1434 | The node to test against. </td></tr>
|
---|
1435 | </table>
|
---|
1436 | </dl><dl compact><dt><b>
|
---|
1437 | Returns: </b><dd>
|
---|
1438 | Returns <code>true</code> if the nodes are the same, <code>false</code> otherwise. </dl><dl compact><dt><b>
|
---|
1439 | Since: </b><dd>
|
---|
1440 | DOM Level 3 </dl> </td>
|
---|
1441 | </tr>
|
---|
1442 | </table>
|
---|
1443 | <a name="z114_1" doxytag="DOMNode::isSupported"></a><p>
|
---|
1444 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1445 | <tr>
|
---|
1446 | <td class="md">
|
---|
1447 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1448 | <tr>
|
---|
1449 | <td class="md" nowrap valign="top"> virtual bool DOMNode::isSupported </td>
|
---|
1450 | <td class="md" valign="top">( </td>
|
---|
1451 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
1452 | <td class="mdname" nowrap> <em>feature</em>, </td>
|
---|
1453 | </tr>
|
---|
1454 | <tr>
|
---|
1455 | <td></td>
|
---|
1456 | <td></td>
|
---|
1457 | <td class="md" nowrap>const XMLCh * </td>
|
---|
1458 | <td class="mdname" nowrap> <em>version</em></td>
|
---|
1459 | </tr>
|
---|
1460 | <tr>
|
---|
1461 | <td></td>
|
---|
1462 | <td class="md">) </td>
|
---|
1463 | <td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
---|
1464 | </tr>
|
---|
1465 |
|
---|
1466 | </table>
|
---|
1467 | </td>
|
---|
1468 | </tr>
|
---|
1469 | </table>
|
---|
1470 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1471 | <tr>
|
---|
1472 | <td>
|
---|
1473 |
|
---|
1474 | </td>
|
---|
1475 | <td>
|
---|
1476 |
|
---|
1477 | <p>
|
---|
1478 | Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.
|
---|
1479 | <p>
|
---|
1480 | <dl compact><dt><b>
|
---|
1481 | Parameters: </b><dd>
|
---|
1482 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1483 | <tr><td valign=top><em>feature</em> </td><td>
|
---|
1484 | The string of the feature to test. This is the same name as what can be passed to the method <code>hasFeature</code> on <code><a class="el" href="classDOMImplementation.html">DOMImplementation</a></code>. </td></tr>
|
---|
1485 | <tr><td valign=top><em>version</em> </td><td>
|
---|
1486 | This is the version number of the feature to test. In Level 2, version 1, this is the string "2.0". If the version is not specified, supporting any version of the feature will cause the method to return <code>true</code>. </td></tr>
|
---|
1487 | </table>
|
---|
1488 | </dl><dl compact><dt><b>
|
---|
1489 | Returns: </b><dd>
|
---|
1490 | Returns <code>true</code> if the specified feature is supported on this node, <code>false</code> otherwise. </dl><dl compact><dt><b>
|
---|
1491 | Since: </b><dd>
|
---|
1492 | DOM Level 2 </dl> </td>
|
---|
1493 | </tr>
|
---|
1494 | </table>
|
---|
1495 | <a name="z115_8" doxytag="DOMNode::lookupNamespacePrefix"></a><p>
|
---|
1496 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1497 | <tr>
|
---|
1498 | <td class="md">
|
---|
1499 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1500 | <tr>
|
---|
1501 | <td class="md" nowrap valign="top"> virtual const XMLCh* DOMNode::lookupNamespacePrefix </td>
|
---|
1502 | <td class="md" valign="top">( </td>
|
---|
1503 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
1504 | <td class="mdname" nowrap> <em>namespaceURI</em>, </td>
|
---|
1505 | </tr>
|
---|
1506 | <tr>
|
---|
1507 | <td></td>
|
---|
1508 | <td></td>
|
---|
1509 | <td class="md" nowrap>bool </td>
|
---|
1510 | <td class="mdname" nowrap> <em>useDefault</em></td>
|
---|
1511 | </tr>
|
---|
1512 | <tr>
|
---|
1513 | <td></td>
|
---|
1514 | <td class="md">) </td>
|
---|
1515 | <td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
---|
1516 | </tr>
|
---|
1517 |
|
---|
1518 | </table>
|
---|
1519 | </td>
|
---|
1520 | </tr>
|
---|
1521 | </table>
|
---|
1522 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1523 | <tr>
|
---|
1524 | <td>
|
---|
1525 |
|
---|
1526 | </td>
|
---|
1527 | <td>
|
---|
1528 |
|
---|
1529 | <p>
|
---|
1530 | Look up the prefix associated to the given namespace URI, starting from this node.
|
---|
1531 | <p>
|
---|
1532 |
|
---|
1533 | <p>
|
---|
1534 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
1535 | Parameters: </b><dd>
|
---|
1536 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1537 | <tr><td valign=top><em>namespaceURI</em> </td><td>
|
---|
1538 | The namespace URI to look for. </td></tr>
|
---|
1539 | <tr><td valign=top><em>useDefault</em> </td><td>
|
---|
1540 | Indicates if the lookup mechanism should take into account the default namespace or not. </td></tr>
|
---|
1541 | </table>
|
---|
1542 | </dl><dl compact><dt><b>
|
---|
1543 | Returns: </b><dd>
|
---|
1544 | Returns an associated namespace prefix if found, <code>null</code> if none is found and <code>useDefault</code> is false, or <code>null</code> if not found or it is the default namespace and <code>useDefault</code> is <code>true</code>. If more than one prefix are associated to the namespace prefix, the returned namespace prefix is implementation dependent. </dl><dl compact><dt><b>
|
---|
1545 | Since: </b><dd>
|
---|
1546 | DOM Level 3 </dl> </td>
|
---|
1547 | </tr>
|
---|
1548 | </table>
|
---|
1549 | <a name="z115_10" doxytag="DOMNode::lookupNamespaceURI"></a><p>
|
---|
1550 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1551 | <tr>
|
---|
1552 | <td class="md">
|
---|
1553 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1554 | <tr>
|
---|
1555 | <td class="md" nowrap valign="top"> virtual const XMLCh* DOMNode::lookupNamespaceURI </td>
|
---|
1556 | <td class="md" valign="top">( </td>
|
---|
1557 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
1558 | <td class="mdname1" valign="top" nowrap> <em>prefix</em> </td>
|
---|
1559 | <td class="md" valign="top">) </td>
|
---|
1560 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
1561 | </tr>
|
---|
1562 |
|
---|
1563 | </table>
|
---|
1564 | </td>
|
---|
1565 | </tr>
|
---|
1566 | </table>
|
---|
1567 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1568 | <tr>
|
---|
1569 | <td>
|
---|
1570 |
|
---|
1571 | </td>
|
---|
1572 | <td>
|
---|
1573 |
|
---|
1574 | <p>
|
---|
1575 | Look up the namespace URI associated to the given prefix, starting from this node.
|
---|
1576 | <p>
|
---|
1577 |
|
---|
1578 | <p>
|
---|
1579 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
1580 | Parameters: </b><dd>
|
---|
1581 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1582 | <tr><td valign=top><em>prefix</em> </td><td>
|
---|
1583 | The prefix to look for. If this parameter is <code>null</code>, the method will return the default namespace URI if any. </td></tr>
|
---|
1584 | </table>
|
---|
1585 | </dl><dl compact><dt><b>
|
---|
1586 | Returns: </b><dd>
|
---|
1587 | Returns the associated namespace URI or <code>null</code> if none is found. </dl><dl compact><dt><b>
|
---|
1588 | Since: </b><dd>
|
---|
1589 | DOM Level 3 </dl> </td>
|
---|
1590 | </tr>
|
---|
1591 | </table>
|
---|
1592 | <a name="z114_0" doxytag="DOMNode::normalize"></a><p>
|
---|
1593 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1594 | <tr>
|
---|
1595 | <td class="md">
|
---|
1596 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1597 | <tr>
|
---|
1598 | <td class="md" nowrap valign="top"> virtual void DOMNode::normalize </td>
|
---|
1599 | <td class="md" valign="top">( </td>
|
---|
1600 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1601 | <td class="md" valign="top">) </td>
|
---|
1602 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
1603 | </tr>
|
---|
1604 |
|
---|
1605 | </table>
|
---|
1606 | </td>
|
---|
1607 | </tr>
|
---|
1608 | </table>
|
---|
1609 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1610 | <tr>
|
---|
1611 | <td>
|
---|
1612 |
|
---|
1613 | </td>
|
---|
1614 | <td>
|
---|
1615 |
|
---|
1616 | <p>
|
---|
1617 | Puts all <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes in the full depth of the sub-tree underneath this <code>DOMNode</code>, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes, i.e., there are neither adjacent <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes nor empty <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes.
|
---|
1618 | <p>
|
---|
1619 | This can be used to ensure that the DOM view of a document is the same as if it were saved and re-loaded, and is useful when operations (such as XPointer lookups) that depend on a particular document tree structure are to be used.
|
---|
1620 | <p>
|
---|
1621 | <b>Note:</b> In cases where the document contains <code>DOMCDATASections</code>, the normalize operation alone may not be sufficient, since XPointers do not differentiate between <code><a class="el" href="classDOMText.html">DOMText</a></code> nodes and <code><a class="el" href="classDOMCDATASection.html">DOMCDATASection</a></code> nodes.
|
---|
1622 | <p>
|
---|
1623 | <dl compact><dt><b>
|
---|
1624 | Since: </b><dd>
|
---|
1625 | DOM Level 2 </dl> </td>
|
---|
1626 | </tr>
|
---|
1627 | </table>
|
---|
1628 | <a name="z116_0" doxytag="DOMNode::release"></a><p>
|
---|
1629 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1630 | <tr>
|
---|
1631 | <td class="md">
|
---|
1632 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1633 | <tr>
|
---|
1634 | <td class="md" nowrap valign="top"> virtual void DOMNode::release </td>
|
---|
1635 | <td class="md" valign="top">( </td>
|
---|
1636 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1637 | <td class="md" valign="top">) </td>
|
---|
1638 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
1639 | </tr>
|
---|
1640 |
|
---|
1641 | </table>
|
---|
1642 | </td>
|
---|
1643 | </tr>
|
---|
1644 | </table>
|
---|
1645 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1646 | <tr>
|
---|
1647 | <td>
|
---|
1648 |
|
---|
1649 | </td>
|
---|
1650 | <td>
|
---|
1651 |
|
---|
1652 | <p>
|
---|
1653 | Called to indicate that this Node (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children.
|
---|
1654 | <p>
|
---|
1655 | If this is a document, any nodes it owns (created by DOMDocument::createXXXX()) are also released.
|
---|
1656 | <p>
|
---|
1657 | Access to a released object will lead to unexpected result.<dl compact><dt><b>
|
---|
1658 | Exceptions: </b><dd>
|
---|
1659 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1660 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1661 | INVALID_ACCESS_ERR: Raised if this Node has a parent and thus should not be released yet. </td></tr>
|
---|
1662 | </table>
|
---|
1663 | </dl> </td>
|
---|
1664 | </tr>
|
---|
1665 | </table>
|
---|
1666 | <a name="z113_14" doxytag="DOMNode::removeChild"></a><p>
|
---|
1667 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1668 | <tr>
|
---|
1669 | <td class="md">
|
---|
1670 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1671 | <tr>
|
---|
1672 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::removeChild </td>
|
---|
1673 | <td class="md" valign="top">( </td>
|
---|
1674 | <td class="md" nowrap valign="top">DOMNode * </td>
|
---|
1675 | <td class="mdname1" valign="top" nowrap> <em>oldChild</em> </td>
|
---|
1676 | <td class="md" valign="top">) </td>
|
---|
1677 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
1678 | </tr>
|
---|
1679 |
|
---|
1680 | </table>
|
---|
1681 | </td>
|
---|
1682 | </tr>
|
---|
1683 | </table>
|
---|
1684 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1685 | <tr>
|
---|
1686 | <td>
|
---|
1687 |
|
---|
1688 | </td>
|
---|
1689 | <td>
|
---|
1690 |
|
---|
1691 | <p>
|
---|
1692 | Removes the child node indicated by <code>oldChild</code> from the list of children, and returns it.
|
---|
1693 | <p>
|
---|
1694 | <dl compact><dt><b>
|
---|
1695 | Parameters: </b><dd>
|
---|
1696 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1697 | <tr><td valign=top><em>oldChild</em> </td><td>
|
---|
1698 | The node being removed. </td></tr>
|
---|
1699 | </table>
|
---|
1700 | </dl><dl compact><dt><b>
|
---|
1701 | Returns: </b><dd>
|
---|
1702 | The node removed. </dl><dl compact><dt><b>
|
---|
1703 | Exceptions: </b><dd>
|
---|
1704 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1705 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1706 | NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. <br>
|
---|
1707 | NOT_FOUND_ERR: Raised if <code>oldChild</code> is not a child of this node. </td></tr>
|
---|
1708 | </table>
|
---|
1709 | </dl><dl compact><dt><b>
|
---|
1710 | Since: </b><dd>
|
---|
1711 | DOM Level 1 </dl> </td>
|
---|
1712 | </tr>
|
---|
1713 | </table>
|
---|
1714 | <a name="z113_13" doxytag="DOMNode::replaceChild"></a><p>
|
---|
1715 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1716 | <tr>
|
---|
1717 | <td class="md">
|
---|
1718 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1719 | <tr>
|
---|
1720 | <td class="md" nowrap valign="top"> virtual DOMNode* DOMNode::replaceChild </td>
|
---|
1721 | <td class="md" valign="top">( </td>
|
---|
1722 | <td class="md" nowrap valign="top">DOMNode * </td>
|
---|
1723 | <td class="mdname" nowrap> <em>newChild</em>, </td>
|
---|
1724 | </tr>
|
---|
1725 | <tr>
|
---|
1726 | <td></td>
|
---|
1727 | <td></td>
|
---|
1728 | <td class="md" nowrap>DOMNode * </td>
|
---|
1729 | <td class="mdname" nowrap> <em>oldChild</em></td>
|
---|
1730 | </tr>
|
---|
1731 | <tr>
|
---|
1732 | <td></td>
|
---|
1733 | <td class="md">) </td>
|
---|
1734 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
1735 | </tr>
|
---|
1736 |
|
---|
1737 | </table>
|
---|
1738 | </td>
|
---|
1739 | </tr>
|
---|
1740 | </table>
|
---|
1741 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1742 | <tr>
|
---|
1743 | <td>
|
---|
1744 |
|
---|
1745 | </td>
|
---|
1746 | <td>
|
---|
1747 |
|
---|
1748 | <p>
|
---|
1749 | Replaces the child node <code>oldChild</code> with <code>newChild</code> in the list of children, and returns the <code>oldChild</code> node.
|
---|
1750 | <p>
|
---|
1751 | If <code>newChild</code> is a <code><a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a></code> object, <code>oldChild</code> is replaced by all of the <code><a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a></code> children, which are inserted in the same order.
|
---|
1752 | <p>
|
---|
1753 | If the <code>newChild</code> is already in the tree, it is first removed. <dl compact><dt><b>
|
---|
1754 | Parameters: </b><dd>
|
---|
1755 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1756 | <tr><td valign=top><em>newChild</em> </td><td>
|
---|
1757 | The new node to put in the child list. </td></tr>
|
---|
1758 | <tr><td valign=top><em>oldChild</em> </td><td>
|
---|
1759 | The node being replaced in the list. </td></tr>
|
---|
1760 | </table>
|
---|
1761 | </dl><dl compact><dt><b>
|
---|
1762 | Returns: </b><dd>
|
---|
1763 | The node replaced. </dl><dl compact><dt><b>
|
---|
1764 | Exceptions: </b><dd>
|
---|
1765 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1766 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1767 | HIERARCHY_REQUEST_ERR: Raised if this node is of a type that does not allow children of the type of the <code>newChild</code> node, or it the node to put in is one of this node's ancestors. <br>
|
---|
1768 | WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was created from a different document than the one that created this node. <br>
|
---|
1769 | NO_MODIFICATION_ALLOWED_ERR: Raised if this node or the new node is readonly. <br>
|
---|
1770 | NOT_FOUND_ERR: Raised if <code>oldChild</code> is not a child of this node. </td></tr>
|
---|
1771 | </table>
|
---|
1772 | </dl><dl compact><dt><b>
|
---|
1773 | Since: </b><dd>
|
---|
1774 | DOM Level 1 </dl> </td>
|
---|
1775 | </tr>
|
---|
1776 | </table>
|
---|
1777 | <a name="z113_17" doxytag="DOMNode::setNodeValue"></a><p>
|
---|
1778 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1779 | <tr>
|
---|
1780 | <td class="md">
|
---|
1781 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1782 | <tr>
|
---|
1783 | <td class="md" nowrap valign="top"> virtual void DOMNode::setNodeValue </td>
|
---|
1784 | <td class="md" valign="top">( </td>
|
---|
1785 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
1786 | <td class="mdname1" valign="top" nowrap> <em>nodeValue</em> </td>
|
---|
1787 | <td class="md" valign="top">) </td>
|
---|
1788 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
1789 | </tr>
|
---|
1790 |
|
---|
1791 | </table>
|
---|
1792 | </td>
|
---|
1793 | </tr>
|
---|
1794 | </table>
|
---|
1795 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1796 | <tr>
|
---|
1797 | <td>
|
---|
1798 |
|
---|
1799 | </td>
|
---|
1800 | <td>
|
---|
1801 |
|
---|
1802 | <p>
|
---|
1803 | Sets the value of the node.
|
---|
1804 | <p>
|
---|
1805 | Any node which can have a nodeValue (<dl compact><dt><b>
|
---|
1806 | See also: </b><dd>
|
---|
1807 | <a class="el" href="classDOMNode.html#z113_1">getNodeValue</a>) will also accept requests to set it to a string. The exact response to this varies from node to node -- Attribute, for example, stores its values in its children and has to replace them with a new Text holding the replacement value.</dl>For most types of Node, value is null and attempting to set it will throw DOMException(NO_MODIFICATION_ALLOWED_ERR). This will also be thrown if the node is read-only. <dl compact><dt><b>
|
---|
1808 | Since: </b><dd>
|
---|
1809 | DOM Level 1 </dl> </td>
|
---|
1810 | </tr>
|
---|
1811 | </table>
|
---|
1812 | <a name="z114_5" doxytag="DOMNode::setPrefix"></a><p>
|
---|
1813 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1814 | <tr>
|
---|
1815 | <td class="md">
|
---|
1816 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1817 | <tr>
|
---|
1818 | <td class="md" nowrap valign="top"> virtual void DOMNode::setPrefix </td>
|
---|
1819 | <td class="md" valign="top">( </td>
|
---|
1820 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
1821 | <td class="mdname1" valign="top" nowrap> <em>prefix</em> </td>
|
---|
1822 | <td class="md" valign="top">) </td>
|
---|
1823 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
1824 | </tr>
|
---|
1825 |
|
---|
1826 | </table>
|
---|
1827 | </td>
|
---|
1828 | </tr>
|
---|
1829 | </table>
|
---|
1830 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1831 | <tr>
|
---|
1832 | <td>
|
---|
1833 |
|
---|
1834 | </td>
|
---|
1835 | <td>
|
---|
1836 |
|
---|
1837 | <p>
|
---|
1838 | Set the <em>namespace prefix</em> of this node.
|
---|
1839 | <p>
|
---|
1840 |
|
---|
1841 | <p>
|
---|
1842 | Note that setting this attribute, when permitted, changes the <code>nodeName</code> attribute, which holds the <em>qualified name</em>, as well as the <code>tagName</code> and <code>name</code> attributes of the <code><a class="el" href="classDOMElement.html">DOMElement</a></code> and <code><a class="el" href="classDOMAttr.html">DOMAttr</a></code> interfaces, when applicable.
|
---|
1843 | <p>
|
---|
1844 | Note also that changing the prefix of an attribute, that is known to have a default value, does not make a new attribute with the default value and the original prefix appear, since the <code>namespaceURI</code> and <code>localName</code> do not change.<dl compact><dt><b>
|
---|
1845 | Parameters: </b><dd>
|
---|
1846 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1847 | <tr><td valign=top><em>prefix</em> </td><td>
|
---|
1848 | The prefix of this node. </td></tr>
|
---|
1849 | </table>
|
---|
1850 | </dl><dl compact><dt><b>
|
---|
1851 | Exceptions: </b><dd>
|
---|
1852 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1853 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1854 | INVALID_CHARACTER_ERR: Raised if the specified prefix contains an illegal character. <br>
|
---|
1855 | NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. <br>
|
---|
1856 | NAMESPACE_ERR: Raised if the specified <code>prefix</code> is malformed, if the <code>namespaceURI</code> of this node is <code>null</code>, if the specified prefix is "xml" and the <code>namespaceURI</code> of this node is different from "<a href="http://www.w3.org/XML/1998/namespace">http://www.w3.org/XML/1998/namespace</a>", if this node is an attribute and the specified prefix is "xmlns" and the <code>namespaceURI</code> of this node is different from "<a href="http://www.w3.org/2000/xmlns/">http://www.w3.org/2000/xmlns/</a>", or if this node is an attribute and the <code>qualifiedName</code> of this node is "xmlns". </td></tr>
|
---|
1857 | </table>
|
---|
1858 | </dl><dl compact><dt><b>
|
---|
1859 | Since: </b><dd>
|
---|
1860 | DOM Level 2 </dl> </td>
|
---|
1861 | </tr>
|
---|
1862 | </table>
|
---|
1863 | <a name="z115_7" doxytag="DOMNode::setTextContent"></a><p>
|
---|
1864 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1865 | <tr>
|
---|
1866 | <td class="md">
|
---|
1867 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1868 | <tr>
|
---|
1869 | <td class="md" nowrap valign="top"> virtual void DOMNode::setTextContent </td>
|
---|
1870 | <td class="md" valign="top">( </td>
|
---|
1871 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
1872 | <td class="mdname1" valign="top" nowrap> <em>textContent</em> </td>
|
---|
1873 | <td class="md" valign="top">) </td>
|
---|
1874 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
1875 | </tr>
|
---|
1876 |
|
---|
1877 | </table>
|
---|
1878 | </td>
|
---|
1879 | </tr>
|
---|
1880 | </table>
|
---|
1881 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1882 | <tr>
|
---|
1883 | <td>
|
---|
1884 |
|
---|
1885 | </td>
|
---|
1886 | <td>
|
---|
1887 |
|
---|
1888 | <p>
|
---|
1889 | This attribute returns the text content of this node and its descendants.
|
---|
1890 | <p>
|
---|
1891 | When it is defined to be null, setting it has no effect. When set, any possible children this node may have are removed and replaced by a single <code><a class="el" href="classDOMText.html">DOMText</a></code> node containing the string this attribute is set to. On getting, no serialization is performed, the returned string does not contain any markup. No whitespace normalization is performed, the returned string does not contain the element content whitespaces . Similarly, on setting, no parsing is performed either, the input string is taken as pure textual content.
|
---|
1892 | <p>
|
---|
1893 |
|
---|
1894 | <p>
|
---|
1895 | <b>"Experimental - subject to change"</b>
|
---|
1896 | <p>
|
---|
1897 | <br>
|
---|
1898 | The string returned is made of the text content of this node depending on its type, as defined below: <th>Node type</th> <th>Content</th> <table border=1 cellspacing=3 cellpadding=3></tr>
|
---|
1899 | <tr><td> ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, DOCUMENT_FRAGMENT_NODE </td><td>concatenation of the <code>textContent</code> attribute value of every child node, excluding COMMENT_NODE and PROCESSING_INSTRUCTION_NODE nodes </td></tr>
|
---|
1900 | <tr><td>ATTRIBUTE_NODE, TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE, PROCESSING_INSTRUCTION_NODE </td><td> <code>nodeValue</code> </td></tr>
|
---|
1901 | <tr><td>DOCUMENT_NODE, DOCUMENT_TYPE_NODE, NOTATION_NODE </td><td> null </td></tr></table>
|
---|
1902 | <dl compact><dt><b>
|
---|
1903 | Exceptions: </b><dd>
|
---|
1904 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1905 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1906 | NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. </td></tr>
|
---|
1907 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1908 | DOMSTRING_SIZE_ERR: Raised when it would return more characters than fit in a <code>DOMString</code> variable on the implementation platform. </td></tr>
|
---|
1909 | </table>
|
---|
1910 | </dl><dl compact><dt><b>
|
---|
1911 | Since: </b><dd>
|
---|
1912 | DOM Level 3 </dl> </td>
|
---|
1913 | </tr>
|
---|
1914 | </table>
|
---|
1915 | <a name="z115_2" doxytag="DOMNode::setUserData"></a><p>
|
---|
1916 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1917 | <tr>
|
---|
1918 | <td class="md">
|
---|
1919 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1920 | <tr>
|
---|
1921 | <td class="md" nowrap valign="top"> virtual void* DOMNode::setUserData </td>
|
---|
1922 | <td class="md" valign="top">( </td>
|
---|
1923 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
1924 | <td class="mdname" nowrap> <em>key</em>, </td>
|
---|
1925 | </tr>
|
---|
1926 | <tr>
|
---|
1927 | <td></td>
|
---|
1928 | <td></td>
|
---|
1929 | <td class="md" nowrap>void * </td>
|
---|
1930 | <td class="mdname" nowrap> <em>data</em>, </td>
|
---|
1931 | </tr>
|
---|
1932 | <tr>
|
---|
1933 | <td></td>
|
---|
1934 | <td></td>
|
---|
1935 | <td class="md" nowrap><a class="el" href="classDOMUserDataHandler.html">DOMUserDataHandler</a> * </td>
|
---|
1936 | <td class="mdname" nowrap> <em>handler</em></td>
|
---|
1937 | </tr>
|
---|
1938 | <tr>
|
---|
1939 | <td></td>
|
---|
1940 | <td class="md">) </td>
|
---|
1941 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
1942 | </tr>
|
---|
1943 |
|
---|
1944 | </table>
|
---|
1945 | </td>
|
---|
1946 | </tr>
|
---|
1947 | </table>
|
---|
1948 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1949 | <tr>
|
---|
1950 | <td>
|
---|
1951 |
|
---|
1952 | </td>
|
---|
1953 | <td>
|
---|
1954 |
|
---|
1955 | <p>
|
---|
1956 | Associate an object to a key on this node.
|
---|
1957 | <p>
|
---|
1958 | The object can later be retrieved from this node by calling <code>getUserData</code> with the same key.
|
---|
1959 | <p>
|
---|
1960 | Deletion of the user data remains the responsibility of the application program; it will not be automatically deleted when the nodes themselves are reclaimed.
|
---|
1961 | <p>
|
---|
1962 | Both the parameter <code>data</code> and the returned object are void pointer, it is applications' responsibility to keep track of their original type. Casting them to the wrong type may result unexpected behavior.
|
---|
1963 | <p>
|
---|
1964 |
|
---|
1965 | <p>
|
---|
1966 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
1967 | Parameters: </b><dd>
|
---|
1968 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1969 | <tr><td valign=top><em>key</em> </td><td>
|
---|
1970 | The key to associate the object to. </td></tr>
|
---|
1971 | <tr><td valign=top><em>data</em> </td><td>
|
---|
1972 | The object to associate to the given key, or <code>null</code> to remove any existing association to that key. </td></tr>
|
---|
1973 | <tr><td valign=top><em>handler</em> </td><td>
|
---|
1974 | The handler to associate to that key, or <code>null</code>. </td></tr>
|
---|
1975 | </table>
|
---|
1976 | </dl><dl compact><dt><b>
|
---|
1977 | Returns: </b><dd>
|
---|
1978 | Returns the void* object previously associated to the given key on this node, or <code>null</code> if there was none. </dl><dl compact><dt><b>
|
---|
1979 | See also: </b><dd>
|
---|
1980 | <a class="el" href="classDOMNode.html#z115_3">getUserData</a></dl><dl compact><dt><b>
|
---|
1981 | Since: </b><dd>
|
---|
1982 | DOM Level 3 </dl> </td>
|
---|
1983 | </tr>
|
---|
1984 | </table>
|
---|
1985 | <hr>The documentation for this class was generated from the following file:<ul>
|
---|
1986 | <li><a class="el" href="DOMNode_8hpp-source.html">DOMNode.hpp</a></ul>
|
---|
1987 | </FONT></TD></TR></TABLE><BR>
|
---|
1988 | </TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
|
---|
1989 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
1990 | All Rights Reserved.
|
---|
1991 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|