📄 a00014.html
字号:
<tr><td valign="top"></td><td valign="top"><em>aTarget</em> </td><td>the target of the processing instruction </td></tr> <tr><td valign="top"></td><td valign="top"><em>aData</em> </td><td>the data for the processing instruction. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>none </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>none </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>none </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratorBasea13" doxytag="CSyGenerator::SetAttributeL"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CSyGeneratorBase::SetAttributeL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TDesC & </td> <td class="mdname" nowrap> <em>aPrefix</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const TDesC & </td> <td class="mdname" nowrap> <em>aName</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const TDesC & </td> <td class="mdname" nowrap> <em>aValue</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage: Assigns an attribute to an element. <p>This form is the default form and write attributes with a namespace. If aPrefix is empty then the attribute name only will be written out. <dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KErrNoMemory</em> </td><td>if no memory for buffer. </td></tr> </table></dl><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aPrefix</em> </td><td>the namespace prefix of the attribute. </td></tr> <tr><td valign="top"></td><td valign="top"><em>aName</em> </td><td>the name of the attribute. </td></tr> <tr><td valign="top"></td><td valign="top"><em>aValue</em> </td><td>the value of the attribute </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>none </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>StartElement must have been called, but not EndElement </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>none </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratorBasea12" doxytag="CSyGenerator::SetAttributeL"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CSyGeneratorBase::SetAttributeL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TDesC & </td> <td class="mdname" nowrap> <em>aName</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const TDesC & </td> <td class="mdname" nowrap> <em>aValue</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage: Assigns an attribute to an element. <p>This form is used to write attributes with no namespace. <dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KErrNoMemory</em> </td><td>if no memory for buffer. </td></tr> </table></dl><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aName</em> </td><td>the name of the attribute. </td></tr> <tr><td valign="top"></td><td valign="top"><em>aValue</em> </td><td>the value of the attribute. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>none </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>StartElement must have been called, but not EndElement </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>none </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratorBasea11" doxytag="CSyGenerator::SetNamespaceL"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CSyGeneratorBase::SetNamespaceL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TDesC & </td> <td class="mdname" nowrap> <em>aPrefix</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const TDesC & </td> <td class="mdname" nowrap> <em>aURI</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage: Assigns a prefix to a a namespace within an element definition. <p><dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KErrNoMemory</em> </td><td>if no memory for buffer. </td></tr> </table></dl><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aPrefix</em> </td><td>the prefix to be mapped to the specified URI </td></tr> <tr><td valign="top"></td><td valign="top"><em>aURI</em> </td><td>the URI of the namespace to be set as the default namespace. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>none </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>StartElement must have been called, but not EndElement </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>none </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratorBasea10" doxytag="CSyGenerator::SetNamespaceL"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CSyGeneratorBase::SetNamespaceL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TDesC & </td> <td class="mdname1" valign="top" nowrap> <em>aURI</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage: Declares a namespace within an element definition. <p>This is used to set the default namespace for the element. <dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KErrNoMemory</em> </td><td>if no memory for buffer. </td></tr> </table></dl><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aURI</em> </td><td>the URI of the namespace to be set as the default namespace. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>none </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>StartElement must have been called, but not EndElement </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>this default namespace for this and all child elements will now be this URI </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratorBasea19" doxytag="CSyGenerator::StartCDATAL"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CSyGeneratorBase::StartCDATAL </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intended Usage: Starts a CDATA Section. <p>This is used to start the CDATA Section. Use CharactersL to write out the CData data. block. <dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>KErrNoMemory</em> </td><td>if no memory for buffer. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>none </dd></dl><dl compact><dt><b>Precondition:</b></dt><dd>A CDATA Section must not already be open and an element must be open </dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>none </dd></dl> </td> </tr></table><a class="anchor" name="CSyGeneratorBasea2" doxytag="CSyGenerator::StartDocumentL"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CSyGeneratorBase::StartDocumentL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TBool </td> <td class="mdname1" valign="top" nowrap> <em>aStandalone</em> = <code>ETrue</code> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr></table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -