-
Notifications
You must be signed in to change notification settings - Fork 0
/
IDOMConfiguration.xml
567 lines (567 loc) · 37.6 KB
/
IDOMConfiguration.xml
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
<Type Name="IDOMConfiguration" FullName="Org.W3c.Dom.IDOMConfiguration">
<TypeSignature Language="C#" Value="public interface IDOMConfiguration : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IDOMConfiguration implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Org.W3c.Dom.IDOMConfiguration" />
<TypeSignature Language="F#" Value="type IDOMConfiguration = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("org/w3c/dom/DOMConfiguration", "", "Org.W3c.Dom.IDOMConfigurationInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("org/w3c/dom/DOMConfiguration", "", "Org.W3c.Dom.IDOMConfigurationInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="8">
<summary>The <c>DOMConfiguration</c> interface represents the configuration
of a document and maintains a table of recognized parameters.</summary>
<remarks>
<para>The <c>DOMConfiguration</c> interface represents the configuration
of a document and maintains a table of recognized parameters. Using the
configuration, it is possible to change
<c>Document.normalizeDocument()</c> behavior, such as replacing the
<c>CDATASection</c> nodes with <c>Text</c> nodes or
specifying the type of the schema that must be used when the validation
of the <c>Document</c> is requested. <c>DOMConfiguration</c>
objects are also used in [<see href="http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407">DOM Level 3 Load and Save</see>]
in the <c>DOMParser</c> and <c>DOMSerializer</c> interfaces.</para>
<para>The parameter names used by the <c>DOMConfiguration</c> 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 [<see href="http://www.saxproject.org/">SAX</see>].</para>
<para>The following list of parameters defined in the DOM:
<dl>
<dt>
<c>"canonical-form"</c></dt>
<dd>
<dl>
<dt><c>true</c></dt>
<dd>[<em>optional</em>] Canonicalize the document according to the rules specified in [<see href="http://www.w3.org/TR/2001/REC-xml-c14n-20010315">Canonical XML</see>],
such as removing the <c>DocumentType</c> 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 <c>true</c> 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
<c>false</c>. Parameters set to <c>false</c>: "entities", "
normalize-characters", "cdata-sections". Parameters set to
<c>true</c>: "namespaces", "namespace-declarations", "well-formed",
"element-content-whitespace". Other parameters are not changed unless
explicitly specified in the description of the parameters.</dd>
<dt>
<c>false</c></dt>
<dd>[<em>required</em>] (<em>default</em>)Do not canonicalize the document.</dd>
</dl></dd>
<dt><c>"cdata-sections"</c></dt>
<dd>
<dl>
<dt>
<c>true</c></dt>
<dd>[<em>required</em>] (<em>default</em>)Keep <c>CDATASection</c> nodes in the document.</dd>
<dt><c>false</c></dt>
<dd>[<em>required</em>]Transform <c>CDATASection</c> nodes in the document into
<c>Text</c> nodes. The new <c>Text</c> node is then combined
with any adjacent <c>Text</c> node.</dd>
</dl></dd>
<dt>
<c>"check-character-normalization"</c></dt>
<dd>
<dl>
<dt><c>true</c></dt>
<dd>[<em>optional</em>] Check if the characters in the document are <see href="http://www.w3.org/TR/2004/REC-xml11-20040204/#dt-fullnorm">fully
normalized</see>, as defined in appendix B of [<see href="http://www.w3.org/TR/2004/REC-xml11-20040204/">XML 1.1</see>]. When a
sequence of characters is encountered that fails normalization checking,
an error with the <c>DOMError.type</c> equals to
"check-character-normalization-failure" is issued. </dd>
<dt><c>false</c></dt>
<dd>[<em>required</em>] (<em>default</em>)Do not check if characters are normalized.</dd>
</dl></dd>
<dt><c>"comments"</c></dt>
<dd>
<dl>
<dt>
<c>true</c></dt>
<dd>[<em>required</em>] (<em>default</em>)Keep <c>Comment</c> nodes in the document.</dd>
<dt><c>false</c></dt>
<dd>[<em>required</em>]Discard <c>Comment</c> nodes in the document.</dd>
</dl></dd>
<dt>
<c>"datatype-normalization"</c></dt>
<dd>
<dl>
<dt><c>true</c></dt>
<dd>[<em>optional</em>] Expose schema normalized values in the tree, such as <see href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#key-nv">XML
Schema normalized values</see> in the case of XML Schema. Since this parameter requires to have schema
information, the "validate" parameter will also be set to
<c>true</c>. Having this parameter activated when "validate" is
<c>false</c> 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 [<see href="http://www.w3.org/TR/2004/REC-xml-20040204">XML 1.0</see>] and is only
meant for schema languages other than Document Type Definition (DTD). </dd>
<dt>
<c>false</c></dt>
<dd>[<em>required</em>] (<em>default</em>) Do not perform schema normalization on the tree. </dd>
</dl></dd>
<dt>
<c>"element-content-whitespace"</c></dt>
<dd>
<dl>
<dt><c>true</c></dt>
<dd>[<em>required</em>] (<em>default</em>)Keep all whitespaces in the document.</dd>
<dt><c>false</c></dt>
<dd>[<em>optional</em>] Discard all <c>Text</c> nodes that contain whitespaces in element
content, as described in <see href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204#infoitem.character">
[element content whitespace]</see>. The implementation is expected to use the attribute
<c>Text.isElementContentWhitespace</c> to determine if a
<c>Text</c> node should be discarded or not.</dd>
</dl></dd>
<dt><c>"entities"</c></dt>
<dd>
<dl>
<dt>
<c>true</c></dt>
<dd>[<em>required</em>] (<em>default</em>)Keep <c>EntityReference</c> nodes in the document.</dd>
<dt>
<c>false</c></dt>
<dd>[<em>required</em>] Remove all <c>EntityReference</c> nodes from the document,
putting the entity expansions directly in their place. <c>Text</c>
nodes are normalized, as defined in <c>Node.normalize</c>. Only <see href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#infoitem.rse">
unexpanded entity references</see> are kept in the document. </dd>
</dl>
<p ><b>Note:</b> This parameter does not affect <c>Entity</c> nodes. </dd>
<dt>
<c>"error-handler"</c></dt>
<dd>[<em>required</em>] Contains a <c>DOMErrorHandler</c> object. If an error is
encountered in the document, the implementation will call back the
<c>DOMErrorHandler</c> registered using this parameter. The
implementation may provide a default <c>DOMErrorHandler</c> object.
When called, <c>DOMError.relatedData</c> will contain the closest
node to where the error occurred. If the implementation is unable to
determine the node where the error occurs,
<c>DOMError.relatedData</c> will contain the <c>Document</c>
node. Mutations to the document from within an error handler will result
in implementation dependent behavior. </dd>
<dt><c>"infoset"</c></dt>
<dd>
<dl>
<dt>
<c>true</c></dt>
<dd>[<em>required</em>]Keep in the document the information defined in the XML Information Set [<see href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/">XML Information Set</see>]
.This forces the following parameters to <c>false</c>: "
validate-if-schema", "entities", "datatype-normalization", "cdata-sections
".This forces the following parameters to <c>true</c>: "
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 <c>getParameter</c> returns
<c>true</c> only if the individual parameters specified above are
appropriately set.</dd>
<dt><c>false</c></dt>
<dd>Setting <c>infoset</c> to
<c>false</c> has no effect.</dd>
</dl></dd>
<dt><c>"namespaces"</c></dt>
<dd>
<dl>
<dt>
<c>true</c></dt>
<dd>[<em>required</em>] (<em>default</em>) Perform the namespace processing as defined in . </dd>
<dt><c>false</c></dt>
<dd>[<em>optional</em>] Do not perform the namespace processing. </dd>
</dl></dd>
<dt>
<c>"namespace-declarations"</c></dt>
<dd> This parameter has no effect if the
parameter "namespaces" is set to <c>false</c>.
<dl>
<dt><c>true</c></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 [<see href="http://www.w3.org/TR/1999/REC-xml-names-19990114/">XML Namespaces</see>]
and [<see href="http://www.w3.org/TR/2004/REC-xml-names11-20040204/">XML Namespaces 1.1</see>]
.</dd>
<dt><c>false</c></dt>
<dd>[<em>required</em>]Discard all namespace declaration attributes. The namespace prefixes (
<c>Node.prefix</c>) are retained even if this parameter is set to
<c>false</c>.</dd>
</dl></dd>
<dt><c>"normalize-characters"</c></dt>
<dd>
<dl>
<dt><c>true</c></dt>
<dd>[<em>optional</em>] <see href="http://www.w3.org/TR/2004/REC-xml11-20040204/#dt-fullnorm">Fully
normalized</see> the characters in the document as defined in appendix B of [<see href="http://www.w3.org/TR/2004/REC-xml11-20040204/">XML 1.1</see>]. </dd>
<dt>
<c>false</c></dt>
<dd>[<em>required</em>] (<em>default</em>)Do not perform character normalization.</dd>
</dl></dd>
<dt><c>"schema-location"</c></dt>
<dd>[<em>optional</em>] Represent a <c>DOMString</c> object containing a list of URIs,
separated by whitespaces (characters matching the <see href="http://www.w3.org/TR/2004/REC-xml-20040204#NT-S">nonterminal
production S</see> defined in section 2.3 [<see href="http://www.w3.org/TR/2004/REC-xml-20040204">XML 1.0</see>]), 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 <c>schema-type</c>, 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 <c>schemaLocation</c> attribute) in a schema document (i.e.
using schema <c>import</c> mechanisms) share the same
<c>targetNamespace</c>, the schema specified by the user using this
property will be used. If two schemas specified using this property share
the same <c>targetNamespace</c> or have no namespace, the behavior
is implementation dependent. If no location has been provided, this
parameter is <c>null</c>.
<p ><b>Note:</b> The <c>"schema-location"</c> parameter is ignored
unless the "schema-type" parameter value is set. It is strongly
recommended that <c>Document.documentURI</c> will be set so that an
implementation can successfully resolve any external entities referenced. </dd>
<dt>
<c>"schema-type"</c></dt>
<dd>[<em>optional</em>] Represent a <c>DOMString</c> 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 <c>null</c>.
<p ><b>Note:</b> For XML Schema [<see href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/">XML Schema Part 1</see>]
, applications must use the value
<c>"http://www.w3.org/2001/XMLSchema"</c>. For XML DTD [<see href="http://www.w3.org/TR/2004/REC-xml-20040204">XML 1.0</see>],
applications must use the value
<c>"http://www.w3.org/TR/REC-xml"</c>. 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><c>"split-cdata-sections"</c></dt>
<dd>
<dl>
<dt>
<c>true</c></dt>
<dd>[<em>required</em>] (<em>default</em>)Split CDATA sections containing the CDATA section termination marker
']]&gt;'. When a CDATA section is split a warning is issued with a
<c>DOMError.type</c> equals to
<c>"cdata-sections-splitted"</c> and
<c>DOMError.relatedData</c> equals to the first
<c>CDATASection</c> node in document order resulting from the split.</dd>
<dt>
<c>false</c></dt>
<dd>[<em>required</em>]Signal an error if a <c>CDATASection</c> contains an
unrepresentable character.</dd>
</dl></dd>
<dt><c>"validate"</c></dt>
<dd>
<dl>
<dt><c>true</c></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 [<see href="http://www.w3.org/TR/2004/REC-xml-20040204">XML 1.0</see>]. 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
<c>true</c>. This parameter will reevaluate:
<ul>
<li> Attribute nodes with
<c>Attr.specified</c> equals to <c>false</c>, as specified in
the description of the <c>Attr</c> interface;
</li>
<li> The value of the
attribute <c>Text.isElementContentWhitespace</c> for all
<c>Text</c> nodes;
</li>
<li> The value of the attribute
<c>Attr.isId</c> for all <c>Attr</c> nodes;
</li>
<li> The attributes
<c>Element.schemaTypeInfo</c> and <c>Attr.schemaTypeInfo</c>.
</li>
</ul>
<p ><b>Note:</b> "validate-if-schema" and "validate" are mutually
exclusive, setting one of them to <c>true</c> will set the other
one to <c>false</c>. Applications should also consider setting the
parameter "well-formed" to <c>true</c>, which is the default for
that option, when validating the document. </dd>
<dt><c>false</c></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 <c>true</c>
. </dd>
</dl></dd>
<dt><c>"validate-if-schema"</c></dt>
<dd>
<dl>
<dt><c>true</c></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 <c>true</c>.
<p ><b>Note:</b> "validate-if-schema" and "validate" are mutually
exclusive, setting one of them to <c>true</c> will set the other
one to <c>false</c>. </dd>
<dt><c>false</c></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 <c>true</c>. </dd>
</dl></dd>
<dt><c>"well-formed"</c></dt>
<dd>
<dl>
<dt><c>true</c></dt>
<dd>[<em>required</em>] (<em>default</em>) Check if all nodes are XML well formed according to the XML version in
use in <c>Document.xmlVersion</c>:
<ul>
<li> check if the attribute
<c>Node.nodeName</c> contains invalid characters according to its
node type and generate a <c>DOMError</c> of type
<c>"wf-invalid-character-in-node-name"</c>, with a
<c>DOMError.SEVERITY_ERROR</c> severity, if necessary;
</li>
<li> check if
the text content inside <c>Attr</c>, <c>Element</c>,
<c>Comment</c>, <c>Text</c>, <c>CDATASection</c> nodes
for invalid characters and generate a <c>DOMError</c> of type
<c>"wf-invalid-character"</c>, with a
<c>DOMError.SEVERITY_ERROR</c> severity, if necessary;
</li>
<li> check if
the data inside <c>ProcessingInstruction</c> nodes for invalid
characters and generate a <c>DOMError</c> of type
<c>"wf-invalid-character"</c>, with a
<c>DOMError.SEVERITY_ERROR</c> severity, if necessary;
</li>
</ul></dd>
<dt>
<c>false</c></dt>
<dd>[<em>optional</em>] Do not check for XML well-formedness. </dd>
</dl></dd>
</dl></para>
<para>The resolution of the system identifiers associated with entities is
done using <c>Document.documentURI</c>. However, when the feature
"LS" defined in [<see href="http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407">DOM Level 3 Load and Save</see>]
is supported by the DOM implementation, the parameter
"resource-resolver" can also be used on <c>DOMConfiguration</c>
objects attached to <c>Document</c> nodes. If this parameter is
set, <c>Document.normalizeDocument()</c> will invoke the resource
resolver instead of using <c>Document.documentURI</c>.</para>
<para>See also the <see href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407">Document Object Model (DOM) Level 3 Core Specification</see>.</para>
<para>Added in DOM Level 3.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/DOMConfiguration" title="Reference documentation">Java documentation for <code>org.w3c.dom.DOMConfiguration</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
</Docs>
<Members>
<Member MemberName="CanSetParameter">
<MemberSignature Language="C#" Value="public bool CanSetParameter (string? name, Java.Lang.Object? value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool CanSetParameter(string name, class Java.Lang.Object value) cil managed" />
<MemberSignature Language="DocId" Value="M:Org.W3c.Dom.IDOMConfiguration.CanSetParameter(System.String,Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member CanSetParameter : string * Java.Lang.Object -> bool" Usage="iDOMConfiguration.CanSetParameter (name, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("canSetParameter", "(Ljava/lang/String;Ljava/lang/Object;)Z", "GetCanSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler:Org.W3c.Dom.IDOMConfigurationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("canSetParameter", "(Ljava/lang/String;Ljava/lang/Object;)Z", "GetCanSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler:Org.W3c.Dom.IDOMConfigurationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="value" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="name">The name of the parameter to check.</param>
<param name="value">An object. if <c>null</c>, the returned value is
<c>true</c>.</param>
<summary>Check if setting a parameter to a specific value is supported.</summary>
<returns>
<c>true</c> if the parameter could be successfully set
to the specified value, or <c>false</c> if the parameter is
not recognized or the requested value is not supported. This does
not change the current value of the parameter itself.</returns>
<remarks>
<para>Check if setting a parameter to a specific value is supported.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/DOMConfiguration#canSetParameter(java.lang.String,%20java.lang.Object)" title="Reference documentation">Java documentation for <code>org.w3c.dom.DOMConfiguration.canSetParameter(java.lang.String, java.lang.Object)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
</Docs>
</Member>
<Member MemberName="GetParameter">
<MemberSignature Language="C#" Value="public Java.Lang.Object? GetParameter (string? name);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Lang.Object GetParameter(string name) cil managed" />
<MemberSignature Language="DocId" Value="M:Org.W3c.Dom.IDOMConfiguration.GetParameter(System.String)" />
<MemberSignature Language="F#" Value="abstract member GetParameter : string -> Java.Lang.Object" Usage="iDOMConfiguration.GetParameter name" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getParameter", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetParameter_Ljava_lang_String_Handler:Org.W3c.Dom.IDOMConfigurationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getParameter", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetParameter_Ljava_lang_String_Handler:Org.W3c.Dom.IDOMConfigurationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the parameter.</param>
<summary>Return the value of a parameter if known.</summary>
<returns>The current object associated with the specified parameter or
<c>null</c> if no object has been associated or if the
parameter is not supported.</returns>
<remarks>
<para>Return the value of a parameter if known.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/DOMConfiguration#getParameter(java.lang.String)" title="Reference documentation">Java documentation for <code>org.w3c.dom.DOMConfiguration.getParameter(java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
<exception cref="T:Org.W3c.Dom.DOMException">NOT_FOUND_ERR: Raised when the parameter name is not recognized.
</exception>
</Docs>
</Member>
<Member MemberName="ParameterNames">
<MemberSignature Language="C#" Value="public Org.W3c.Dom.IDOMStringList? ParameterNames { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Org.W3c.Dom.IDOMStringList ParameterNames" />
<MemberSignature Language="DocId" Value="P:Org.W3c.Dom.IDOMConfiguration.ParameterNames" />
<MemberSignature Language="F#" Value="member this.ParameterNames : Org.W3c.Dom.IDOMStringList" Usage="Org.W3c.Dom.IDOMConfiguration.ParameterNames" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getParameterNames", "()Lorg/w3c/dom/DOMStringList;", "GetGetParameterNamesHandler:Org.W3c.Dom.IDOMConfigurationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getParameterNames", "()Lorg/w3c/dom/DOMStringList;", "GetGetParameterNamesHandler:Org.W3c.Dom.IDOMConfigurationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Org.W3c.Dom.IDOMStringList</ReturnType>
</ReturnValue>
<Docs>
<summary>The list of the parameters supported by this
<c>DOMConfiguration</c> object and for which at least one value
can be set by the application.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
</Docs>
</Member>
<Member MemberName="SetParameter">
<MemberSignature Language="C#" Value="public void SetParameter (string? name, Java.Lang.Object? value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetParameter(string name, class Java.Lang.Object value) cil managed" />
<MemberSignature Language="DocId" Value="M:Org.W3c.Dom.IDOMConfiguration.SetParameter(System.String,Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member SetParameter : string * Java.Lang.Object -> unit" Usage="iDOMConfiguration.SetParameter (name, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setParameter", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler:Org.W3c.Dom.IDOMConfigurationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setParameter", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler:Org.W3c.Dom.IDOMConfigurationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="value" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="name">The name of the parameter to set.</param>
<param name="value">The new value or <c>null</c> if the user wishes to
unset the parameter. While the type of the value parameter is
defined as <c>DOMUserData</c>, 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
<c>DOMErrorHandler</c>.</param>
<summary>Set the value of a parameter.</summary>
<remarks>
<para>Set the value of a parameter.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/DOMConfiguration#setParameter(java.lang.String,%20java.lang.Object)" title="Reference documentation">Java documentation for <code>org.w3c.dom.DOMConfiguration.setParameter(java.lang.String, java.lang.Object)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
<exception cref="T:Org.W3c.Dom.DOMException">NOT_FOUND_ERR: Raised when the parameter name is not recognized.
<format type="text/html"><br /></format> NOT_SUPPORTED_ERR: Raised when the parameter name is recognized
but the requested value cannot be set.
<format type="text/html"><br /></format> TYPE_MISMATCH_ERR: Raised if the value type for this parameter
name is incompatible with the expected value type.
</exception>
</Docs>
</Member>
</Members>
</Type>