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

Revision 358, 30.8 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>DOMLocator 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>DOMLocator  Class Reference</h1>DOMLocator is an interface that describes a location.
45<a href="#_details">More...</a>
46<p>
47<a href="classDOMLocator-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
48<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
49<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
50<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z102_0">~DOMLocator</a> ()</td></tr>
51<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#z102_0">More...</a><em></em></font><br><br></td></tr>
52<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
53<tr><td nowrap align=right valign=top>virtual XMLSSize_t&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z103_0">getLineNumber</a> () const=0</td></tr>
54<tr><td>&nbsp;</td><td><font size=-1><em>Get the line number where the error occured.</em> <a href="#z103_0">More...</a><em></em></font><br><br></td></tr>
55<tr><td nowrap align=right valign=top>virtual XMLSSize_t&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z103_1">getColumnNumber</a> () const=0</td></tr>
56<tr><td>&nbsp;</td><td><font size=-1><em>Get the column number where the error occured.</em> <a href="#z103_1">More...</a><em></em></font><br><br></td></tr>
57<tr><td nowrap align=right valign=top>virtual XMLSSize_t&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z103_2">getOffset</a> () const=0</td></tr>
58<tr><td>&nbsp;</td><td><font size=-1><em>Get the byte or character offset into the input source, if we're parsing a file or a byte stream then this will be the byte offset into that stream, but if a character media is parsed then the offset will be the character offset.</em> <a href="#z103_2">More...</a><em></em></font><br><br></td></tr>
59<tr><td nowrap align=right valign=top>virtual <a class="el" href="classDOMNode.html">DOMNode</a> *&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z103_3">getErrorNode</a> () const=0</td></tr>
60<tr><td>&nbsp;</td><td><font size=-1><em>Get the <a class="el" href="classDOMNode.html">DOMNode</a> where the error occured, or <code>null</code> if there is no node available.</em> <a href="#z103_3">More...</a><em></em></font><br><br></td></tr>
61<tr><td nowrap align=right valign=top>virtual const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z103_4">getURI</a> () const=0</td></tr>
62<tr><td>&nbsp;</td><td><font size=-1><em>Get the URI where the error occured, or <code>null</code> if there is no URI available.</em> <a href="#z103_4">More...</a><em></em></font><br><br></td></tr>
63<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z103_5">setLineNumber</a> (const XMLSSize_t lineNumber)=0</td></tr>
64<tr><td>&nbsp;</td><td><font size=-1><em>Set the line number of the error.</em> <a href="#z103_5">More...</a><em></em></font><br><br></td></tr>
65<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z103_6">setColumnNumber</a> (const XMLSSize_t columnNumber)=0</td></tr>
66<tr><td>&nbsp;</td><td><font size=-1><em>Set the column number of the error.</em> <a href="#z103_6">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="classDOMLocator.html#z103_7">setOffset</a> (const XMLSSize_t offset)=0</td></tr>
68<tr><td>&nbsp;</td><td><font size=-1><em>Set the byte/character offset.</em> <a href="#z103_7">More...</a><em></em></font><br><br></td></tr>
69<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z103_8">setErrorNode</a> (<a class="el" href="classDOMNode.html">DOMNode</a> *const errorNode)=0</td></tr>
70<tr><td>&nbsp;</td><td><font size=-1><em>Set the <a class="el" href="classDOMNode.html">DOMNode</a> where the error occured.</em> <a href="#z103_8">More...</a><em></em></font><br><br></td></tr>
71<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z103_9">setURI</a> (const XMLCh *const uri)=0</td></tr>
72<tr><td>&nbsp;</td><td><font size=-1><em>Set the URI where the error occured.</em> <a href="#z103_9">More...</a><em></em></font><br><br></td></tr>
73<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
74<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
75<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classDOMLocator.html#z100_0">DOMLocator</a> ()</td></tr>
76</table>
77<hr><a name="_details"></a><h2>Detailed Description</h2>
78DOMLocator is an interface that describes a location.
79<p>
80(e.g. where an error occured).
81<p>
82<dl compact><dt><b>
83See also: </b><dd>
84<a class="el" href="classDOMError.html#z65_0">DOMError::DOMError</a> </dl><dl compact><dt><b>
85Since: </b><dd>
86DOM Level 3 </dl>
87<p>
88<hr><h2>Constructor &amp; Destructor Documentation</h2>
89<a name="z100_0" doxytag="DOMLocator::DOMLocator"></a><p>
90<table width="100%" cellpadding="2" cellspacing="0" border="0">
91  <tr>
92    <td class="md">
93      <table cellpadding="0" cellspacing="0" border="0">
94        <tr>
95          <td class="md" nowrap valign="top"> DOMLocator::DOMLocator </td>
96          <td class="md" valign="top">(&nbsp;</td>
97          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
98          <td class="md" valign="top">)&nbsp;</td>
99          <td class="md" nowrap><code> [protected]</code></td>
100        </tr>
101
102      </table>
103    </td>
104  </tr>
105</table>
106<table cellspacing=5 cellpadding=0 border=0>
107  <tr>
108    <td>
109      &nbsp;
110    </td>
111    <td>
112
113<p>
114    </td>
115  </tr>
116</table>
117<a name="z102_0" doxytag="DOMLocator::~DOMLocator"></a><p>
118<table width="100%" cellpadding="2" cellspacing="0" border="0">
119  <tr>
120    <td class="md">
121      <table cellpadding="0" cellspacing="0" border="0">
122        <tr>
123          <td class="md" nowrap valign="top"> virtual DOMLocator::~DOMLocator </td>
124          <td class="md" valign="top">(&nbsp;</td>
125          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
126          <td class="md" valign="top">)&nbsp;</td>
127          <td class="md" nowrap><code> [virtual]</code></td>
128        </tr>
129
130      </table>
131    </td>
132  </tr>
133</table>
134<table cellspacing=5 cellpadding=0 border=0>
135  <tr>
136    <td>
137      &nbsp;
138    </td>
139    <td>
140
141<p>
142Destructor.
143<p>
144    </td>
145  </tr>
146</table>
147<hr><h2>Member Function Documentation</h2>
148<a name="z103_1" doxytag="DOMLocator::getColumnNumber"></a><p>
149<table width="100%" cellpadding="2" cellspacing="0" border="0">
150  <tr>
151    <td class="md">
152      <table cellpadding="0" cellspacing="0" border="0">
153        <tr>
154          <td class="md" nowrap valign="top"> virtual XMLSSize_t DOMLocator::getColumnNumber </td>
155          <td class="md" valign="top">(&nbsp;</td>
156          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
157          <td class="md" valign="top">)&nbsp;</td>
158          <td class="md" nowrap> const<code> [pure virtual]</code></td>
159        </tr>
160
161      </table>
162    </td>
163  </tr>
164</table>
165<table cellspacing=5 cellpadding=0 border=0>
166  <tr>
167    <td>
168      &nbsp;
169    </td>
170    <td>
171
172<p>
173Get the column number where the error occured.
174<p>
175The value is -1 if there is no column number available.
176<p>
177
178<p>
179<b>"Experimental - subject to change"</b>
180<p>
181<dl compact><dt><b>
182See also: </b><dd>
183<a class="el" href="classDOMLocator.html#z103_6">setColumnNumber</a> </dl><dl compact><dt><b>
184Since: </b><dd>
185DOM Level 3 </dl>    </td>
186  </tr>
187</table>
188<a name="z103_3" doxytag="DOMLocator::getErrorNode"></a><p>
189<table width="100%" cellpadding="2" cellspacing="0" border="0">
190  <tr>
191    <td class="md">
192      <table cellpadding="0" cellspacing="0" border="0">
193        <tr>
194          <td class="md" nowrap valign="top"> virtual <a class="el" href="classDOMNode.html">DOMNode</a>* DOMLocator::getErrorNode </td>
195          <td class="md" valign="top">(&nbsp;</td>
196          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
197          <td class="md" valign="top">)&nbsp;</td>
198          <td class="md" nowrap> const<code> [pure virtual]</code></td>
199        </tr>
200
201      </table>
202    </td>
203  </tr>
204</table>
205<table cellspacing=5 cellpadding=0 border=0>
206  <tr>
207    <td>
208      &nbsp;
209    </td>
210    <td>
211
212<p>
213Get the <a class="el" href="classDOMNode.html">DOMNode</a> where the error occured, or <code>null</code> if there is no node available.
214<p>
215
216<p>
217<b>"Experimental - subject to change"</b>
218<p>
219<dl compact><dt><b>
220See also: </b><dd>
221<a class="el" href="classDOMLocator.html#z103_8">setErrorNode</a> </dl><dl compact><dt><b>
222Since: </b><dd>
223DOM Level 3 </dl>    </td>
224  </tr>
225</table>
226<a name="z103_0" doxytag="DOMLocator::getLineNumber"></a><p>
227<table width="100%" cellpadding="2" cellspacing="0" border="0">
228  <tr>
229    <td class="md">
230      <table cellpadding="0" cellspacing="0" border="0">
231        <tr>
232          <td class="md" nowrap valign="top"> virtual XMLSSize_t DOMLocator::getLineNumber </td>
233          <td class="md" valign="top">(&nbsp;</td>
234          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
235          <td class="md" valign="top">)&nbsp;</td>
236          <td class="md" nowrap> const<code> [pure virtual]</code></td>
237        </tr>
238
239      </table>
240    </td>
241  </tr>
242</table>
243<table cellspacing=5 cellpadding=0 border=0>
244  <tr>
245    <td>
246      &nbsp;
247    </td>
248    <td>
249
250<p>
251Get the line number where the error occured.
252<p>
253The value is -1 if there is no line number available.
254<p>
255
256<p>
257<b>"Experimental - subject to change"</b>
258<p>
259<dl compact><dt><b>
260See also: </b><dd>
261<a class="el" href="classDOMLocator.html#z103_5">setLineNumber</a> </dl><dl compact><dt><b>
262Since: </b><dd>
263DOM Level 3 </dl>    </td>
264  </tr>
265</table>
266<a name="z103_2" doxytag="DOMLocator::getOffset"></a><p>
267<table width="100%" cellpadding="2" cellspacing="0" border="0">
268  <tr>
269    <td class="md">
270      <table cellpadding="0" cellspacing="0" border="0">
271        <tr>
272          <td class="md" nowrap valign="top"> virtual XMLSSize_t DOMLocator::getOffset </td>
273          <td class="md" valign="top">(&nbsp;</td>
274          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
275          <td class="md" valign="top">)&nbsp;</td>
276          <td class="md" nowrap> const<code> [pure virtual]</code></td>
277        </tr>
278
279      </table>
280    </td>
281  </tr>
282</table>
283<table cellspacing=5 cellpadding=0 border=0>
284  <tr>
285    <td>
286      &nbsp;
287    </td>
288    <td>
289
290<p>
291Get the byte or character offset into the input source, if we're parsing a file or a byte stream then this will be the byte offset into that stream, but if a character media is parsed then the offset will be the character offset.
292<p>
293The value is -1 if there is no offset available.
294<p>
295
296<p>
297<b>"Experimental - subject to change"</b>
298<p>
299<dl compact><dt><b>
300See also: </b><dd>
301<a class="el" href="classDOMLocator.html#z103_7">setOffset</a> </dl><dl compact><dt><b>
302Since: </b><dd>
303DOM Level 3 </dl>    </td>
304  </tr>
305</table>
306<a name="z103_4" doxytag="DOMLocator::getURI"></a><p>
307<table width="100%" cellpadding="2" cellspacing="0" border="0">
308  <tr>
309    <td class="md">
310      <table cellpadding="0" cellspacing="0" border="0">
311        <tr>
312          <td class="md" nowrap valign="top"> virtual const XMLCh* DOMLocator::getURI </td>
313          <td class="md" valign="top">(&nbsp;</td>
314          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
315          <td class="md" valign="top">)&nbsp;</td>
316          <td class="md" nowrap> const<code> [pure virtual]</code></td>
317        </tr>
318
319      </table>
320    </td>
321  </tr>
322</table>
323<table cellspacing=5 cellpadding=0 border=0>
324  <tr>
325    <td>
326      &nbsp;
327    </td>
328    <td>
329
330<p>
331Get the URI where the error occured, or <code>null</code> if there is no URI available.
332<p>
333
334<p>
335<b>"Experimental - subject to change"</b>
336<p>
337<dl compact><dt><b>
338See also: </b><dd>
339<a class="el" href="classDOMLocator.html#z103_9">setURI</a> </dl><dl compact><dt><b>
340Since: </b><dd>
341DOM Level 3 </dl>    </td>
342  </tr>
343</table>
344<a name="z103_6" doxytag="DOMLocator::setColumnNumber"></a><p>
345<table width="100%" cellpadding="2" cellspacing="0" border="0">
346  <tr>
347    <td class="md">
348      <table cellpadding="0" cellspacing="0" border="0">
349        <tr>
350          <td class="md" nowrap valign="top"> virtual void DOMLocator::setColumnNumber </td>
351          <td class="md" valign="top">(&nbsp;</td>
352          <td class="md" nowrap valign="top">const XMLSSize_t&nbsp;</td>
353          <td class="mdname1" valign="top" nowrap>&nbsp; <em>columnNumber</em>          </td>
354          <td class="md" valign="top">)&nbsp;</td>
355          <td class="md" nowrap><code> [pure virtual]</code></td>
356        </tr>
357
358      </table>
359    </td>
360  </tr>
361</table>
362<table cellspacing=5 cellpadding=0 border=0>
363  <tr>
364    <td>
365      &nbsp;
366    </td>
367    <td>
368
369<p>
370Set the column number of the error.
371<p>
372
373<p>
374<b>"Experimental - subject to change"</b><dl compact><dt><b>
375Parameters: </b><dd>
376<table border=0 cellspacing=2 cellpadding=0>
377<tr><td valign=top><em>columnNumber</em>&nbsp;</td><td>
378the column number to set.</td></tr>
379</table>
380</dl><dl compact><dt><b>
381See also: </b><dd>
382getColumnNumner </dl><dl compact><dt><b>
383Since: </b><dd>
384DOM Level 3 </dl>    </td>
385  </tr>
386</table>
387<a name="z103_8" doxytag="DOMLocator::setErrorNode"></a><p>
388<table width="100%" cellpadding="2" cellspacing="0" border="0">
389  <tr>
390    <td class="md">
391      <table cellpadding="0" cellspacing="0" border="0">
392        <tr>
393          <td class="md" nowrap valign="top"> virtual void DOMLocator::setErrorNode </td>
394          <td class="md" valign="top">(&nbsp;</td>
395          <td class="md" nowrap valign="top"><a class="el" href="classDOMNode.html">DOMNode</a> *const&nbsp;</td>
396          <td class="mdname1" valign="top" nowrap>&nbsp; <em>errorNode</em>          </td>
397          <td class="md" valign="top">)&nbsp;</td>
398          <td class="md" nowrap><code> [pure virtual]</code></td>
399        </tr>
400
401      </table>
402    </td>
403  </tr>
404</table>
405<table cellspacing=5 cellpadding=0 border=0>
406  <tr>
407    <td>
408      &nbsp;
409    </td>
410    <td>
411
412<p>
413Set the <a class="el" href="classDOMNode.html">DOMNode</a> where the error occured.
414<p>
415
416<p>
417<b>"Experimental - subject to change"</b><dl compact><dt><b>
418Parameters: </b><dd>
419<table border=0 cellspacing=2 cellpadding=0>
420<tr><td valign=top><em>errorNode</em>&nbsp;</td><td>
421the <a class="el" href="classDOMNode.html">DOMNode</a> to set</td></tr>
422</table>
423</dl><dl compact><dt><b>
424See also: </b><dd>
425<a class="el" href="classDOMLocator.html#z103_3">getErrorNode</a> </dl><dl compact><dt><b>
426Since: </b><dd>
427DOM Level 3 </dl>    </td>
428  </tr>
429</table>
430<a name="z103_5" doxytag="DOMLocator::setLineNumber"></a><p>
431<table width="100%" cellpadding="2" cellspacing="0" border="0">
432  <tr>
433    <td class="md">
434      <table cellpadding="0" cellspacing="0" border="0">
435        <tr>
436          <td class="md" nowrap valign="top"> virtual void DOMLocator::setLineNumber </td>
437          <td class="md" valign="top">(&nbsp;</td>
438          <td class="md" nowrap valign="top">const XMLSSize_t&nbsp;</td>
439          <td class="mdname1" valign="top" nowrap>&nbsp; <em>lineNumber</em>          </td>
440          <td class="md" valign="top">)&nbsp;</td>
441          <td class="md" nowrap><code> [pure virtual]</code></td>
442        </tr>
443
444      </table>
445    </td>
446  </tr>
447</table>
448<table cellspacing=5 cellpadding=0 border=0>
449  <tr>
450    <td>
451      &nbsp;
452    </td>
453    <td>
454
455<p>
456Set the line number of the error.
457<p>
458
459<p>
460<b>"Experimental - subject to change"</b><dl compact><dt><b>
461Parameters: </b><dd>
462<table border=0 cellspacing=2 cellpadding=0>
463<tr><td valign=top><em>lineNumber</em>&nbsp;</td><td>
464the line number to set</td></tr>
465</table>
466</dl><dl compact><dt><b>
467See also: </b><dd>
468getLinNumner </dl><dl compact><dt><b>
469Since: </b><dd>
470DOM Level 3 </dl>    </td>
471  </tr>
472</table>
473<a name="z103_7" doxytag="DOMLocator::setOffset"></a><p>
474<table width="100%" cellpadding="2" cellspacing="0" border="0">
475  <tr>
476    <td class="md">
477      <table cellpadding="0" cellspacing="0" border="0">
478        <tr>
479          <td class="md" nowrap valign="top"> virtual void DOMLocator::setOffset </td>
480          <td class="md" valign="top">(&nbsp;</td>
481          <td class="md" nowrap valign="top">const XMLSSize_t&nbsp;</td>
482          <td class="mdname1" valign="top" nowrap>&nbsp; <em>offset</em>          </td>
483          <td class="md" valign="top">)&nbsp;</td>
484          <td class="md" nowrap><code> [pure virtual]</code></td>
485        </tr>
486
487      </table>
488    </td>
489  </tr>
490</table>
491<table cellspacing=5 cellpadding=0 border=0>
492  <tr>
493    <td>
494      &nbsp;
495    </td>
496    <td>
497
498<p>
499Set the byte/character offset.
500<p>
501
502<p>
503<b>"Experimental - subject to change"</b><dl compact><dt><b>
504Parameters: </b><dd>
505<table border=0 cellspacing=2 cellpadding=0>
506<tr><td valign=top><em>offset</em>&nbsp;</td><td>
507the byte/characte offset to set.</td></tr>
508</table>
509</dl><dl compact><dt><b>
510See also: </b><dd>
511<a class="el" href="classDOMLocator.html#z103_2">getOffset</a> </dl><dl compact><dt><b>
512Since: </b><dd>
513DOM Level 3 </dl>    </td>
514  </tr>
515</table>
516<a name="z103_9" doxytag="DOMLocator::setURI"></a><p>
517<table width="100%" cellpadding="2" cellspacing="0" border="0">
518  <tr>
519    <td class="md">
520      <table cellpadding="0" cellspacing="0" border="0">
521        <tr>
522          <td class="md" nowrap valign="top"> virtual void DOMLocator::setURI </td>
523          <td class="md" valign="top">(&nbsp;</td>
524          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
525          <td class="mdname1" valign="top" nowrap>&nbsp; <em>uri</em>          </td>
526          <td class="md" valign="top">)&nbsp;</td>
527          <td class="md" nowrap><code> [pure virtual]</code></td>
528        </tr>
529
530      </table>
531    </td>
532  </tr>
533</table>
534<table cellspacing=5 cellpadding=0 border=0>
535  <tr>
536    <td>
537      &nbsp;
538    </td>
539    <td>
540
541<p>
542Set the URI where the error occured.
543<p>
544
545<p>
546<b>"Experimental - subject to change"</b><dl compact><dt><b>
547Parameters: </b><dd>
548<table border=0 cellspacing=2 cellpadding=0>
549<tr><td valign=top><em>uri</em>&nbsp;</td><td>
550the URI to set.</td></tr>
551</table>
552</dl><dl compact><dt><b>
553See also: </b><dd>
554<a class="el" href="classDOMLocator.html#z103_4">getURI</a> </dl><dl compact><dt><b>
555Since: </b><dd>
556DOM Level 3 </dl>    </td>
557  </tr>
558</table>
559<hr>The documentation for this class was generated from the following file:<ul>
560<li><a class="el" href="DOMLocator_8hpp-source.html">DOMLocator.hpp</a></ul>
561    </FONT></TD></TR></TABLE><BR>
562</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>
563              Copyright &copy; 1994-2004 The Apache Software Foundation.
564              All Rights Reserved.
565            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.