blob: fe2fcf29f8e83cd20077f5e9c00713ce17e54fee [file] [log] [blame]
<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>Xerces-C++: XMLAttr.hpp Source File</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
<A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../charter.html" onMouseOut="rolloverOff('side-charter');" onMouseOver="rolloverOn('side-charter');"><IMG alt="Charter" border="0" height="12" hspace="0" name="side-charter" onLoad="rolloverLoad('side-charter','../graphics/charter-label-2.jpg','../graphics/charter-label-3.jpg');" src="../graphics/charter-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="http://xerces.apache.org/xerces-c/download.cgi" onMouseOut="rolloverOff('side-ext-20');" onMouseOver="rolloverOn('side-ext-20');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-20" onLoad="rolloverLoad('side-ext-20','../graphics/ext-20-label-2.jpg','../graphics/ext-20-label-3.jpg');" src="../graphics/ext-20-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build Instructions" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-88');" onMouseOver="rolloverOn('side-ext-88');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-88" onLoad="rolloverLoad('side-ext-88','../graphics/ext-88-label-2.jpg','../graphics/ext-88-label-3.jpg');" src="../graphics/ext-88-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../mailing-lists.html" onMouseOut="rolloverOff('side-mailing-lists');" onMouseOver="rolloverOn('side-mailing-lists');"><IMG alt="Mailing Lists" border="0" height="12" hspace="0" name="side-mailing-lists" onLoad="rolloverLoad('side-mailing-lists','../graphics/mailing-lists-label-2.jpg','../graphics/mailing-lists-label-3.jpg');" src="../graphics/mailing-lists-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
<A href="../source-repository.html" onMouseOut="rolloverOff('side-source-repository');" onMouseOver="rolloverOn('side-source-repository');"><IMG alt="Source Repository" border="0" height="12" hspace="0" name="side-source-repository" onLoad="rolloverLoad('side-source-repository','../graphics/source-repository-label-2.jpg','../graphics/source-repository-label-3.jpg');" src="../graphics/source-repository-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../applications.html" onMouseOut="rolloverOff('side-applications');" onMouseOver="rolloverOn('side-applications');"><IMG alt="Applications" border="0" height="12" hspace="0" name="side-applications" onLoad="rolloverLoad('side-applications','../graphics/applications-label-2.jpg','../graphics/applications-label-3.jpg');" src="../graphics/applications-label-3.jpg" vspace="0" width="120"></A><BR>
<IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
<TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
<P>
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="classes.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
</ul>
</div>
<h1>XMLAttr.hpp</h1><a href="XMLAttr_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00003"></a>00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
<a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00006"></a>00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
<a name="l00007"></a>00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
<a name="l00008"></a>00008 <span class="comment"> * </span>
<a name="l00009"></a>00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00010"></a>00010 <span class="comment"> * </span>
<a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
<a name="l00016"></a>00016 <span class="comment"> */</span>
<a name="l00017"></a>00017
<a name="l00018"></a>00018 <span class="comment">/*</span>
<a name="l00019"></a>00019 <span class="comment"> * $Id: XMLAttr.hpp 568078 2007-08-21 11:43:25Z amassari $</span>
<a name="l00020"></a>00020 <span class="comment"> */</span>
<a name="l00021"></a>00021
<a name="l00022"></a>00022 <span class="preprocessor">#if !defined(XMLATTR_HPP)</span>
<a name="l00023"></a><a class="code" href="XMLAttr_8hpp.html#102fe7e04dab7373e52a361b54aeb2b6">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XMLATTR_HPP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;<a class="code" href="QName_8hpp.html">xercesc/util/QName.hpp</a>&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;<a class="code" href="XMLAttDef_8hpp.html">xercesc/framework/XMLAttDef.hpp</a>&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;xercesc/validators/datatype/DatatypeValidator.hpp&gt;</span>
<a name="l00029"></a>00029
<a name="l00030"></a>00030 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a>
<a name="l00031"></a>00031
<a name="l00053"></a><a class="code" href="classXMLAttr.html">00053</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#13df5a01e63e51f62a1467b588b59054"></a> <a class="code" href="classXMLAttr.html" title="This class defines the information about an attribute that will come out of the scanner...">XMLAttr</a> : <span class="keyword">public</span> <a class="code" href="classXMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete...">XMemory</a>
<a name="l00054"></a>00054 {
<a name="l00055"></a>00055 <span class="keyword">public</span>:
<a name="l00056"></a>00056 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00057"></a>00057 <span class="comment">// Constructors and Destructor</span>
<a name="l00058"></a>00058 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00061"></a>00061 <span class="comment"></span>
<a name="l00069"></a>00069 <a class="code" href="classXMLAttr.html" title="This class defines the information about an attribute that will come out of the scanner...">XMLAttr</a>(<a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a>);
<a name="l00070"></a>00070
<a name="l00103"></a>00103 <a class="code" href="classXMLAttr.html" title="This class defines the information about an attribute that will come out of the scanner...">XMLAttr</a>
<a name="l00104"></a>00104 (
<a name="l00105"></a>00105 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId
<a name="l00106"></a>00106 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrName
<a name="l00107"></a>00107 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrPrefix
<a name="l00108"></a>00108 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrValue
<a name="l00109"></a>00109 , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255e77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a>
<a name="l00110"></a>00110 , <span class="keyword">const</span> <span class="keywordtype">bool</span> specified = <span class="keyword">true</span>
<a name="l00111"></a>00111 , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a>
<a name="l00112"></a>00112 , DatatypeValidator * datatypeValidator = 0
<a name="l00113"></a>00113 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema = <span class="keyword">false</span>
<a name="l00114"></a>00114 );
<a name="l00115"></a>00115
<a name="l00144"></a>00144 <a class="code" href="classXMLAttr.html" title="This class defines the information about an attribute that will come out of the scanner...">XMLAttr</a>
<a name="l00145"></a>00145 (
<a name="l00146"></a>00146 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId
<a name="l00147"></a>00147 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> rawName
<a name="l00148"></a>00148 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrValue
<a name="l00149"></a>00149 , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255e77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a>
<a name="l00150"></a>00150 , <span class="keyword">const</span> <span class="keywordtype">bool</span> specified = <span class="keyword">true</span>
<a name="l00151"></a>00151 , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a>
<a name="l00152"></a>00152 , DatatypeValidator * datatypeValidator = 0
<a name="l00153"></a>00153 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema = <span class="keyword">false</span>
<a name="l00154"></a>00154 );
<a name="l00155"></a>00155
<a name="l00157"></a>00157
<a name="l00160"></a>00160 ~<a class="code" href="classXMLAttr.html" title="This class defines the information about an attribute that will come out of the scanner...">XMLAttr</a>();
<a name="l00162"></a>00162
<a name="l00163"></a>00163
<a name="l00164"></a>00164 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00165"></a>00165 <span class="comment">// Getter methods</span>
<a name="l00166"></a>00166 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00167"></a>00167
<a name="l00170"></a>00170
<a name="l00174"></a>00174 <a class="code" href="classQName.html">QName</a>* getAttName() <span class="keyword">const</span>;
<a name="l00175"></a>00175
<a name="l00180"></a>00180 <span class="keyword">const</span> XMLCh* getName() <span class="keyword">const</span>;
<a name="l00181"></a>00181
<a name="l00186"></a>00186 <span class="keyword">const</span> XMLCh* getPrefix() <span class="keyword">const</span>;
<a name="l00187"></a>00187
<a name="l00193"></a>00193 <span class="keyword">const</span> XMLCh* getQName() <span class="keyword">const</span>;
<a name="l00194"></a>00194
<a name="l00199"></a>00199 <span class="keywordtype">bool</span> getSpecified() <span class="keyword">const</span>;
<a name="l00200"></a>00200
<a name="l00205"></a>00205 <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> getType() <span class="keyword">const</span>;
<a name="l00206"></a>00206
<a name="l00212"></a>00212 <span class="keyword">const</span> XMLCh* getValue() <span class="keyword">const</span>;
<a name="l00213"></a>00213
<a name="l00218"></a>00218 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getURIId() <span class="keyword">const</span>;
<a name="l00219"></a>00219
<a name="l00224"></a>00224 <span class="keyword">const</span> XMLCh* getValidatingTypeURI() <span class="keyword">const</span>;
<a name="l00225"></a>00225
<a name="l00230"></a>00230 <span class="keyword">const</span> XMLCh* getValidatingTypeName() <span class="keyword">const</span>;
<a name="l00231"></a>00231
<a name="l00233"></a>00233
<a name="l00234"></a>00234
<a name="l00235"></a>00235 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00236"></a>00236 <span class="comment">// Setter methods</span>
<a name="l00237"></a>00237 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00238"></a>00238
<a name="l00241"></a>00241
<a name="l00270"></a>00270 <span class="keywordtype">void</span> <span class="keyword">set</span>
<a name="l00271"></a>00271 (
<a name="l00272"></a>00272 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId
<a name="l00273"></a>00273 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrName
<a name="l00274"></a>00274 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrPrefix
<a name="l00275"></a>00275 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrValue
<a name="l00276"></a>00276 , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255e77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a>
<a name="l00277"></a>00277 , DatatypeValidator * datatypeValidator = 0
<a name="l00278"></a>00278 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema = false
<a name="l00279"></a>00279 );
<a name="l00280"></a>00280
<a name="l00304"></a>00304 <span class="keywordtype">void</span> <span class="keyword">set</span>
<a name="l00305"></a>00305 (
<a name="l00306"></a>00306 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId
<a name="l00307"></a>00307 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrRawName
<a name="l00308"></a>00308 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrValue
<a name="l00309"></a>00309 , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255e77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a>
<a name="l00310"></a>00310 , DatatypeValidator * datatypeValidator = 0
<a name="l00311"></a>00311 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema = false
<a name="l00312"></a>00312 );
<a name="l00313"></a>00313
<a name="l00328"></a>00328 <span class="keywordtype">void</span> setName
<a name="l00329"></a>00329 (
<a name="l00330"></a>00330 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId
<a name="l00331"></a>00331 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrName
<a name="l00332"></a>00332 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrPrefix
<a name="l00333"></a>00333 );
<a name="l00334"></a>00334
<a name="l00342"></a>00342 <span class="keywordtype">void</span> setSpecified(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue);
<a name="l00343"></a>00343
<a name="l00352"></a>00352 <span class="keywordtype">void</span> setType(<span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> newType);
<a name="l00353"></a>00353
<a name="l00361"></a>00361 <span class="keywordtype">void</span> setValue(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> newValue);
<a name="l00362"></a>00362
<a name="l00370"></a>00370 <span class="keywordtype">void</span> setURIId(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId);
<a name="l00371"></a>00371
<a name="l00379"></a>00379 <span class="keywordtype">void</span> setDatatypeValidator(DatatypeValidator * datatypeValidator);
<a name="l00380"></a>00380
<a name="l00388"></a>00388 <span class="keywordtype">void</span> setSchemaValidated(<span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema);
<a name="l00389"></a>00389
<a name="l00391"></a>00391
<a name="l00392"></a>00392
<a name="l00393"></a>00393
<a name="l00394"></a>00394 <span class="keyword">private</span> :
<a name="l00395"></a>00395 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00396"></a>00396 <span class="comment">// Unimplemented constructors and operators</span>
<a name="l00397"></a>00397 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00398"></a>00398 <a class="code" href="classXMLAttr.html" title="This class defines the information about an attribute that will come out of the scanner...">XMLAttr</a>(<span class="keyword">const</span> <a class="code" href="classXMLAttr.html" title="This class defines the information about an attribute that will come out of the scanner...">XMLAttr</a>&amp;);
<a name="l00399"></a>00399 <a class="code" href="classXMLAttr.html" title="This class defines the information about an attribute that will come out of the scanner...">XMLAttr</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classXMLAttr.html" title="This class defines the information about an attribute that will come out of the scanner...">XMLAttr</a>&amp;);
<a name="l00400"></a>00400
<a name="l00401"></a>00401
<a name="l00402"></a>00402 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00403"></a>00403 <span class="comment">// Private, helper methods</span>
<a name="l00404"></a>00404 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00405"></a>00405 <span class="keywordtype">void</span> cleanUp();
<a name="l00406"></a>00406
<a name="l00407"></a>00407
<a name="l00408"></a>00408 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00409"></a>00409 <span class="comment">// Private instance variables</span>
<a name="l00410"></a>00410 <span class="comment">//</span>
<a name="l00411"></a>00411 <span class="comment">// fAttName</span>
<a name="l00412"></a>00412 <span class="comment">// The Attribute Name;</span>
<a name="l00413"></a>00413 <span class="comment">//</span>
<a name="l00414"></a>00414 <span class="comment">// fSpecified</span>
<a name="l00415"></a>00415 <span class="comment">// True if this attribute appeared in the element; else, false if</span>
<a name="l00416"></a>00416 <span class="comment">// it was defaulted from an AttDef.</span>
<a name="l00417"></a>00417 <span class="comment">//</span>
<a name="l00418"></a>00418 <span class="comment">// fType</span>
<a name="l00419"></a>00419 <span class="comment">// The attribute type enum value for this attribute. Indicates what</span>
<a name="l00420"></a>00420 <span class="comment">// type of attribute it was.</span>
<a name="l00421"></a>00421 <span class="comment">//</span>
<a name="l00422"></a>00422 <span class="comment">// fValue</span>
<a name="l00423"></a>00423 <span class="comment">// fValueBufSz</span>
<a name="l00424"></a>00424 <span class="comment">// The attribute value that was given in the attribute instance, and</span>
<a name="l00425"></a>00425 <span class="comment">// its current buffer size (minus one, where the null is.)</span>
<a name="l00426"></a>00426 <span class="comment">//</span>
<a name="l00427"></a>00427 <span class="comment">// fMemoryManager</span>
<a name="l00428"></a>00428 <span class="comment">// The memory manager used for dynamic memory allocation/deallocation</span>
<a name="l00429"></a>00429 <span class="comment">// fDatatypeValidator</span>
<a name="l00430"></a>00430 <span class="comment">// The validator used to validate the value of this attribute.</span>
<a name="l00431"></a>00431 <span class="comment">// The attribute does not own this object, and it is only</span>
<a name="l00432"></a>00432 <span class="comment">// used in the calculation of DOMTypeInfo information.</span>
<a name="l00433"></a>00433 <span class="comment">// fIsSchemaValidated</span>
<a name="l00434"></a>00434 <span class="comment">// whether this attribute was validated by an XML Schema</span>
<a name="l00435"></a>00435 <span class="comment">//</span>
<a name="l00436"></a>00436 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00437"></a>00437 <span class="keywordtype">bool</span> fSpecified;
<a name="l00438"></a>00438 <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> fType;
<a name="l00439"></a>00439 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fValueBufSz;
<a name="l00440"></a>00440 XMLCh* fValue;
<a name="l00441"></a>00441 <a class="code" href="classQName.html">QName</a>* fAttName;
<a name="l00442"></a>00442 <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* fMemoryManager;
<a name="l00443"></a>00443 DatatypeValidator * fDatatypeValidator;
<a name="l00444"></a>00444 <span class="keywordtype">bool</span> fIsSchemaValidated;
<a name="l00445"></a>00445 };
<a name="l00446"></a>00446
<a name="l00447"></a>00447 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00448"></a>00448 <span class="comment">// XMLAttr: Constructors and Destructor</span>
<a name="l00449"></a>00449 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00450"></a><a class="code" href="classXMLAttr.html#90f5c37effbb18503302ed88048eedcd">00450</a> <span class="keyword">inline</span> <a class="code" href="classXMLAttr.html#90f5c37effbb18503302ed88048eedcd">XMLAttr::~XMLAttr</a>()
<a name="l00451"></a>00451 {
<a name="l00452"></a>00452 cleanUp();
<a name="l00453"></a>00453 }
<a name="l00454"></a>00454
<a name="l00455"></a>00455
<a name="l00456"></a>00456 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00457"></a>00457 <span class="comment">// XMLAttr: Getter methods</span>
<a name="l00458"></a>00458 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00459"></a><a class="code" href="classXMLAttr.html#d1f6f75fb9ba0f7ea90145a839cae1c8">00459</a> <span class="keyword">inline</span> <a class="code" href="classQName.html">QName</a>* <a class="code" href="classXMLAttr.html#d1f6f75fb9ba0f7ea90145a839cae1c8" title="This methode returns the attribute name in a QName format.">XMLAttr::getAttName</a>()<span class="keyword"> const</span>
<a name="l00460"></a>00460 <span class="keyword"></span>{
<a name="l00461"></a>00461 <span class="keywordflow">return</span> fAttName;
<a name="l00462"></a>00462 }
<a name="l00463"></a>00463
<a name="l00464"></a><a class="code" href="classXMLAttr.html#18927ce8e8ea49d622fd20016cec01ec">00464</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classXMLAttr.html#18927ce8e8ea49d622fd20016cec01ec" title="This method gets a const pointer tot he name of the attribute.">XMLAttr::getName</a>()<span class="keyword"> const</span>
<a name="l00465"></a>00465 <span class="keyword"></span>{
<a name="l00466"></a>00466 <span class="keywordflow">return</span> fAttName-&gt;<a class="code" href="classQName.html#a22c091478cc3ec4fa64c9d448fdeb0d">getLocalPart</a>();
<a name="l00467"></a>00467 }
<a name="l00468"></a>00468
<a name="l00469"></a><a class="code" href="classXMLAttr.html#aacdcbc48f8db0149eed17d3f3607107">00469</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classXMLAttr.html#aacdcbc48f8db0149eed17d3f3607107" title="This method will get a const pointer to the prefix string of this attribute.">XMLAttr::getPrefix</a>()<span class="keyword"> const</span>
<a name="l00470"></a>00470 <span class="keyword"></span>{
<a name="l00471"></a>00471 <span class="keywordflow">return</span> fAttName-&gt;<a class="code" href="classQName.html#5f5c1b806bb0eb966d47324b30a3199d">getPrefix</a>();
<a name="l00472"></a>00472 }
<a name="l00473"></a>00473
<a name="l00474"></a><a class="code" href="classXMLAttr.html#e7cffa5ffbef189b265e072a95e4d9e2">00474</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLAttr.html#e7cffa5ffbef189b265e072a95e4d9e2" title="This method will get the specified flag, which indicates whether the attribute was...">XMLAttr::getSpecified</a>()<span class="keyword"> const</span>
<a name="l00475"></a>00475 <span class="keyword"></span>{
<a name="l00476"></a>00476 <span class="keywordflow">return</span> fSpecified;
<a name="l00477"></a>00477 }
<a name="l00478"></a>00478
<a name="l00479"></a><a class="code" href="classXMLAttr.html#694b2c0c63c6c7b121721552d9ac34b5">00479</a> <span class="keyword">inline</span> <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> <a class="code" href="classXMLAttr.html#694b2c0c63c6c7b121721552d9ac34b5" title="This method will get the type of the attribute.">XMLAttr::getType</a>()<span class="keyword"> const</span>
<a name="l00480"></a>00480 <span class="keyword"></span>{
<a name="l00481"></a>00481 <span class="keywordflow">return</span> fType;
<a name="l00482"></a>00482 }
<a name="l00483"></a>00483
<a name="l00484"></a><a class="code" href="classXMLAttr.html#5ea30a1754f474cf1bf779043c2b4006">00484</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classXMLAttr.html#5ea30a1754f474cf1bf779043c2b4006" title="This method will get the value of the attribute.">XMLAttr::getValue</a>()<span class="keyword"> const</span>
<a name="l00485"></a>00485 <span class="keyword"></span>{
<a name="l00486"></a>00486 <span class="keywordflow">return</span> fValue;
<a name="l00487"></a>00487 }
<a name="l00488"></a>00488
<a name="l00489"></a><a class="code" href="classXMLAttr.html#c84cf41c14530df46e67dbd50bfee73f">00489</a> <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classXMLAttr.html#c84cf41c14530df46e67dbd50bfee73f" title="This method will get the id of the URI that this attribute&amp;#39;s prefix mapped to...">XMLAttr::getURIId</a>()<span class="keyword"> const</span>
<a name="l00490"></a>00490 <span class="keyword"></span>{
<a name="l00491"></a>00491 <span class="keywordflow">return</span> fAttName-&gt;<a class="code" href="classQName.html#e8a5c241b363084db7ca67c1982df060">getURI</a>();
<a name="l00492"></a>00492 }
<a name="l00493"></a>00493
<a name="l00494"></a><a class="code" href="classXMLAttr.html#72079f11645130ffeb2457047c787aa5">00494</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classXMLAttr.html#72079f11645130ffeb2457047c787aa5" title="the name part of DOM Level 3 TypeInfo">XMLAttr::getValidatingTypeName</a>()<span class="keyword"> const</span>
<a name="l00495"></a>00495 <span class="keyword"></span>{
<a name="l00496"></a>00496 <span class="keywordflow">if</span>(fIsSchemaValidated)
<a name="l00497"></a>00497 {
<a name="l00498"></a>00498 <span class="keywordflow">if</span>(!fDatatypeValidator || fDatatypeValidator-&gt;getAnonymous())
<a name="l00499"></a>00499 <span class="keywordflow">return</span> 0;
<a name="l00500"></a>00500 <span class="keywordflow">return</span> fDatatypeValidator-&gt;getTypeLocalName();
<a name="l00501"></a>00501 }
<a name="l00502"></a>00502 <span class="keywordflow">else</span>
<a name="l00503"></a>00503 {
<a name="l00504"></a>00504 <span class="keywordflow">return</span> <a class="code" href="classXMLAttDef.html#729fd9de63ec5987d1389971254f7c51" title="Get a string representation of the passed attribute type enum.">XMLAttDef::getAttTypeString</a>(fType, fMemoryManager);
<a name="l00505"></a>00505 }
<a name="l00506"></a>00506 }
<a name="l00507"></a>00507
<a name="l00508"></a><a class="code" href="classXMLAttr.html#8e1a7c64cc8fa9a149b45a36ed601817">00508</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classXMLAttr.html#8e1a7c64cc8fa9a149b45a36ed601817" title="the uri part of DOM Level 3 TypeInfo">XMLAttr::getValidatingTypeURI</a>()<span class="keyword"> const</span>
<a name="l00509"></a>00509 <span class="keyword"></span>{
<a name="l00510"></a>00510 <span class="keywordflow">if</span>(fIsSchemaValidated)
<a name="l00511"></a>00511 {
<a name="l00512"></a>00512 <span class="keywordflow">if</span>(!fDatatypeValidator || fDatatypeValidator-&gt;getAnonymous())
<a name="l00513"></a>00513 <span class="keywordflow">return</span> 0;
<a name="l00514"></a>00514 <span class="keywordflow">return</span> fDatatypeValidator-&gt;getTypeUri();
<a name="l00515"></a>00515 }
<a name="l00516"></a>00516 <span class="keywordflow">else</span>
<a name="l00517"></a>00517 {
<a name="l00518"></a>00518 <span class="keywordflow">return</span> 0;
<a name="l00519"></a>00519 }
<a name="l00520"></a>00520 }
<a name="l00521"></a>00521
<a name="l00522"></a>00522 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00523"></a>00523 <span class="comment">// XMLAttr: Setter methods</span>
<a name="l00524"></a>00524 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00525"></a><a class="code" href="classXMLAttr.html#6a98e671429336dc8977c5f9d006015f">00525</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLAttr.html#6a98e671429336dc8977c5f9d006015f" title="This method is called to set up a default constructed object after the fact, or to...">XMLAttr::set</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId
<a name="l00526"></a>00526 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrName
<a name="l00527"></a>00527 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrPrefix
<a name="l00528"></a>00528 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrValue
<a name="l00529"></a>00529 , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type
<a name="l00530"></a>00530 , DatatypeValidator * datatypeValidator
<a name="l00531"></a>00531 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema )
<a name="l00532"></a>00532 {
<a name="l00533"></a>00533 <span class="comment">// Set the name info and the value via their respective calls</span>
<a name="l00534"></a>00534 fAttName-&gt;<a class="code" href="classQName.html#519ac787985e0bcd3b01a26ce02dbeed">setName</a>(attrPrefix, attrName, uriId);
<a name="l00535"></a>00535 <a class="code" href="classXMLAttr.html#c4623468c53c1776545371558c7c7667" title="This method will update the value field of the attribute.">setValue</a>(attrValue);
<a name="l00536"></a>00536
<a name="l00537"></a>00537 <span class="comment">// And store the type</span>
<a name="l00538"></a>00538 fType = type;
<a name="l00539"></a>00539
<a name="l00540"></a>00540 <span class="comment">// and set up info for DOM type info </span>
<a name="l00541"></a>00541 fIsSchemaValidated = isSchema;
<a name="l00542"></a>00542 fDatatypeValidator = datatypeValidator;
<a name="l00543"></a>00543 }
<a name="l00544"></a>00544
<a name="l00545"></a><a class="code" href="classXMLAttr.html#ba7a02bce97156df3d98a18e3918ea3c">00545</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLAttr.html#6a98e671429336dc8977c5f9d006015f" title="This method is called to set up a default constructed object after the fact, or to...">XMLAttr::set</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId
<a name="l00546"></a>00546 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrRawName
<a name="l00547"></a>00547 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> attrValue
<a name="l00548"></a>00548 , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type
<a name="l00549"></a>00549 , DatatypeValidator * datatypeValidator
<a name="l00550"></a>00550 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema )
<a name="l00551"></a>00551 {
<a name="l00552"></a>00552 <span class="comment">// Set the name info and the value via their respective calls</span>
<a name="l00553"></a>00553 fAttName-&gt;<a class="code" href="classQName.html#519ac787985e0bcd3b01a26ce02dbeed">setName</a>(attrRawName, uriId);
<a name="l00554"></a>00554 <a class="code" href="classXMLAttr.html#c4623468c53c1776545371558c7c7667" title="This method will update the value field of the attribute.">setValue</a>(attrValue);
<a name="l00555"></a>00555
<a name="l00556"></a>00556 <span class="comment">// And store the type</span>
<a name="l00557"></a>00557 fType = type;
<a name="l00558"></a>00558
<a name="l00559"></a>00559 <span class="comment">// and set up info for DOM type info </span>
<a name="l00560"></a>00560 fIsSchemaValidated = isSchema;
<a name="l00561"></a>00561 fDatatypeValidator = datatypeValidator;
<a name="l00562"></a>00562 }
<a name="l00563"></a>00563
<a name="l00564"></a><a class="code" href="classXMLAttr.html#2e2723f34fb7cf393ccdf9f1d73b93d4">00564</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLAttr.html#2e2723f34fb7cf393ccdf9f1d73b93d4" title="This method will update the attribute type of the object.">XMLAttr::setType</a>(<span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> newValue)
<a name="l00565"></a>00565 {
<a name="l00566"></a>00566 fType = newValue;
<a name="l00567"></a>00567 }
<a name="l00568"></a>00568
<a name="l00569"></a><a class="code" href="classXMLAttr.html#8a992e66559d9373b32cb57d3b79226a">00569</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLAttr.html#8a992e66559d9373b32cb57d3b79226a" title="This method will update the specified state of the object.">XMLAttr::setSpecified</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue)
<a name="l00570"></a>00570 {
<a name="l00571"></a>00571 fSpecified = newValue;
<a name="l00572"></a>00572 }
<a name="l00573"></a>00573
<a name="l00574"></a><a class="code" href="classXMLAttr.html#1cbe8457bdd3ba3e6b755ac04847ed3b">00574</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLAttr.html#1cbe8457bdd3ba3e6b755ac04847ed3b" title="This method will update the datatype validator that was used to assess the validity...">XMLAttr::setDatatypeValidator</a>(DatatypeValidator *datatypeValidator)
<a name="l00575"></a>00575 {
<a name="l00576"></a>00576 fDatatypeValidator = datatypeValidator;
<a name="l00577"></a>00577 }
<a name="l00578"></a>00578
<a name="l00579"></a><a class="code" href="classXMLAttr.html#bf5e2c3cbb0c6e0de95d30213796f743">00579</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLAttr.html#bf5e2c3cbb0c6e0de95d30213796f743" title="This method will define whether the attribute was validated by an XML Schema.">XMLAttr::setSchemaValidated</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema)
<a name="l00580"></a>00580 {
<a name="l00581"></a>00581 fIsSchemaValidated = isSchema;
<a name="l00582"></a>00582 }
<a name="l00583"></a>00583
<a name="l00584"></a>00584 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
<a name="l00585"></a>00585
<a name="l00586"></a>00586 <span class="preprocessor">#endif</span>
</pre></div> </FONT></TD></TR></TABLE><BR>
</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
Copyright &copy; 1994-2004 The Apache Software Foundation.
All Rights Reserved.
</I></FONT></TD></TR></TABLE></BODY></HTML>