XQuilla/docs/dom3-api/classxercesc_1_1DOMConfiguration.html

567 lines
30 KiB
HTML
Raw Normal View History

2020-02-17 21:05:20 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
2020-02-17 21:11:31 +00:00
<title>XQilla DOM3 API Documentation</title>
2020-02-17 21:05:20 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
2020-02-17 21:11:31 +00:00
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
2020-02-17 21:24:47 +00:00
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
2020-02-17 21:19:57 +00:00
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
2020-02-17 21:24:47 +00:00
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
2020-02-17 21:22:42 +00:00
</ul>
2020-02-17 21:19:57 +00:00
</div>
2020-02-17 21:24:47 +00:00
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacexercesc.html">xercesc</a></li><li class="navelem"><a class="el" href="classxercesc_1_1DOMConfiguration.html">DOMConfiguration</a></li> </ul>
2020-02-17 21:22:42 +00:00
</div>
2020-02-17 21:24:47 +00:00
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classxercesc_1_1DOMConfiguration-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">xercesc::DOMConfiguration Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
2020-02-17 21:19:57 +00:00
<div class="contents">
2020-02-17 21:05:20 +00:00
2020-02-17 21:24:47 +00:00
<p>The <a class="el" href="classxercesc_1_1DOMConfiguration.html" title="The DOMConfiguration interface represents the configuration of a document and maintains a table of re...">DOMConfiguration</a> interface represents the configuration of a document and maintains a table of recognized parameters.
<a href="classxercesc_1_1DOMConfiguration.html#details">More...</a></p>
2020-02-17 21:17:06 +00:00
2020-02-17 21:24:47 +00:00
<p><code>#include &lt;<a class="el" href="DOMConfiguration_8hpp_source.html">DOMConfiguration.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a62e7cd90090e47b0084ab872ac5ecaae"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMConfiguration.html#a62e7cd90090e47b0084ab872ac5ecaae">setParameter</a> (const XMLCh *name, const void *value)=0</td></tr>
<tr class="memdesc:a62e7cd90090e47b0084ab872ac5ecaae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value of a parameter. <a href="#a62e7cd90090e47b0084ab872ac5ecaae">More...</a><br/></td></tr>
<tr class="separator:a62e7cd90090e47b0084ab872ac5ecaae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd4571ecac628cb99c87fde0f1574349"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMConfiguration.html#abd4571ecac628cb99c87fde0f1574349">setParameter</a> (const XMLCh *name, bool value)=0</td></tr>
<tr class="separator:abd4571ecac628cb99c87fde0f1574349"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20a093954d089cee96a04318ace33ff2"><td class="memItemLeft" align="right" valign="top">virtual const void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMConfiguration.html#a20a093954d089cee96a04318ace33ff2">getParameter</a> (const XMLCh *name) const =0</td></tr>
<tr class="memdesc:a20a093954d089cee96a04318ace33ff2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the value of a parameter if known. <a href="#a20a093954d089cee96a04318ace33ff2">More...</a><br/></td></tr>
<tr class="separator:a20a093954d089cee96a04318ace33ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa50d41245f94f5d5b338219f7f75c005"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMConfiguration.html#aa50d41245f94f5d5b338219f7f75c005">canSetParameter</a> (const XMLCh *name, const void *value) const =0</td></tr>
<tr class="memdesc:aa50d41245f94f5d5b338219f7f75c005"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if setting a parameter to a specific value is supported. <a href="#aa50d41245f94f5d5b338219f7f75c005">More...</a><br/></td></tr>
<tr class="separator:aa50d41245f94f5d5b338219f7f75c005"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac257cb3ecbdaff056e2d3de4b7c8f394"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMConfiguration.html#ac257cb3ecbdaff056e2d3de4b7c8f394">canSetParameter</a> (const XMLCh *name, bool value) const =0</td></tr>
<tr class="separator:ac257cb3ecbdaff056e2d3de4b7c8f394"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9f0810e765b10da0e2a9e77585c01f5"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classxercesc_1_1DOMStringList.html">DOMStringList</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMConfiguration.html#ae9f0810e765b10da0e2a9e77585c01f5">getParameterNames</a> () const =0</td></tr>
<tr class="memdesc:ae9f0810e765b10da0e2a9e77585c01f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The list of the parameters supported by this <a class="el" href="classxercesc_1_1DOMConfiguration.html" title="The DOMConfiguration interface represents the configuration of a document and maintains a table of re...">DOMConfiguration</a> object and for which at least one value can be set by the application. <a href="#ae9f0810e765b10da0e2a9e77585c01f5">More...</a><br/></td></tr>
<tr class="separator:ae9f0810e765b10da0e2a9e77585c01f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
2020-02-17 21:17:06 +00:00
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
2020-02-17 21:24:47 +00:00
<tr class="memitem:ae5da7bb1ca8475d71596b1aa1771b6fc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMConfiguration.html#ae5da7bb1ca8475d71596b1aa1771b6fc">~DOMConfiguration</a> ()</td></tr>
<tr class="memdesc:ae5da7bb1ca8475d71596b1aa1771b6fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#ae5da7bb1ca8475d71596b1aa1771b6fc">More...</a><br/></td></tr>
<tr class="separator:ae5da7bb1ca8475d71596b1aa1771b6fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
2020-02-17 21:17:06 +00:00
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
2020-02-17 21:24:47 +00:00
<tr class="memitem:a09be28924fe48cc06e65b0365bd0d1eb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMConfiguration.html#a09be28924fe48cc06e65b0365bd0d1eb">DOMConfiguration</a> ()</td></tr>
<tr class="separator:a09be28924fe48cc06e65b0365bd0d1eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:24:47 +00:00
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classxercesc_1_1DOMConfiguration.html" title="The DOMConfiguration interface represents the configuration of a document and maintains a table of re...">DOMConfiguration</a> interface represents the configuration of a document and maintains a table of recognized parameters. </p>
<p>Using the configuration, it is possible to change Document.normalizeDocument behavior, such as replacing CDATASection nodes with Text nodes or specifying the type of the schema that must be used when the validation of the Document is requested. <a class="el" href="classxercesc_1_1DOMConfiguration.html" title="The DOMConfiguration interface represents the configuration of a document and maintains a table of re...">DOMConfiguration</a> objects are also used in [DOM Level 3 Load and Save] in the <a class="el" href="classxercesc_1_1DOMLSParser.html" title="DOMLSParser provides an API for parsing XML documents and building the corresponding DOM document tre...">DOMLSParser</a> and <a class="el" href="classxercesc_1_1DOMLSSerializer.html">DOMLSSerializer</a> interfaces.</p>
<p>The <a class="el" href="classxercesc_1_1DOMConfiguration.html" title="The DOMConfiguration interface represents the configuration of a document and maintains a table of re...">DOMConfiguration</a> distinguish two types of parameters: boolean (boolean parameters) and DOMUserData (parameters). The names used by the <a class="el" href="classxercesc_1_1DOMConfiguration.html" title="The DOMConfiguration interface represents the configuration of a document and maintains a table of re...">DOMConfiguration</a> object are defined throughout the DOM Level 3 specifications. Names are case-insensitive. To avoid possible conflicts, as a convention, names referring to boolean parameters and parameters defined outside the DOM specification should be made unique. Names are recommended to follow the XML name production rule but it is not enforced by the DOM implementation. DOM Level 3 Core Implementations are required to recognize all boolean parameters and parameters defined in this specification. Each boolean parameter state or parameter value may then be supported or not by the implementation. Refer to their definition to know if a state or a value must be supported or not.</p>
2020-02-17 21:19:57 +00:00
<p>Note: Parameters are similar to features and properties used in SAX2 [SAX].</p>
<p>The following list of parameters defined in the DOM:</p>
2020-02-17 21:24:47 +00:00
<p>"error-handler" [required] A <a class="el" href="classxercesc_1_1DOMErrorHandler.html" title="Basic interface for DOM error handlers. ">DOMErrorHandler</a> object. If an error is encountered in the document, the implementation will call back the <a class="el" href="classxercesc_1_1DOMErrorHandler.html" title="Basic interface for DOM error handlers. ">DOMErrorHandler</a> registered using this parameter. When called, DOMError.relatedData will contain the closest node to where the error occured. If the implementation is unable to determine the node where the error occurs, DOMError.relatedData will contain the Document node. Mutations to the document from within an error handler will result in implementation dependent behaviour.</p>
2020-02-17 21:19:57 +00:00
<p>"schema-type" [optional] A DOMString 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.</p>
<p>Note: For XML Schema [XML Schema Part 1], applications must use the value "http://www.w3.org/2001/XMLSchema". For XML DTD [XML 1.0], applications must use the value "http://www.w3.org/TR/REC-xml". Other schema languages are outside the scope of the W3C and therefore should recommend an absolute URI in order to use this method.</p>
<p>"schema-location" [optional] A DOMString object containing a list of URIs, separated by white spaces (characters matching the nonterminal production S defined in section 2.3 [XML 1.0]), that represents the schemas against which validation should occur. The types of schemas referenced in this list must match the type specified with schema-type, otherwise the behaviour of an implementation is undefined. If the schema type is XML Schema [XML Schema Part 1], only one of the XML Schemas in the list can be with no namespace. If validation occurs against a namespace aware schema, i.e. XML Schema, and the targetNamespace of a schema (specified using this property) matches the targetNamespace of a schema occurring in the instance document, i.e in schemaLocation attribute, the schema specified by the user using this property will be used (i.e., in XML Schema the schemaLocation attribute in the instance document or on the import element will be effectively ignored).</p>
<p>Note: It is illegal to set the schema-location parameter if the schema-type parameter value is not set. It is strongly recommended that DOMInputSource.baseURI will be set, so that an implementation can successfully resolve any external entities referenced.</p>
<p>The following list of boolean parameters (features) defined in the DOM:</p>
2020-02-17 21:24:47 +00:00
<p>"canonical-form" </p>
<pre class="fragment"> true
[optional]
Canonicalize the document according to the rules
specified in [Canonical XML]. 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.
false
[required] (default)
Do not canonicalize the document.
</pre><p>"cdata-sections" </p>
<pre class="fragment"> true
[required] (default)
Keep CDATASection nodes in the document.
false
[required]
Transform CDATASection nodes in the document
into Text nodes. The new Text node is
then combined with any adjacent Text node.
</pre><p>"comments" </p>
<pre class="fragment"> true
[required] (default)
Keep Comment nodes in the document.
false
[required]
Discard Comment nodes in the Document.
</pre><p>"datatype-normalization" </p>
<pre class="fragment"> true
[required]
Exposed normalized values in the tree.
false
[required] (default)
Do not perform normalization on the tree.
</pre><p>"discard-default-content" </p>
<pre class="fragment"> true
[required] (default)
Use whatever information available to the
implementation (i.e. XML schema, DTD, the specified
flag on Attr nodes, and so on) to decide what
attributes and content should be discarded or not.
Note that the specified flag on Attr nodes in
itself is not always reliable, it is only reliable
when it is set to false since the only case where
it can be set to false is if the attribute was
created by the implementation. The default content
won't be removed if an implementation does not have
any information available.
false
[required]
Keep all attributes and all content.
</pre><p>"entities" </p>
<pre class="fragment"> true
[required]
Keep EntityReference and Entity nodes
in the document.
false
[required] (default)
Remove all EntityReference and Entity
nodes from the document, putting the entity
expansions directly in their place. Text
nodes are into "normal" form. Only
EntityReference nodes to non-defined entities
are kept in the document.
</pre><p>"infoset" </p>
<pre class="fragment"> true
[required]
Only keep in the document the information defined
in the XML Information Set [XML Information
set].
This forces the following features to false:
namespace-declarations, validate-if-schema,
entities, datatype-normalization, cdata-sections.
This forces the following features to true:
whitespace-in-element-content, comments,
namespaces.
Other features are not changed unless explicitly
specified in the description of the features.
Note that querying this feature with getFeature
returns true only if the individual features
specified above are appropriately set.
false
Setting infoset to false has no effect.
</pre><p>"namespaces" </p>
<pre class="fragment"> true
[required] (default)
Perform the namespace processing as defined in
[XML Namespaces].
false
[optional]
Do not perform the namespace processing.
</pre><p>"namespace-declarations" </p>
<pre class="fragment"> true
[required] (default)
Include namespace declaration attributes, specified
or defaulted from the schema or the DTD, in the
document. See also the section Declaring
Namespaces in [XML Namespaces].
false
[required]
Discard all namespace declaration attributes. The
Namespace prefixes are retained even if this
feature is set to false.
</pre><p>"normalize-characters" </p>
<pre class="fragment"> true
[optional]
Perform the W3C Text Normalization of the
characters [CharModel] in the document.
false
[required] (default)
Do not perform character normalization.
</pre><p>"split-cdata-sections" </p>
<pre class="fragment"> true
[required] (default)
Split CDATA sections containing the CDATA section
termination marker ']]&gt;'. When a CDATA section is
split a warning is issued.
false
[required]
Signal an error if a CDATASection contains an
unrepresentable character.
</pre><p>"validate" </p>
<pre class="fragment"> true
[optional]
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 [XML 1.0]. If validation errors
are found, or no schema was found, the error
handler is notified. Note also that normalized
values will not be exposed to the schema in used
unless the feature datatype-normalization is true.
Note: validate-if-schema and validate are mutually
exclusive, setting one of them to true will set the
other one to false.
false
[required] (default)
Only XML 1.0 non-validating processing must be
done. Note that validation might still happen if
validate-if-schema is true.
</pre><p>"validate-if-schema" </p>
<pre class="fragment"> true
[optional]
Enable validation only if a declaration for the
document element can be found (independently of
where it is found, i.e. XML schema, DTD, or any
other type or representation of schema). If
validation errors are found, the error handler is
notified. Note also that normalized values will not
be exposed to the schema in used unless the feature
datatype-normalization is true.
Note: validate-if-schema and validate are mutually
exclusive, setting one of them to true will set the
other one to false.
false
[required] (default)
No validation should be performed if the document
has a schema. Note that validation must still
happen if validate is true.
</pre><p>"element-content-whitespace" </p>
<pre class="fragment"> true
[required] (default)
Keep all white spaces in the document.
false
[optional]
Discard white space in element content while
normalizing. The implementation is expected to use
the isWhitespaceInElementContent flag on Text
nodes to determine if a text node should be written
out or not.
</pre><p>The resolutions of entities is done using Document.baseURI. However, when the features "LS-Load" or "LS-Save" defined in [DOM Level 3 Load and Save] are supported by the DOM implementation, the parameter "entity-resolver" can also be used on <a class="el" href="classxercesc_1_1DOMConfiguration.html" title="The DOMConfiguration interface represents the configuration of a document and maintains a table of re...">DOMConfiguration</a> objects attached to Document nodes. If this parameter is set, Document.normalizeDocument will invoke the entity resolver instead of using Document.baseURI. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a09be28924fe48cc06e65b0365bd0d1eb"></a>
2020-02-17 21:19:57 +00:00
<div class="memitem">
<div class="memproto">
2020-02-17 21:24:47 +00:00
<table class="mlabels">
<tr>
<td class="mlabels-left">
2020-02-17 21:19:57 +00:00
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">xercesc::DOMConfiguration::DOMConfiguration </td>
<td>(</td>
2020-02-17 21:24:47 +00:00
<td class="paramname"></td><td>)</td>
<td></td>
2020-02-17 21:10:06 +00:00
</tr>
</table>
2020-02-17 21:24:47 +00:00
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
2020-02-17 21:10:06 +00:00
2020-02-17 21:19:57 +00:00
</div>
</div>
2020-02-17 21:24:47 +00:00
<a class="anchor" id="ae5da7bb1ca8475d71596b1aa1771b6fc"></a>
2020-02-17 21:19:57 +00:00
<div class="memitem">
<div class="memproto">
2020-02-17 21:24:47 +00:00
<table class="mlabels">
<tr>
<td class="mlabels-left">
2020-02-17 21:19:57 +00:00
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual xercesc::DOMConfiguration::~DOMConfiguration </td>
<td>(</td>
2020-02-17 21:24:47 +00:00
<td class="paramname"></td><td>)</td>
<td></td>
2020-02-17 21:10:06 +00:00
</tr>
</table>
2020-02-17 21:24:47 +00:00
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
2020-02-17 21:10:06 +00:00
2020-02-17 21:19:57 +00:00
<p>Destructor. </p>
</div>
</div>
2020-02-17 21:24:47 +00:00
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa50d41245f94f5d5b338219f7f75c005"></a>
2020-02-17 21:19:57 +00:00
<div class="memitem">
<div class="memproto">
2020-02-17 21:24:47 +00:00
<table class="mlabels">
<tr>
<td class="mlabels-left">
2020-02-17 21:19:57 +00:00
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual bool xercesc::DOMConfiguration::canSetParameter </td>
<td>(</td>
2020-02-17 21:24:47 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>name</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:24:47 +00:00
<td class="paramtype">const void *&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:24:47 +00:00
<td></td><td> const</td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:24:47 +00:00
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if setting a parameter to a specific value is supported. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The name of the parameter to check. </td></tr>
<tr><td class="paramname">value</td><td>An object. if null, the returned value is true. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the parameter could be successfully set to the specified value, or false if the parameter is not recognized or the requested value is not supported. This does not change the current value of the parameter itself. </dd></dl>
<dl class="section since"><dt>Since</dt><dd>DOM level 3 </dd></dl>
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
</div>
</div>
2020-02-17 21:24:47 +00:00
<a class="anchor" id="ac257cb3ecbdaff056e2d3de4b7c8f394"></a>
2020-02-17 21:19:57 +00:00
<div class="memitem">
<div class="memproto">
2020-02-17 21:24:47 +00:00
<table class="mlabels">
<tr>
<td class="mlabels-left">
2020-02-17 21:19:57 +00:00
<table class="memname">
2020-02-17 21:17:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual bool xercesc::DOMConfiguration::canSetParameter </td>
<td>(</td>
2020-02-17 21:24:47 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>name</em>, </td>
2020-02-17 21:17:06 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:24:47 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
2020-02-17 21:17:06 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:24:47 +00:00
<td></td><td> const</td>
2020-02-17 21:17:06 +00:00
</tr>
</table>
2020-02-17 21:24:47 +00:00
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
2020-02-17 21:23:16 +00:00
2020-02-17 21:19:57 +00:00
</div>
</div>
2020-02-17 21:24:47 +00:00
<a class="anchor" id="a20a093954d089cee96a04318ace33ff2"></a>
2020-02-17 21:19:57 +00:00
<div class="memitem">
<div class="memproto">
2020-02-17 21:24:47 +00:00
<table class="mlabels">
<tr>
<td class="mlabels-left">
2020-02-17 21:19:57 +00:00
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual const void* xercesc::DOMConfiguration::getParameter </td>
<td>(</td>
2020-02-17 21:24:47 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:24:47 +00:00
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p>Return the value of a parameter if known. </p>
2020-02-17 21:24:47 +00:00
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The name of the parameter. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:24:47 +00:00
<dl class="section return"><dt>Returns</dt><dd>The current object associated with the specified parameter or null if no object has been associated or if the parameter is not supported. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>(NOT_FOUND_ERR) Raised when the i boolean parameter name is not recognized. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:24:47 +00:00
<dl class="section since"><dt>Since</dt><dd>DOM level 3 </dd></dl>
2020-02-17 21:19:57 +00:00
</div>
</div>
2020-02-17 21:24:47 +00:00
<a class="anchor" id="ae9f0810e765b10da0e2a9e77585c01f5"></a>
2020-02-17 21:19:57 +00:00
<div class="memitem">
<div class="memproto">
2020-02-17 21:24:47 +00:00
<table class="mlabels">
<tr>
<td class="mlabels-left">
2020-02-17 21:19:57 +00:00
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual const <a class="el" href="classxercesc_1_1DOMStringList.html">DOMStringList</a>* xercesc::DOMConfiguration::getParameterNames </td>
<td>(</td>
2020-02-17 21:24:47 +00:00
<td class="paramname"></td><td>)</td>
<td> const</td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:24:47 +00:00
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:24:47 +00:00
<p>The list of the parameters supported by this <a class="el" href="classxercesc_1_1DOMConfiguration.html" title="The DOMConfiguration interface represents the configuration of a document and maintains a table of re...">DOMConfiguration</a> object and for which at least one value can be set by the application. </p>
2020-02-17 21:19:57 +00:00
<p>Note that this list can also contain parameter names defined outside this specification.</p>
2020-02-17 21:24:47 +00:00
<dl class="section return"><dt>Returns</dt><dd>The list of parameters that can be used with setParameter/getParameter </dd></dl>
<dl class="section since"><dt>Since</dt><dd>DOM level 3 </dd></dl>
2020-02-17 21:19:57 +00:00
</div>
</div>
2020-02-17 21:24:47 +00:00
<a class="anchor" id="a62e7cd90090e47b0084ab872ac5ecaae"></a>
2020-02-17 21:19:57 +00:00
<div class="memitem">
<div class="memproto">
2020-02-17 21:24:47 +00:00
<table class="mlabels">
<tr>
<td class="mlabels-left">
2020-02-17 21:19:57 +00:00
<table class="memname">
2020-02-17 21:17:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual void xercesc::DOMConfiguration::setParameter </td>
<td>(</td>
2020-02-17 21:24:47 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>name</em>, </td>
2020-02-17 21:17:06 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:24:47 +00:00
<td class="paramtype">const void *&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
2020-02-17 21:17:06 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:24:47 +00:00
<td></td><td></td>
2020-02-17 21:17:06 +00:00
</tr>
</table>
2020-02-17 21:24:47 +00:00
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the value of a parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The name of the parameter to set. </td></tr>
<tr><td class="paramname">value</td><td>The new value or null 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><a class="el" href="classxercesc_1_1DOMErrorHandler.html" title="Basic interface for DOM error handlers. ">DOMErrorHandler</a></code> </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>(NOT_SUPPORTED_ERR) Raised when the parameter name is recognized but the requested value cannot be set. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>(NOT_FOUND_ERR) Raised when the parameter name is not recognized. </td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM level 3 </dd></dl>
2020-02-17 21:17:06 +00:00
2020-02-17 21:19:57 +00:00
</div>
</div>
2020-02-17 21:24:47 +00:00
<a class="anchor" id="abd4571ecac628cb99c87fde0f1574349"></a>
2020-02-17 21:19:57 +00:00
<div class="memitem">
<div class="memproto">
2020-02-17 21:24:47 +00:00
<table class="mlabels">
<tr>
<td class="mlabels-left">
2020-02-17 21:19:57 +00:00
<table class="memname">
2020-02-17 21:17:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual void xercesc::DOMConfiguration::setParameter </td>
<td>(</td>
2020-02-17 21:24:47 +00:00
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>name</em>, </td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:24:47 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:24:47 +00:00
<td></td><td></td>
2020-02-17 21:17:06 +00:00
</tr>
</table>
2020-02-17 21:24:47 +00:00
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
2020-02-17 21:19:57 +00:00
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMConfiguration_8hpp_source.html">DOMConfiguration.hpp</a></li>
</ul>
2020-02-17 21:24:47 +00:00
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
2020-02-17 21:05:20 +00:00
</body>
</html>