source: NonGTP/Xerces/xerces/doc/html/apiDocs/classDOMAttr.html @ 358

Revision 358, 27.1 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>DOMAttr 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">&nbsp;</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> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
44<hr><h1>DOMAttr Class Reference</h1>The <code>DOMAttr</code> class refers to an attribute of an XML element.
45<a href="#_details">More...</a>
46<p>
47Inheritance diagram for DOMAttr:<p><center><img src="classDOMAttr__inherit__graph.gif" border="0" usemap="#DOMAttr__inherit__map" alt="Inheritance graph"></center>
48<map name="DOMAttr__inherit__map">
49<area href="classDOMNode.html" shape="rect" coords="7,36,79,17" alt="">
50</map>
51<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for DOMAttr:<p><center><img src="classDOMAttr__coll__graph.gif" border="0" usemap="#DOMAttr__coll__map" alt="Collaboration graph"></center>
52<map name="DOMAttr__coll__map">
53<area href="classDOMNode.html" shape="rect" coords="7,36,79,17" alt="">
54</map>
55<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classDOMAttr-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
56<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
57<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
58<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classDOMAttr.html#z2_0">~DOMAttr</a> ()</td></tr>
59<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#z2_0">More...</a><em></em></font><br><br></td></tr>
60<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
61<tr><td nowrap align=right valign=top>virtual const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classDOMAttr.html#z3_0">getName</a> () const=0</td></tr>
62<tr><td>&nbsp;</td><td><font size=-1><em>Returns the name of this attribute.</em> <a href="#z3_0">More...</a><em></em></font><br><br></td></tr>
63<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classDOMAttr.html#z3_1">getSpecified</a> () const=0</td></tr>
64<tr><td>&nbsp;</td><td><font size=-1><em>Returns true if the attribute received its value explicitly in the XML document, or if a value was assigned programatically with the setValue function.</em> <a href="#z3_1">More...</a><em></em></font><br><br></td></tr>
65<tr><td nowrap align=right valign=top>virtual const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classDOMAttr.html#z3_2">getValue</a> () const=0</td></tr>
66<tr><td>&nbsp;</td><td><font size=-1><em>Returns the value of the attribute.</em> <a href="#z3_2">More...</a><em></em></font><br><br></td></tr>
67<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMAttr.html#z3_3">setValue</a> (const XMLCh *value)=0</td></tr>
68<tr><td>&nbsp;</td><td><font size=-1><em>Sets the value of the attribute.</em> <a href="#z3_3">More...</a><em></em></font><br><br></td></tr>
69<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2.</div></td></tr>
70<tr><td nowrap align=right valign=top>virtual <a class="el" href="classDOMElement.html">DOMElement</a> *&nbsp;</td><td valign=bottom><a class="el" href="classDOMAttr.html#z4_0">getOwnerElement</a> () const=0</td></tr>
71<tr><td>&nbsp;</td><td><font size=-1><em>The <code><a class="el" href="classDOMElement.html">DOMElement</a></code> node this attribute is attached to or <code>null</code> if this attribute is not in use.</em> <a href="#z4_0">More...</a><em></em></font><br><br></td></tr>
72<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3.</div></td></tr>
73<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classDOMAttr.html#z5_0">isId</a> () const=0</td></tr>
74<tr><td>&nbsp;</td><td><font size=-1><em>Returns whether this attribute is known to be of type ID or not.</em> <a href="#z5_0">More...</a><em></em></font><br><br></td></tr>
75<tr><td nowrap align=right valign=top>virtual const <a class="el" href="classDOMTypeInfo.html">DOMTypeInfo</a> *&nbsp;</td><td valign=bottom><a class="el" href="classDOMAttr.html#z5_1">getTypeInfo</a> () const=0</td></tr>
76<tr><td>&nbsp;</td><td><font size=-1><em>Returns the type information associated with this attribute.</em> <a href="#z5_1">More...</a><em></em></font><br><br></td></tr>
77<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
78<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
79<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classDOMAttr.html#z0_0">DOMAttr</a> ()</td></tr>
80</table>
81<hr><a name="_details"></a><h2>Detailed Description</h2>
82The <code>DOMAttr</code> class refers to an attribute of an XML element.
83<p>
84Typically the allowable values for the attribute are defined in a documenttype definition.
85<p>
86<code>DOMAttr</code> objects inherit the <code><a class="el" href="classDOMNode.html">DOMNode</a></code> interface, but since attributes are not actually child nodes of the elements they are associated with, the DOM does not consider them part of the document tree. Thus, the <code><a class="el" href="classDOMNode.html">DOMNode</a></code> attributes <code>parentNode</code>, <code>previousSibling</code>, and <code>nextSibling</code> have a null value for <code>DOMAttr</code> objects. The DOM takes the view that attributes are properties of elements rather than having a separate identity from the elements they are associated with; this should make it more efficient to implement such features as default attributes associated with all elements of a given type. Furthermore, attribute nodes may not be immediate children of a <code><a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a></code>. However, they can be associated with <code><a class="el" href="classDOMElement.html">DOMElement</a></code> nodes contained within a <code><a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a></code>. In short, users of the DOM need to be aware that <code>DOMAttr</code> nodes have some things in common with other objects inheriting the <code><a class="el" href="classDOMNode.html">DOMNode</a></code> interface, but they also are quite distinct.
87<p>
88<dl compact><dt><b>
89Since: </b><dd>
90DOM Level 1 </dl>
91<p>
92<hr><h2>Constructor &amp; Destructor Documentation</h2>
93<a name="z0_0" doxytag="DOMAttr::DOMAttr"></a><p>
94<table width="100%" cellpadding="2" cellspacing="0" border="0">
95  <tr>
96    <td class="md">
97      <table cellpadding="0" cellspacing="0" border="0">
98        <tr>
99          <td class="md" nowrap valign="top"> DOMAttr::DOMAttr </td>
100          <td class="md" valign="top">(&nbsp;</td>
101          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
102          <td class="md" valign="top">)&nbsp;</td>
103          <td class="md" nowrap><code> [protected]</code></td>
104        </tr>
105
106      </table>
107    </td>
108  </tr>
109</table>
110<table cellspacing=5 cellpadding=0 border=0>
111  <tr>
112    <td>
113      &nbsp;
114    </td>
115    <td>
116
117<p>
118    </td>
119  </tr>
120</table>
121<a name="z2_0" doxytag="DOMAttr::~DOMAttr"></a><p>
122<table width="100%" cellpadding="2" cellspacing="0" border="0">
123  <tr>
124    <td class="md">
125      <table cellpadding="0" cellspacing="0" border="0">
126        <tr>
127          <td class="md" nowrap valign="top"> virtual DOMAttr::~DOMAttr </td>
128          <td class="md" valign="top">(&nbsp;</td>
129          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
130          <td class="md" valign="top">)&nbsp;</td>
131          <td class="md" nowrap><code> [virtual]</code></td>
132        </tr>
133
134      </table>
135    </td>
136  </tr>
137</table>
138<table cellspacing=5 cellpadding=0 border=0>
139  <tr>
140    <td>
141      &nbsp;
142    </td>
143    <td>
144
145<p>
146Destructor.
147<p>
148    </td>
149  </tr>
150</table>
151<hr><h2>Member Function Documentation</h2>
152<a name="z3_0" doxytag="DOMAttr::getName"></a><p>
153<table width="100%" cellpadding="2" cellspacing="0" border="0">
154  <tr>
155    <td class="md">
156      <table cellpadding="0" cellspacing="0" border="0">
157        <tr>
158          <td class="md" nowrap valign="top"> virtual const XMLCh* DOMAttr::getName </td>
159          <td class="md" valign="top">(&nbsp;</td>
160          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
161          <td class="md" valign="top">)&nbsp;</td>
162          <td class="md" nowrap> const<code> [pure virtual]</code></td>
163        </tr>
164
165      </table>
166    </td>
167  </tr>
168</table>
169<table cellspacing=5 cellpadding=0 border=0>
170  <tr>
171    <td>
172      &nbsp;
173    </td>
174    <td>
175
176<p>
177Returns the name of this attribute.
178<p>
179<dl compact><dt><b>
180Since: </b><dd>
181DOM Level 1 </dl>    </td>
182  </tr>
183</table>
184<a name="z4_0" doxytag="DOMAttr::getOwnerElement"></a><p>
185<table width="100%" cellpadding="2" cellspacing="0" border="0">
186  <tr>
187    <td class="md">
188      <table cellpadding="0" cellspacing="0" border="0">
189        <tr>
190          <td class="md" nowrap valign="top"> virtual <a class="el" href="classDOMElement.html">DOMElement</a>* DOMAttr::getOwnerElement </td>
191          <td class="md" valign="top">(&nbsp;</td>
192          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
193          <td class="md" valign="top">)&nbsp;</td>
194          <td class="md" nowrap> const<code> [pure virtual]</code></td>
195        </tr>
196
197      </table>
198    </td>
199  </tr>
200</table>
201<table cellspacing=5 cellpadding=0 border=0>
202  <tr>
203    <td>
204      &nbsp;
205    </td>
206    <td>
207
208<p>
209The <code><a class="el" href="classDOMElement.html">DOMElement</a></code> node this attribute is attached to or <code>null</code> if this attribute is not in use.
210<p>
211<dl compact><dt><b>
212Since: </b><dd>
213DOM Level 2 </dl>    </td>
214  </tr>
215</table>
216<a name="z3_1" doxytag="DOMAttr::getSpecified"></a><p>
217<table width="100%" cellpadding="2" cellspacing="0" border="0">
218  <tr>
219    <td class="md">
220      <table cellpadding="0" cellspacing="0" border="0">
221        <tr>
222          <td class="md" nowrap valign="top"> virtual bool DOMAttr::getSpecified </td>
223          <td class="md" valign="top">(&nbsp;</td>
224          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
225          <td class="md" valign="top">)&nbsp;</td>
226          <td class="md" nowrap> const<code> [pure virtual]</code></td>
227        </tr>
228
229      </table>
230    </td>
231  </tr>
232</table>
233<table cellspacing=5 cellpadding=0 border=0>
234  <tr>
235    <td>
236      &nbsp;
237    </td>
238    <td>
239
240<p>
241Returns true if the attribute received its value explicitly in the XML document, or if a value was assigned programatically with the setValue function.
242<p>
243Returns false if the attribute value came from the default value declared in the document's DTD. <dl compact><dt><b>
244Since: </b><dd>
245DOM Level 1 </dl>    </td>
246  </tr>
247</table>
248<a name="z5_1" doxytag="DOMAttr::getTypeInfo"></a><p>
249<table width="100%" cellpadding="2" cellspacing="0" border="0">
250  <tr>
251    <td class="md">
252      <table cellpadding="0" cellspacing="0" border="0">
253        <tr>
254          <td class="md" nowrap valign="top"> virtual const <a class="el" href="classDOMTypeInfo.html">DOMTypeInfo</a>* DOMAttr::getTypeInfo </td>
255          <td class="md" valign="top">(&nbsp;</td>
256          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
257          <td class="md" valign="top">)&nbsp;</td>
258          <td class="md" nowrap> const<code> [pure virtual]</code></td>
259        </tr>
260
261      </table>
262    </td>
263  </tr>
264</table>
265<table cellspacing=5 cellpadding=0 border=0>
266  <tr>
267    <td>
268      &nbsp;
269    </td>
270    <td>
271
272<p>
273Returns the type information associated with this attribute.
274<p>
275
276<p>
277<b>"Experimental - subject to change"</b>
278<p>
279<dl compact><dt><b>
280Returns: </b><dd>
281the <code><a class="el" href="classDOMTypeInfo.html">DOMTypeInfo</a></code> associated with this attribute </dl><dl compact><dt><b>
282Since: </b><dd>
283DOM level 3 </dl>    </td>
284  </tr>
285</table>
286<a name="z3_2" doxytag="DOMAttr::getValue"></a><p>
287<table width="100%" cellpadding="2" cellspacing="0" border="0">
288  <tr>
289    <td class="md">
290      <table cellpadding="0" cellspacing="0" border="0">
291        <tr>
292          <td class="md" nowrap valign="top"> virtual const XMLCh* DOMAttr::getValue </td>
293          <td class="md" valign="top">(&nbsp;</td>
294          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
295          <td class="md" valign="top">)&nbsp;</td>
296          <td class="md" nowrap> const<code> [pure virtual]</code></td>
297        </tr>
298
299      </table>
300    </td>
301  </tr>
302</table>
303<table cellspacing=5 cellpadding=0 border=0>
304  <tr>
305    <td>
306      &nbsp;
307    </td>
308    <td>
309
310<p>
311Returns the value of the attribute.
312<p>
313The value of the attribute is returned as a string. Character and general entity references are replaced with their values. <dl compact><dt><b>
314Since: </b><dd>
315DOM Level 1 </dl>    </td>
316  </tr>
317</table>
318<a name="z5_0" doxytag="DOMAttr::isId"></a><p>
319<table width="100%" cellpadding="2" cellspacing="0" border="0">
320  <tr>
321    <td class="md">
322      <table cellpadding="0" cellspacing="0" border="0">
323        <tr>
324          <td class="md" nowrap valign="top"> virtual bool DOMAttr::isId </td>
325          <td class="md" valign="top">(&nbsp;</td>
326          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
327          <td class="md" valign="top">)&nbsp;</td>
328          <td class="md" nowrap> const<code> [pure virtual]</code></td>
329        </tr>
330
331      </table>
332    </td>
333  </tr>
334</table>
335<table cellspacing=5 cellpadding=0 border=0>
336  <tr>
337    <td>
338      &nbsp;
339    </td>
340    <td>
341
342<p>
343Returns whether this attribute is known to be of type ID or not.
344<p>
345When it is and its value is unique, the ownerElement of this attribute  can be retrieved using getElementById on Document.
346<p>
347
348<p>
349<b>"Experimental - subject to change"</b>
350<p>
351<dl compact><dt><b>
352Returns: </b><dd>
353<code>bool</code> stating if this <code>DOMAttr</code> is an ID </dl><dl compact><dt><b>
354Since: </b><dd>
355DOM level 3 </dl>    </td>
356  </tr>
357</table>
358<a name="z3_3" doxytag="DOMAttr::setValue"></a><p>
359<table width="100%" cellpadding="2" cellspacing="0" border="0">
360  <tr>
361    <td class="md">
362      <table cellpadding="0" cellspacing="0" border="0">
363        <tr>
364          <td class="md" nowrap valign="top"> virtual void DOMAttr::setValue </td>
365          <td class="md" valign="top">(&nbsp;</td>
366          <td class="md" nowrap valign="top">const XMLCh *&nbsp;</td>
367          <td class="mdname1" valign="top" nowrap>&nbsp; <em>value</em>          </td>
368          <td class="md" valign="top">)&nbsp;</td>
369          <td class="md" nowrap><code> [pure virtual]</code></td>
370        </tr>
371
372      </table>
373    </td>
374  </tr>
375</table>
376<table cellspacing=5 cellpadding=0 border=0>
377  <tr>
378    <td>
379      &nbsp;
380    </td>
381    <td>
382
383<p>
384Sets the value of the attribute.
385<p>
386A text node with the unparsed contents of the string will be created.<dl compact><dt><b>
387Parameters: </b><dd>
388<table border=0 cellspacing=2 cellpadding=0>
389<tr><td valign=top><em>value</em>&nbsp;</td><td>
390The value of the DOM attribute to be set </td></tr>
391</table>
392</dl><dl compact><dt><b>
393Since: </b><dd>
394DOM Level 1 </dl>    </td>
395  </tr>
396</table>
397<hr>The documentation for this class was generated from the following file:<ul>
398<li><a class="el" href="DOMAttr_8hpp-source.html">DOMAttr.hpp</a></ul>
399    </FONT></TD></TR></TABLE><BR>
400</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>
401              Copyright &copy; 1994-2004 The Apache Software Foundation.
402              All Rights Reserved.
403            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.