This file is indexed.

/usr/share/doc/libjenkins-dom4j-java/api/org/dom4j/Document.html is in libjenkins-dom4j-java-doc 1.6.1-jenkins-4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Thu Sep 11 11:01:37 UTC 2014 -->
<title>Document (dom4j API)</title>
<meta name="date" content="2014-09-11">
<link rel="stylesheet" type="text/css" href="../../javadoc.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="Document (dom4j API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Document.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-files/index-1.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/dom4j/Comment.html" title="interface in org.dom4j"><span class="strong">Prev Class</span></a></li>
<li><a href="../../org/dom4j/DocumentException.html" title="class in org.dom4j"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/dom4j/Document.html" target="_top">Frames</a></li>
<li><a href="Document.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.dom4j</div>
<h2 title="Interface Document" class="title">Interface Document</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="../../org/dom4j/Branch.html" title="interface in org.dom4j">Branch</a>, java.lang.Cloneable, <a href="../../org/dom4j/Node.html" title="interface in org.dom4j">Node</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">Document</span>
extends <a href="../../org/dom4j/Branch.html" title="interface in org.dom4j">Branch</a></pre>
<div class="block"><p>
 <code>Document</code> defines an XML Document.
 </p></div>
<dl><dt><span class="strong">Version:</span></dt>
  <dd>$Revision: 1.14 $</dd>
<dt><span class="strong">Author:</span></dt>
  <dd><a href="mailto:jstrachan@apache.org">James Strachan </a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.dom4j.Node">
<!--   -->
</a>
<h3>Fields inherited from interface&nbsp;org.dom4j.<a href="../../org/dom4j/Node.html" title="interface in org.dom4j">Node</a></h3>
<code><a href="../../org/dom4j/Node.html#ANY_NODE">ANY_NODE</a>, <a href="../../org/dom4j/Node.html#ATTRIBUTE_NODE">ATTRIBUTE_NODE</a>, <a href="../../org/dom4j/Node.html#CDATA_SECTION_NODE">CDATA_SECTION_NODE</a>, <a href="../../org/dom4j/Node.html#COMMENT_NODE">COMMENT_NODE</a>, <a href="../../org/dom4j/Node.html#DOCUMENT_NODE">DOCUMENT_NODE</a>, <a href="../../org/dom4j/Node.html#DOCUMENT_TYPE_NODE">DOCUMENT_TYPE_NODE</a>, <a href="../../org/dom4j/Node.html#ELEMENT_NODE">ELEMENT_NODE</a>, <a href="../../org/dom4j/Node.html#ENTITY_REFERENCE_NODE">ENTITY_REFERENCE_NODE</a>, <a href="../../org/dom4j/Node.html#MAX_NODE_TYPE">MAX_NODE_TYPE</a>, <a href="../../org/dom4j/Node.html#NAMESPACE_NODE">NAMESPACE_NODE</a>, <a href="../../org/dom4j/Node.html#PROCESSING_INSTRUCTION_NODE">PROCESSING_INSTRUCTION_NODE</a>, <a href="../../org/dom4j/Node.html#TEXT_NODE">TEXT_NODE</a>, <a href="../../org/dom4j/Node.html#UNKNOWN_NODE">UNKNOWN_NODE</a></code></li>
</ul>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../org/dom4j/Document.html" title="interface in org.dom4j">Document</a></code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#addComment(java.lang.String)">addComment</a></strong>(java.lang.String&nbsp;comment)</code>
<div class="block">Adds a new <code>Comment</code> node with the given text to this
 branch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../org/dom4j/Document.html" title="interface in org.dom4j">Document</a></code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#addDocType(java.lang.String,%20java.lang.String,%20java.lang.String)">addDocType</a></strong>(java.lang.String&nbsp;name,
          java.lang.String&nbsp;publicId,
          java.lang.String&nbsp;systemId)</code>
<div class="block">Adds a DOCTYPE declaration to this document</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../org/dom4j/Document.html" title="interface in org.dom4j">Document</a></code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#addProcessingInstruction(java.lang.String,%20java.util.Map)">addProcessingInstruction</a></strong>(java.lang.String&nbsp;target,
                        java.util.Map&nbsp;data)</code>
<div class="block">Adds a processing instruction for the given target</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../org/dom4j/Document.html" title="interface in org.dom4j">Document</a></code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#addProcessingInstruction(java.lang.String,%20java.lang.String)">addProcessingInstruction</a></strong>(java.lang.String&nbsp;target,
                        java.lang.String&nbsp;text)</code>
<div class="block">Adds a processing instruction for the given target</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../org/dom4j/DocumentType.html" title="interface in org.dom4j">DocumentType</a></code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#getDocType()">getDocType</a></strong>()</code>
<div class="block">DOCUMENT ME!</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.xml.sax.EntityResolver</code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#getEntityResolver()">getEntityResolver</a></strong>()</code>
<div class="block">DOCUMENT ME!</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../org/dom4j/Element.html" title="interface in org.dom4j">Element</a></code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#getRootElement()">getRootElement</a></strong>()</code>
<div class="block">Returns the root <a href="../../org/dom4j/Element.html" title="interface in org.dom4j"><code>Element</code></a>for this document.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#getXMLEncoding()">getXMLEncoding</a></strong>()</code>
<div class="block">Return the encoding of this document, as part of the XML declaration This
 is <code>null</code> when unspecified or when it is not known (such as
 when the Document was created in memory) or when the implementation does
 not support this operation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#setDocType(org.dom4j.DocumentType)">setDocType</a></strong>(<a href="../../org/dom4j/DocumentType.html" title="interface in org.dom4j">DocumentType</a>&nbsp;docType)</code>
<div class="block">Sets the DocumentType property</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</a></strong>(org.xml.sax.EntityResolver&nbsp;entityResolver)</code>
<div class="block">Sets the EntityResolver used to find resolve URIs such as for DTDs, or
 XML Schema documents</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#setRootElement(org.dom4j.Element)">setRootElement</a></strong>(<a href="../../org/dom4j/Element.html" title="interface in org.dom4j">Element</a>&nbsp;rootElement)</code>
<div class="block">Sets the root element for this document</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../org/dom4j/Document.html#setXMLEncoding(java.lang.String)">setXMLEncoding</a></strong>(java.lang.String&nbsp;encoding)</code>
<div class="block">Sets the encoding of this document as it will appear in the XML
 declaration part of the document.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.dom4j.Branch">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;org.dom4j.<a href="../../org/dom4j/Branch.html" title="interface in org.dom4j">Branch</a></h3>
<code><a href="../../org/dom4j/Branch.html#add(org.dom4j.Comment)">add</a>, <a href="../../org/dom4j/Branch.html#add(org.dom4j.Element)">add</a>, <a href="../../org/dom4j/Branch.html#add(org.dom4j.Node)">add</a>, <a href="../../org/dom4j/Branch.html#add(org.dom4j.ProcessingInstruction)">add</a>, <a href="../../org/dom4j/Branch.html#addElement(org.dom4j.QName)">addElement</a>, <a href="../../org/dom4j/Branch.html#addElement(java.lang.String)">addElement</a>, <a href="../../org/dom4j/Branch.html#addElement(java.lang.String,%20java.lang.String)">addElement</a>, <a href="../../org/dom4j/Branch.html#appendContent(org.dom4j.Branch)">appendContent</a>, <a href="../../org/dom4j/Branch.html#clearContent()">clearContent</a>, <a href="../../org/dom4j/Branch.html#content()">content</a>, <a href="../../org/dom4j/Branch.html#elementByID(java.lang.String)">elementByID</a>, <a href="../../org/dom4j/Branch.html#indexOf(org.dom4j.Node)">indexOf</a>, <a href="../../org/dom4j/Branch.html#node(int)">node</a>, <a href="../../org/dom4j/Branch.html#nodeCount()">nodeCount</a>, <a href="../../org/dom4j/Branch.html#nodeIterator()">nodeIterator</a>, <a href="../../org/dom4j/Branch.html#normalize()">normalize</a>, <a href="../../org/dom4j/Branch.html#processingInstruction(java.lang.String)">processingInstruction</a>, <a href="../../org/dom4j/Branch.html#processingInstructions()">processingInstructions</a>, <a href="../../org/dom4j/Branch.html#processingInstructions(java.lang.String)">processingInstructions</a>, <a href="../../org/dom4j/Branch.html#remove(org.dom4j.Comment)">remove</a>, <a href="../../org/dom4j/Branch.html#remove(org.dom4j.Element)">remove</a>, <a href="../../org/dom4j/Branch.html#remove(org.dom4j.Node)">remove</a>, <a href="../../org/dom4j/Branch.html#remove(org.dom4j.ProcessingInstruction)">remove</a>, <a href="../../org/dom4j/Branch.html#removeProcessingInstruction(java.lang.String)">removeProcessingInstruction</a>, <a href="../../org/dom4j/Branch.html#setContent(java.util.List)">setContent</a>, <a href="../../org/dom4j/Branch.html#setProcessingInstructions(java.util.List)">setProcessingInstructions</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.dom4j.Node">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;org.dom4j.<a href="../../org/dom4j/Node.html" title="interface in org.dom4j">Node</a></h3>
<code><a href="../../org/dom4j/Node.html#accept(org.dom4j.Visitor)">accept</a>, <a href="../../org/dom4j/Node.html#asXML()">asXML</a>, <a href="../../org/dom4j/Node.html#asXPathResult(org.dom4j.Element)">asXPathResult</a>, <a href="../../org/dom4j/Node.html#clone()">clone</a>, <a href="../../org/dom4j/Node.html#createXPath(java.lang.String)">createXPath</a>, <a href="../../org/dom4j/Node.html#detach()">detach</a>, <a href="../../org/dom4j/Node.html#getDocument()">getDocument</a>, <a href="../../org/dom4j/Node.html#getName()">getName</a>, <a href="../../org/dom4j/Node.html#getNodeType()">getNodeType</a>, <a href="../../org/dom4j/Node.html#getNodeTypeName()">getNodeTypeName</a>, <a href="../../org/dom4j/Node.html#getParent()">getParent</a>, <a href="../../org/dom4j/Node.html#getPath()">getPath</a>, <a href="../../org/dom4j/Node.html#getPath(org.dom4j.Element)">getPath</a>, <a href="../../org/dom4j/Node.html#getStringValue()">getStringValue</a>, <a href="../../org/dom4j/Node.html#getText()">getText</a>, <a href="../../org/dom4j/Node.html#getUniquePath()">getUniquePath</a>, <a href="../../org/dom4j/Node.html#getUniquePath(org.dom4j.Element)">getUniquePath</a>, <a href="../../org/dom4j/Node.html#hasContent()">hasContent</a>, <a href="../../org/dom4j/Node.html#isReadOnly()">isReadOnly</a>, <a href="../../org/dom4j/Node.html#matches(java.lang.String)">matches</a>, <a href="../../org/dom4j/Node.html#numberValueOf(java.lang.String)">numberValueOf</a>, <a href="../../org/dom4j/Node.html#selectNodes(java.lang.String)">selectNodes</a>, <a href="../../org/dom4j/Node.html#selectNodes(java.lang.String,%20java.lang.String)">selectNodes</a>, <a href="../../org/dom4j/Node.html#selectNodes(java.lang.String,%20java.lang.String,%20boolean)">selectNodes</a>, <a href="../../org/dom4j/Node.html#selectObject(java.lang.String)">selectObject</a>, <a href="../../org/dom4j/Node.html#selectSingleNode(java.lang.String)">selectSingleNode</a>, <a href="../../org/dom4j/Node.html#setDocument(org.dom4j.Document)">setDocument</a>, <a href="../../org/dom4j/Node.html#setName(java.lang.String)">setName</a>, <a href="../../org/dom4j/Node.html#setParent(org.dom4j.Element)">setParent</a>, <a href="../../org/dom4j/Node.html#setText(java.lang.String)">setText</a>, <a href="../../org/dom4j/Node.html#supportsParent()">supportsParent</a>, <a href="../../org/dom4j/Node.html#valueOf(java.lang.String)">valueOf</a>, <a href="../../org/dom4j/Node.html#write(java.io.Writer)">write</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getRootElement()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRootElement</h4>
<pre><a href="../../org/dom4j/Element.html" title="interface in org.dom4j">Element</a>&nbsp;getRootElement()</pre>
<div class="block">Returns the root <a href="../../org/dom4j/Element.html" title="interface in org.dom4j"><code>Element</code></a>for this document.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the root element for this document</dd></dl>
</li>
</ul>
<a name="setRootElement(org.dom4j.Element)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRootElement</h4>
<pre>void&nbsp;setRootElement(<a href="../../org/dom4j/Element.html" title="interface in org.dom4j">Element</a>&nbsp;rootElement)</pre>
<div class="block">Sets the root element for this document</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rootElement</code> - the new root element for this document</dd></dl>
</li>
</ul>
<a name="addComment(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addComment</h4>
<pre><a href="../../org/dom4j/Document.html" title="interface in org.dom4j">Document</a>&nbsp;addComment(java.lang.String&nbsp;comment)</pre>
<div class="block">Adds a new <code>Comment</code> node with the given text to this
 branch.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>comment</code> - is the text for the <code>Comment</code> node.</dd>
<dt><span class="strong">Returns:</span></dt><dd>this <code>Document</code> instance.</dd></dl>
</li>
</ul>
<a name="addProcessingInstruction(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addProcessingInstruction</h4>
<pre><a href="../../org/dom4j/Document.html" title="interface in org.dom4j">Document</a>&nbsp;addProcessingInstruction(java.lang.String&nbsp;target,
                                java.lang.String&nbsp;text)</pre>
<div class="block">Adds a processing instruction for the given target</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>target</code> - is the target of the processing instruction</dd><dd><code>text</code> - is the textual data (key/value pairs) of the processing
            instruction</dd>
<dt><span class="strong">Returns:</span></dt><dd>this <code>Document</code> instance.</dd></dl>
</li>
</ul>
<a name="addProcessingInstruction(java.lang.String, java.util.Map)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addProcessingInstruction</h4>
<pre><a href="../../org/dom4j/Document.html" title="interface in org.dom4j">Document</a>&nbsp;addProcessingInstruction(java.lang.String&nbsp;target,
                                java.util.Map&nbsp;data)</pre>
<div class="block">Adds a processing instruction for the given target</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>target</code> - is the target of the processing instruction</dd><dd><code>data</code> - is a Map of the key / value pairs of the processing
            instruction</dd>
<dt><span class="strong">Returns:</span></dt><dd>this <code>Document</code> instance.</dd></dl>
</li>
</ul>
<a name="addDocType(java.lang.String, java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addDocType</h4>
<pre><a href="../../org/dom4j/Document.html" title="interface in org.dom4j">Document</a>&nbsp;addDocType(java.lang.String&nbsp;name,
                  java.lang.String&nbsp;publicId,
                  java.lang.String&nbsp;systemId)</pre>
<div class="block">Adds a DOCTYPE declaration to this document</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - is the name of the root element</dd><dd><code>publicId</code> - is the PUBLIC URI</dd><dd><code>systemId</code> - is the SYSTEM URI</dd>
<dt><span class="strong">Returns:</span></dt><dd>this <code>Document</code> instance.</dd></dl>
</li>
</ul>
<a name="getDocType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDocType</h4>
<pre><a href="../../org/dom4j/DocumentType.html" title="interface in org.dom4j">DocumentType</a>&nbsp;getDocType()</pre>
<div class="block">DOCUMENT ME!</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the DocumentType property</dd></dl>
</li>
</ul>
<a name="setDocType(org.dom4j.DocumentType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDocType</h4>
<pre>void&nbsp;setDocType(<a href="../../org/dom4j/DocumentType.html" title="interface in org.dom4j">DocumentType</a>&nbsp;docType)</pre>
<div class="block">Sets the DocumentType property</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>docType</code> - DOCUMENT ME!</dd></dl>
</li>
</ul>
<a name="getEntityResolver()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntityResolver</h4>
<pre>org.xml.sax.EntityResolver&nbsp;getEntityResolver()</pre>
<div class="block">DOCUMENT ME!</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the EntityResolver used to find resolve URIs such as for DTDs, or
         XML Schema documents</dd></dl>
</li>
</ul>
<a name="setEntityResolver(org.xml.sax.EntityResolver)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEntityResolver</h4>
<pre>void&nbsp;setEntityResolver(org.xml.sax.EntityResolver&nbsp;entityResolver)</pre>
<div class="block">Sets the EntityResolver used to find resolve URIs such as for DTDs, or
 XML Schema documents</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entityResolver</code> - DOCUMENT ME!</dd></dl>
</li>
</ul>
<a name="getXMLEncoding()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXMLEncoding</h4>
<pre>java.lang.String&nbsp;getXMLEncoding()</pre>
<div class="block">Return the encoding of this document, as part of the XML declaration This
 is <code>null</code> when unspecified or when it is not known (such as
 when the Document was created in memory) or when the implementation does
 not support this operation.
 
 <p>
 The way this encoding is retrieved also depends on the way the XML source
 is parsed. For instance, if the SAXReader is used and if the underlying
 XMLReader implementation support the
 <code>org.xml.sax.ext.Locator2</code> interface, the result returned by
 this method is specified by the <code>getEncoding()</code> method of
 that interface.
 </p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The encoding of this document, as stated in the XML declaration,
         or <code>null</code> if unknown.</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.5</dd></dl>
</li>
</ul>
<a name="setXMLEncoding(java.lang.String)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setXMLEncoding</h4>
<pre>void&nbsp;setXMLEncoding(java.lang.String&nbsp;encoding)</pre>
<div class="block">Sets the encoding of this document as it will appear in the XML
 declaration part of the document.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>encoding</code> - the encoding of the document</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.6</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Document.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-files/index-1.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/dom4j/Comment.html" title="interface in org.dom4j"><span class="strong">Prev Class</span></a></li>
<li><a href="../../org/dom4j/DocumentException.html" title="class in org.dom4j"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/dom4j/Document.html" target="_top">Frames</a></li>
<li><a href="Document.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright ? 2005 MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' /></small></p>
</body>
</html>