XQuilla/docs/dom3-api/classxercesc_1_1DOMCDATASection.html

132 lines
10 KiB
HTML
Raw Normal View History

2020-02-17 22:05:20 +01: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 22:11:31 +01:00
<title>XQilla DOM3 API Documentation</title>
2020-02-17 22:05:20 +01:00
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
2020-02-17 22:11:31 +01: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 22:22:42 +01:00
<!-- Generated by Doxygen 1.7.3 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
2020-02-17 22:19:57 +01: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 22:22:42 +01: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 22:19:57 +01:00
</ul>
</div>
2020-02-17 22:22:42 +01: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_1DOMCDATASection.html">DOMCDATASection</a> </li>
</ul>
2020-02-17 22:19:57 +01:00
</div>
</div>
2020-02-17 22:22:42 +01:00
<div class="header">
<div class="headertitle">
<h1>xercesc::DOMCDATASection Class Reference</h1> </div>
</div>
2020-02-17 22:19:57 +01:00
<div class="contents">
2020-02-17 22:22:42 +01:00
<!-- doxytag: class="xercesc::DOMCDATASection" --><!-- doxytag: inherits="xercesc::DOMText" -->
2020-02-17 22:19:57 +01:00
<p>CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
<a href="#_details">More...</a></p>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:57 +01:00
<p><code>#include &lt;<a class="el" href="DOMCDATASection_8hpp_source.html">DOMCDATASection.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xercesc::DOMCDATASection:</div>
2020-02-17 22:22:42 +01:00
<div class="dyncontent">
2020-02-17 22:19:57 +01:00
<div class="center"><img src="classxercesc_1_1DOMCDATASection__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMCDATASection_inherit__map" alt="Inheritance graph"/></div>
<map name="xercesc_1_1DOMCDATASection_inherit__map" id="xercesc_1_1DOMCDATASection_inherit__map">
2020-02-17 22:22:42 +01:00
<area shape="rect" id="node2" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara..." alt="" coords="37,160,171,189"/><area shape="rect" id="node4" href="classxercesc_1_1DOMCharacterData.html" title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha..." alt="" coords="8,83,200,112"/><area shape="rect" id="node6" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model." alt="" coords="35,5,173,35"/></map>
2020-02-17 22:19:57 +01:00
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
2020-02-17 22:17:06 +01:00
2020-02-17 22:19:57 +01:00
<p><a href="classxercesc_1_1DOMCDATASection-members.html">List of all members.</a></p>
2020-02-17 22:22:42 +01:00
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
2020-02-17 22:19:57 +01:00
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
2020-02-17 22:22:42 +01:00
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMCDATASection.html#a205c3e2c7fec34acacb645c3fcfe1d0a">~DOMCDATASection</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a205c3e2c7fec34acacb645c3fcfe1d0a"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
2020-02-17 22:19:57 +01:00
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
2020-02-17 22:22:42 +01:00
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMCDATASection.html#a3f7b9d233119d52b9e57a5574f6a73d5">DOMCDATASection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMCDATASection.html#a12b7f586c89bcba93ce005df507543c3">DOMCDATASection</a> (const <a class="el" href="classxercesc_1_1DOMCDATASection.html">DOMCDATASection</a> &amp;other)</td></tr>
2020-02-17 22:05:20 +01:00
</table>
2020-02-17 22:19:57 +01:00
<hr/><a name="_details"></a><h2>Detailed Description</h2>
2020-02-17 22:22:42 +01:00
<div class="textblock"><p>CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. </p>
2020-02-17 22:19:57 +01:00
<p>The only delimiter that is recognized in a CDATA section is the "]]&amp;gt;" string that ends the CDATA section. CDATA sections cannot be nested. Their primary purpose is for including material such as XML fragments, without needing to escape all the delimiters. </p>
2020-02-17 22:22:42 +01:00
<p>The <code>data</code> attribute of the <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> node holds the text that is contained by the CDATA section. Note that this may contain characters that need to be escaped outside of CDATA sections and that, depending on the character encoding ("charset") chosen for serialization, it may be impossible to write out some characters as part of a CDATA section. </p>
<p>The <code><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...">DOMCDATASection</a></code> interface inherits from the <code><a class="el" href="classxercesc_1_1DOMCharacterData.html" title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...">DOMCharacterData</a></code> interface through the <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> interface. Adjacent <code><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...">DOMCDATASection</a></code> nodes are not merged by use of the <code>normalize</code> method of the <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model.">DOMNode</a></code> interface. Because no markup is recognized within a <code><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...">DOMCDATASection</a></code>, character numeric references cannot be used as an escape mechanism when serializing. Therefore, action needs to be taken when serializing a <code><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...">DOMCDATASection</a></code> with a character encoding where some of the contained characters cannot be represented. Failure to do so would not produce well-formed XML.One potential solution in the serialization process is to end the CDATA section before the character, output the character using a character reference or entity reference, and open a new CDATA section for any further characters in the text node. Note, however, that some code conversion libraries at the time of writing do not return an error or exception when a character is missing from the encoding, making the task of ensuring that data is not corrupted on serialization more difficult. </p>
2020-02-17 22:19:57 +01:00
<p>See also the <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113">Document Object Model (DOM) Level 2 Core Specification</a>.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
2020-02-17 22:22:42 +01:00
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
2020-02-17 22:19:57 +01:00
<a class="anchor" id="a3f7b9d233119d52b9e57a5574f6a73d5"></a><!-- doxytag: member="xercesc::DOMCDATASection::DOMCDATASection" ref="a3f7b9d233119d52b9e57a5574f6a73d5" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 22:05:20 +01:00
<tr>
2020-02-17 22:19:57 +01:00
<td class="memname">xercesc::DOMCDATASection::DOMCDATASection </td>
<td>(</td>
2020-02-17 22:22:42 +01:00
<td class="paramname"></td><td>)</td>
2020-02-17 22:19:57 +01:00
<td><code> [inline, protected]</code></td>
2020-02-17 22:05:20 +01:00
</tr>
</table>
2020-02-17 22:19:57 +01:00
</div>
<div class="memdoc">
2020-02-17 22:05:20 +01:00
2020-02-17 22:19:57 +01:00
</div>
</div>
<a class="anchor" id="a12b7f586c89bcba93ce005df507543c3"></a><!-- doxytag: member="xercesc::DOMCDATASection::DOMCDATASection" ref="a12b7f586c89bcba93ce005df507543c3" args="(const DOMCDATASection &amp;other)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 22:05:20 +01:00
<tr>
2020-02-17 22:19:57 +01:00
<td class="memname">xercesc::DOMCDATASection::DOMCDATASection </td>
<td>(</td>
2020-02-17 22:22:42 +01:00
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMCDATASection.html">DOMCDATASection</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
2020-02-17 22:19:57 +01:00
<td><code> [inline, protected]</code></td>
2020-02-17 22:05:20 +01:00
</tr>
</table>
2020-02-17 22:19:57 +01:00
</div>
<div class="memdoc">
2020-02-17 22:05:20 +01:00
2020-02-17 22:19:57 +01:00
</div>
</div>
<a class="anchor" id="a205c3e2c7fec34acacb645c3fcfe1d0a"></a><!-- doxytag: member="xercesc::DOMCDATASection::~DOMCDATASection" ref="a205c3e2c7fec34acacb645c3fcfe1d0a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 22:05:20 +01:00
<tr>
2020-02-17 22:19:57 +01:00
<td class="memname">virtual xercesc::DOMCDATASection::~DOMCDATASection </td>
<td>(</td>
2020-02-17 22:22:42 +01:00
<td class="paramname"></td><td>)</td>
2020-02-17 22:19:57 +01:00
<td><code> [inline, virtual]</code></td>
2020-02-17 22:05:20 +01:00
</tr>
</table>
2020-02-17 22:19:57 +01:00
</div>
<div class="memdoc">
2020-02-17 22:05:20 +01:00
2020-02-17 22:19:57 +01:00
<p>Destructor. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMCDATASection_8hpp_source.html">DOMCDATASection.hpp</a></li>
</ul>
</div>
2020-02-17 22:22:42 +01:00
<hr class="footer"/><address class="footer"><small>Generated on Mon Oct 31 2011 19:08:37 for XQilla DOM Level 3 API by&#160;
2020-02-17 22:05:20 +01:00
<a href="http://www.doxygen.org/index.html">
2020-02-17 22:22:42 +01:00
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
2020-02-17 22:05:20 +01:00
</body>
</html>