/usr/share/doc/libxml-commons-external-java/api/org/w3c/dom/DOMConfiguration.html is in libxml-commons-external-java-doc 1.4.01-2.
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 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_23) on Fri Aug 26 22:07:00 UTC 2011 -->
<TITLE>
DOMConfiguration
</TITLE>
<META NAME="date" CONTENT="2011-08-26">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DOMConfiguration";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/w3c/dom/DocumentType.html" title="interface in org.w3c.dom"><B>PREV CLASS</B></A>
<A HREF="../../../org/w3c/dom/DOMError.html" title="interface in org.w3c.dom"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/w3c/dom/DOMConfiguration.html" target="_top"><B>FRAMES</B></A>
<A HREF="DOMConfiguration.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.w3c.dom</FONT>
<BR>
Interface DOMConfiguration</H2>
<HR>
<DL>
<DT><PRE>public interface <B>DOMConfiguration</B></DL>
</PRE>
<P>
The <code>DOMConfiguration</code> interface represents the configuration
of a document and maintains a table of recognized parameters. Using the
configuration, it is possible to change
<code>Document.normalizeDocument()</code> behavior, such as replacing the
<code>CDATASection</code> nodes with <code>Text</code> nodes or
specifying the type of the schema that must be used when the validation
of the <code>Document</code> is requested. <code>DOMConfiguration</code>
objects are also used in [<a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407'>DOM Level 3 Load and Save</a>]
in the <code>DOMParser</code> and <code>DOMSerializer</code> interfaces.
<p> The parameter names used by the <code>DOMConfiguration</code> object
are defined throughout the DOM Level 3 specifications. Names are
case-insensitive. To avoid possible conflicts, as a convention, names
referring to parameters defined outside the DOM specification should be
made unique. Because parameters are exposed as properties in the , names
are recommended to follow the section 5.16 Identifiers of [Unicode] with the addition of the character '-' (HYPHEN-MINUS) but it is not
enforced by the DOM implementation. DOM Level 3 Core Implementations are
required to recognize all parameters defined in this specification. Some
parameter values may also be required to be supported by the
implementation. Refer to the definition of the parameter to know if a
value must be supported or not.
<p ><b>Note:</b> Parameters are similar to features and properties used in
SAX2 [<a href='http://www.saxproject.org/'>SAX</a>].
<p> The following list of parameters defined in the DOM:
<dl>
<dt>
<code>"canonical-form"</code></dt>
<dd>
<dl>
<dt><code>true</code></dt>
<dd>[<em>optional</em>] Canonicalize the document according to the rules specified in [<a href='http://www.w3.org/TR/2001/REC-xml-c14n-20010315'>Canonical XML</a>],
such as removing the <code>DocumentType</code> node (if any) from the
tree, or removing superfluous namespace declarations from each element.
Note that this is limited to what can be represented in the DOM; in
particular, there is no way to specify the order of the attributes in the
DOM. In addition, Setting this parameter to <code>true</code> will also
set the state of the parameters listed below. Later changes to the state
of one of those parameters will revert "canonical-form" back to
<code>false</code>. Parameters set to <code>false</code>: "entities", "
normalize-characters", "cdata-sections". Parameters set to
<code>true</code>: "namespaces", "namespace-declarations", "well-formed",
"element-content-whitespace". Other parameters are not changed unless
explicitly specified in the description of the parameters.</dd>
<dt>
<code>false</code></dt>
<dd>[<em>required</em>] (<em>default</em>)Do not canonicalize the document.</dd>
</dl></dd>
<dt><code>"cdata-sections"</code></dt>
<dd>
<dl>
<dt>
<code>true</code></dt>
<dd>[<em>required</em>] (<em>default</em>)Keep <code>CDATASection</code> nodes in the document.</dd>
<dt><code>false</code></dt>
<dd>[<em>required</em>]Transform <code>CDATASection</code> nodes in the document into
<code>Text</code> nodes. The new <code>Text</code> node is then combined
with any adjacent <code>Text</code> node.</dd>
</dl></dd>
<dt>
<code>"check-character-normalization"</code></dt>
<dd>
<dl>
<dt><code>true</code></dt>
<dd>[<em>optional</em>] Check if the characters in the document are <a href='http://www.w3.org/TR/2004/REC-xml11-20040204/#dt-fullnorm'>fully
normalized</a>, as defined in appendix B of [<a href='http://www.w3.org/TR/2004/REC-xml11-20040204/'>XML 1.1</a>]. When a
sequence of characters is encountered that fails normalization checking,
an error with the <code>DOMError.type</code> equals to
"check-character-normalization-failure" is issued. </dd>
<dt><code>false</code></dt>
<dd>[<em>required</em>] (<em>default</em>)Do not check if characters are normalized.</dd>
</dl></dd>
<dt><code>"comments"</code></dt>
<dd>
<dl>
<dt>
<code>true</code></dt>
<dd>[<em>required</em>] (<em>default</em>)Keep <code>Comment</code> nodes in the document.</dd>
<dt><code>false</code></dt>
<dd>[<em>required</em>]Discard <code>Comment</code> nodes in the document.</dd>
</dl></dd>
<dt>
<code>"datatype-normalization"</code></dt>
<dd>
<dl>
<dt><code>true</code></dt>
<dd>[<em>optional</em>] Expose schema normalized values in the tree, such as <a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#key-nv'>XML
Schema normalized values</a> in the case of XML Schema. Since this parameter requires to have schema
information, the "validate" parameter will also be set to
<code>true</code>. Having this parameter activated when "validate" is
<code>false</code> has no effect and no schema-normalization will happen.
<p ><b>Note:</b> Since the document contains the result of the XML 1.0
processing, this parameter does not apply to attribute value
normalization as defined in section 3.3.3 of [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>] and is only
meant for schema languages other than Document Type Definition (DTD). </dd>
<dt>
<code>false</code></dt>
<dd>[<em>required</em>] (<em>default</em>) Do not perform schema normalization on the tree. </dd>
</dl></dd>
<dt>
<code>"element-content-whitespace"</code></dt>
<dd>
<dl>
<dt><code>true</code></dt>
<dd>[<em>required</em>] (<em>default</em>)Keep all whitespaces in the document.</dd>
<dt><code>false</code></dt>
<dd>[<em>optional</em>] Discard all <code>Text</code> nodes that contain whitespaces in element
content, as described in <a href='http://www.w3.org/TR/2004/REC-xml-infoset-20040204#infoitem.character'>
[element content whitespace]</a>. The implementation is expected to use the attribute
<code>Text.isElementContentWhitespace</code> to determine if a
<code>Text</code> node should be discarded or not.</dd>
</dl></dd>
<dt><code>"entities"</code></dt>
<dd>
<dl>
<dt>
<code>true</code></dt>
<dd>[<em>required</em>] (<em>default</em>)Keep <code>EntityReference</code> nodes in the document.</dd>
<dt>
<code>false</code></dt>
<dd>[<em>required</em>] Remove all <code>EntityReference</code> nodes from the document,
putting the entity expansions directly in their place. <code>Text</code>
nodes are normalized, as defined in <code>Node.normalize</code>. Only <a href='http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#infoitem.rse'>
unexpanded entity references</a> are kept in the document. </dd>
</dl>
<p ><b>Note:</b> This parameter does not affect <code>Entity</code> nodes. </dd>
<dt>
<code>"error-handler"</code></dt>
<dd>[<em>required</em>] Contains a <code>DOMErrorHandler</code> object. If an error is
encountered in the document, the implementation will call back the
<code>DOMErrorHandler</code> registered using this parameter. The
implementation may provide a default <code>DOMErrorHandler</code> object.
When called, <code>DOMError.relatedData</code> will contain the closest
node to where the error occurred. If the implementation is unable to
determine the node where the error occurs,
<code>DOMError.relatedData</code> will contain the <code>Document</code>
node. Mutations to the document from within an error handler will result
in implementation dependent behavior. </dd>
<dt><code>"infoset"</code></dt>
<dd>
<dl>
<dt>
<code>true</code></dt>
<dd>[<em>required</em>]Keep in the document the information defined in the XML Information Set [<a href='http://www.w3.org/TR/2004/REC-xml-infoset-20040204/'>XML Information Set</a>]
.This forces the following parameters to <code>false</code>: "
validate-if-schema", "entities", "datatype-normalization", "cdata-sections
".This forces the following parameters to <code>true</code>: "
namespace-declarations", "well-formed", "element-content-whitespace", "
comments", "namespaces".Other parameters are not changed unless
explicitly specified in the description of the parameters. Note that
querying this parameter with <code>getParameter</code> returns
<code>true</code> only if the individual parameters specified above are
appropriately set.</dd>
<dt><code>false</code></dt>
<dd>Setting <code>infoset</code> to
<code>false</code> has no effect.</dd>
</dl></dd>
<dt><code>"namespaces"</code></dt>
<dd>
<dl>
<dt>
<code>true</code></dt>
<dd>[<em>required</em>] (<em>default</em>) Perform the namespace processing as defined in . </dd>
<dt><code>false</code></dt>
<dd>[<em>optional</em>] Do not perform the namespace processing. </dd>
</dl></dd>
<dt>
<code>"namespace-declarations"</code></dt>
<dd> This parameter has no effect if the
parameter "namespaces" is set to <code>false</code>.
<dl>
<dt><code>true</code></dt>
<dd>[<em>required</em>] (<em>default</em>) Include namespace declaration attributes, specified or defaulted from
the schema, in the document. See also the sections "Declaring Namespaces"
in [<a href='http://www.w3.org/TR/1999/REC-xml-names-19990114/'>XML Namespaces</a>]
and [<a href='http://www.w3.org/TR/2004/REC-xml-names11-20040204/'>XML Namespaces 1.1</a>]
.</dd>
<dt><code>false</code></dt>
<dd>[<em>required</em>]Discard all namespace declaration attributes. The namespace prefixes (
<code>Node.prefix</code>) are retained even if this parameter is set to
<code>false</code>.</dd>
</dl></dd>
<dt><code>"normalize-characters"</code></dt>
<dd>
<dl>
<dt><code>true</code></dt>
<dd>[<em>optional</em>] <a href='http://www.w3.org/TR/2004/REC-xml11-20040204/#dt-fullnorm'>Fully
normalized</a> the characters in the document as defined in appendix B of [<a href='http://www.w3.org/TR/2004/REC-xml11-20040204/'>XML 1.1</a>]. </dd>
<dt>
<code>false</code></dt>
<dd>[<em>required</em>] (<em>default</em>)Do not perform character normalization.</dd>
</dl></dd>
<dt><code>"schema-location"</code></dt>
<dd>[<em>optional</em>] Represent a <code>DOMString</code> object containing a list of URIs,
separated by whitespaces (characters matching the <a href='http://www.w3.org/TR/2004/REC-xml-20040204#NT-S'>nonterminal
production S</a> defined in section 2.3 [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>]), that
represents the schemas against which validation should occur, i.e. the
current schema. The types of schemas referenced in this list must match
the type specified with <code>schema-type</code>, otherwise the behavior
of an implementation is undefined. The schemas specified using this
property take precedence to the schema information specified in the
document itself. For namespace aware schema, if a schema specified using
this property and a schema specified in the document instance (i.e. using
the <code>schemaLocation</code> attribute) in a schema document (i.e.
using schema <code>import</code> mechanisms) share the same
<code>targetNamespace</code>, the schema specified by the user using this
property will be used. If two schemas specified using this property share
the same <code>targetNamespace</code> or have no namespace, the behavior
is implementation dependent. If no location has been provided, this
parameter is <code>null</code>.
<p ><b>Note:</b> The <code>"schema-location"</code> parameter is ignored
unless the "schema-type" parameter value is set. It is strongly
recommended that <code>Document.documentURI</code> will be set so that an
implementation can successfully resolve any external entities referenced. </dd>
<dt>
<code>"schema-type"</code></dt>
<dd>[<em>optional</em>] Represent a <code>DOMString</code> object containing an absolute URI
and representing the type of the schema language used to validate a
document against. Note that no lexical checking is done on the absolute
URI. If this parameter is not set, a default value may be provided by
the implementation, based on the schema languages supported and on the
schema language used at load time. If no value is provided, this
parameter is <code>null</code>.
<p ><b>Note:</b> For XML Schema [<a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/'>XML Schema Part 1</a>]
, applications must use the value
<code>"http://www.w3.org/2001/XMLSchema"</code>. For XML DTD [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>],
applications must use the value
<code>"http://www.w3.org/TR/REC-xml"</code>. Other schema languages are
outside the scope of the W3C and therefore should recommend an absolute
URI in order to use this method. </dd>
<dt><code>"split-cdata-sections"</code></dt>
<dd>
<dl>
<dt>
<code>true</code></dt>
<dd>[<em>required</em>] (<em>default</em>)Split CDATA sections containing the CDATA section termination marker
']]>'. When a CDATA section is split a warning is issued with a
<code>DOMError.type</code> equals to
<code>"cdata-sections-splitted"</code> and
<code>DOMError.relatedData</code> equals to the first
<code>CDATASection</code> node in document order resulting from the split.</dd>
<dt>
<code>false</code></dt>
<dd>[<em>required</em>]Signal an error if a <code>CDATASection</code> contains an
unrepresentable character.</dd>
</dl></dd>
<dt><code>"validate"</code></dt>
<dd>
<dl>
<dt><code>true</code></dt>
<dd>[<em>optional</em>] Require the validation against a schema (i.e. XML schema, DTD, any
other type or representation of schema) of the document as it is being
normalized as defined by [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>]. If
validation errors are found, or no schema was found, the error handler is
notified. Schema-normalized values will not be exposed according to the
schema in used unless the parameter "datatype-normalization" is
<code>true</code>. This parameter will reevaluate:
<ul>
<li> Attribute nodes with
<code>Attr.specified</code> equals to <code>false</code>, as specified in
the description of the <code>Attr</code> interface;
</li>
<li> The value of the
attribute <code>Text.isElementContentWhitespace</code> for all
<code>Text</code> nodes;
</li>
<li> The value of the attribute
<code>Attr.isId</code> for all <code>Attr</code> nodes;
</li>
<li> The attributes
<code>Element.schemaTypeInfo</code> and <code>Attr.schemaTypeInfo</code>.
</li>
</ul>
<p ><b>Note:</b> "validate-if-schema" and "validate" are mutually
exclusive, setting one of them to <code>true</code> will set the other
one to <code>false</code>. Applications should also consider setting the
parameter "well-formed" to <code>true</code>, which is the default for
that option, when validating the document. </dd>
<dt><code>false</code></dt>
<dd>[<em>required</em>] (<em>default</em>) Do not accomplish schema processing, including the internal subset
processing. Default attribute values information are kept. Note that
validation might still happen if "validate-if-schema" is <code>true</code>
. </dd>
</dl></dd>
<dt><code>"validate-if-schema"</code></dt>
<dd>
<dl>
<dt><code>true</code></dt>
<dd>[<em>optional</em>]Enable validation only if a declaration for the document element can be
found in a schema (independently of where it is found, i.e. XML schema,
DTD, or any other type or representation of schema). If validation is
enabled, this parameter has the same behavior as the parameter "validate"
set to <code>true</code>.
<p ><b>Note:</b> "validate-if-schema" and "validate" are mutually
exclusive, setting one of them to <code>true</code> will set the other
one to <code>false</code>. </dd>
<dt><code>false</code></dt>
<dd>[<em>required</em>] (<em>default</em>) No schema processing should be performed if the document has a schema,
including internal subset processing. Default attribute values
information are kept. Note that validation must still happen if "validate
" is <code>true</code>. </dd>
</dl></dd>
<dt><code>"well-formed"</code></dt>
<dd>
<dl>
<dt><code>true</code></dt>
<dd>[<em>required</em>] (<em>default</em>) Check if all nodes are XML well formed according to the XML version in
use in <code>Document.xmlVersion</code>:
<ul>
<li> check if the attribute
<code>Node.nodeName</code> contains invalid characters according to its
node type and generate a <code>DOMError</code> of type
<code>"wf-invalid-character-in-node-name"</code>, with a
<code>DOMError.SEVERITY_ERROR</code> severity, if necessary;
</li>
<li> check if
the text content inside <code>Attr</code>, <code>Element</code>,
<code>Comment</code>, <code>Text</code>, <code>CDATASection</code> nodes
for invalid characters and generate a <code>DOMError</code> of type
<code>"wf-invalid-character"</code>, with a
<code>DOMError.SEVERITY_ERROR</code> severity, if necessary;
</li>
<li> check if
the data inside <code>ProcessingInstruction</code> nodes for invalid
characters and generate a <code>DOMError</code> of type
<code>"wf-invalid-character"</code>, with a
<code>DOMError.SEVERITY_ERROR</code> severity, if necessary;
</li>
</ul></dd>
<dt>
<code>false</code></dt>
<dd>[<em>optional</em>] Do not check for XML well-formedness. </dd>
</dl></dd>
</dl>
<p> The resolution of the system identifiers associated with entities is
done using <code>Document.documentURI</code>. However, when the feature
"LS" defined in [<a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407'>DOM Level 3 Load and Save</a>]
is supported by the DOM implementation, the parameter
"resource-resolver" can also be used on <code>DOMConfiguration</code>
objects attached to <code>Document</code> nodes. If this parameter is
set, <code>Document.normalizeDocument()</code> will invoke the resource
resolver instead of using <code>Document.documentURI</code>.
<p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
<P>
<P>
<DL>
<DT><B>Since:</B></DT>
<DD>DOM Level 3</DD>
</DL>
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/w3c/dom/DOMConfiguration.html#canSetParameter(java.lang.String, java.lang.Object)">canSetParameter</A></B>(java.lang.String name,
java.lang.Object value)</CODE>
<BR>
Check if setting a parameter to a specific value is supported.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/w3c/dom/DOMConfiguration.html#getParameter(java.lang.String)">getParameter</A></B>(java.lang.String name)</CODE>
<BR>
Return the value of a parameter if known.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/w3c/dom/DOMStringList.html" title="interface in org.w3c.dom">DOMStringList</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/w3c/dom/DOMConfiguration.html#getParameterNames()">getParameterNames</A></B>()</CODE>
<BR>
The list of the parameters supported by this
<code>DOMConfiguration</code> object and for which at least one value
can be set by the application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/w3c/dom/DOMConfiguration.html#setParameter(java.lang.String, java.lang.Object)">setParameter</A></B>(java.lang.String name,
java.lang.Object value)</CODE>
<BR>
Set the value of a parameter.</TD>
</TR>
</TABLE>
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="setParameter(java.lang.String, java.lang.Object)"><!-- --></A><H3>
setParameter</H3>
<PRE>
void <B>setParameter</B>(java.lang.String name,
java.lang.Object value)
throws <A HREF="../../../org/w3c/dom/DOMException.html" title="class in org.w3c.dom">DOMException</A></PRE>
<DL>
<DD>Set the value of a parameter.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the parameter to set.<DD><CODE>value</CODE> - The new value or <code>null</code> if the user wishes to
unset the parameter. While the type of the value parameter is
defined as <code>DOMUserData</code>, the object type must match the
type defined by the definition of the parameter. For example, if
the parameter is "error-handler", the value must be of type
<code>DOMErrorHandler</code>.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/w3c/dom/DOMException.html" title="class in org.w3c.dom">DOMException</A></CODE> - NOT_FOUND_ERR: Raised when the parameter name is not recognized.
<br> NOT_SUPPORTED_ERR: Raised when the parameter name is recognized
but the requested value cannot be set.
<br> TYPE_MISMATCH_ERR: Raised if the value type for this parameter
name is incompatible with the expected value type.</DL>
</DD>
</DL>
<HR>
<A NAME="getParameter(java.lang.String)"><!-- --></A><H3>
getParameter</H3>
<PRE>
java.lang.Object <B>getParameter</B>(java.lang.String name)
throws <A HREF="../../../org/w3c/dom/DOMException.html" title="class in org.w3c.dom">DOMException</A></PRE>
<DL>
<DD>Return the value of a parameter if known.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the parameter.
<DT><B>Returns:</B><DD>The current object associated with the specified parameter or
<code>null</code> if no object has been associated or if the
parameter is not supported.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/w3c/dom/DOMException.html" title="class in org.w3c.dom">DOMException</A></CODE> - NOT_FOUND_ERR: Raised when the parameter name is not recognized.</DL>
</DD>
</DL>
<HR>
<A NAME="canSetParameter(java.lang.String, java.lang.Object)"><!-- --></A><H3>
canSetParameter</H3>
<PRE>
boolean <B>canSetParameter</B>(java.lang.String name,
java.lang.Object value)</PRE>
<DL>
<DD>Check if setting a parameter to a specific value is supported.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the parameter to check.<DD><CODE>value</CODE> - An object. if <code>null</code>, the returned value is
<code>true</code>.
<DT><B>Returns:</B><DD><code>true</code> if the parameter could be successfully set
to the specified value, or <code>false</code> if the parameter is
not recognized or the requested value is not supported. This does
not change the current value of the parameter itself.</DL>
</DD>
</DL>
<HR>
<A NAME="getParameterNames()"><!-- --></A><H3>
getParameterNames</H3>
<PRE>
<A HREF="../../../org/w3c/dom/DOMStringList.html" title="interface in org.w3c.dom">DOMStringList</A> <B>getParameterNames</B>()</PRE>
<DL>
<DD>The list of the parameters supported by this
<code>DOMConfiguration</code> object and for which at least one value
can be set by the application. Note that this list can also contain
parameter names defined outside this specification.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/w3c/dom/DocumentType.html" title="interface in org.w3c.dom"><B>PREV CLASS</B></A>
<A HREF="../../../org/w3c/dom/DOMError.html" title="interface in org.w3c.dom"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/w3c/dom/DOMConfiguration.html" target="_top"><B>FRAMES</B></A>
<A HREF="DOMConfiguration.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
|