1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>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>
|
---|
2 | <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>
|
---|
3 |
|
---|
4 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
5 |
|
---|
6 | <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>
|
---|
7 | <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>
|
---|
8 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
9 | <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>
|
---|
10 | <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
11 | <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" 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>
|
---|
12 |
|
---|
13 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
14 | <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>
|
---|
15 | <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>
|
---|
16 | <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>
|
---|
17 |
|
---|
18 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
19 | <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
20 |
|
---|
21 | <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>
|
---|
22 | <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>
|
---|
23 |
|
---|
24 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
25 |
|
---|
26 | <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>
|
---|
27 | <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>
|
---|
28 | <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
29 |
|
---|
30 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
31 |
|
---|
32 | <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
33 |
|
---|
34 | <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
35 |
|
---|
36 |
|
---|
37 | <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>
|
---|
38 | <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"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
|
---|
39 |
|
---|
40 | <P>
|
---|
41 | <!-- Generated by Doxygen 1.2.14 -->
|
---|
42 | <center>
|
---|
43 | <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
---|
44 | <hr><h1>XMLAttr.hpp</h1><a href="XMLAttr_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>
|
---|
45 | 00002 <font class="comment"> * Copyright 1999-2004 The Apache Software Foundation.</font>
|
---|
46 | 00003 <font class="comment"> * </font>
|
---|
47 | 00004 <font class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</font>
|
---|
48 | 00005 <font class="comment"> * you may not use this file except in compliance with the License.</font>
|
---|
49 | 00006 <font class="comment"> * You may obtain a copy of the License at</font>
|
---|
50 | 00007 <font class="comment"> * </font>
|
---|
51 | 00008 <font class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</font>
|
---|
52 | 00009 <font class="comment"> * </font>
|
---|
53 | 00010 <font class="comment"> * Unless required by applicable law or agreed to in writing, software</font>
|
---|
54 | 00011 <font class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</font>
|
---|
55 | 00012 <font class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</font>
|
---|
56 | 00013 <font class="comment"> * See the License for the specific language governing permissions and</font>
|
---|
57 | 00014 <font class="comment"> * limitations under the License.</font>
|
---|
58 | 00015 <font class="comment"> */</font>
|
---|
59 | 00016
|
---|
60 | 00017 <font class="comment">/*</font>
|
---|
61 | 00018 <font class="comment"> * $Log: XMLAttr.hpp,v $</font>
|
---|
62 | 00019 <font class="comment"> * Revision 1.11 2004/09/20 14:47:13 amassari</font>
|
---|
63 | 00020 <font class="comment"> * Mark some methods as deprecated</font>
|
---|
64 | 00021 <font class="comment"> *</font>
|
---|
65 | 00022 <font class="comment"> * Revision 1.10 2004/09/08 13:55:58 peiyongz</font>
|
---|
66 | 00023 <font class="comment"> * Apache License Version 2.0</font>
|
---|
67 | 00024 <font class="comment"> *</font>
|
---|
68 | 00025 <font class="comment"> * Revision 1.9 2003/12/17 00:18:33 cargilld</font>
|
---|
69 | 00026 <font class="comment"> * Update to memory management so that the static memory manager (one used to call Initialize) is only for static data.</font>
|
---|
70 | 00027 <font class="comment"> *</font>
|
---|
71 | 00028 <font class="comment"> * Revision 1.8 2003/11/24 05:19:37 neilg</font>
|
---|
72 | 00029 <font class="comment"> * update XMLAttr class to carry information needed by DOMTypeInfo</font>
|
---|
73 | 00030 <font class="comment"> *</font>
|
---|
74 | 00031 <font class="comment"> * Revision 1.7 2003/05/22 02:10:51 knoaman</font>
|
---|
75 | 00032 <font class="comment"> * Default the memory manager.</font>
|
---|
76 | 00033 <font class="comment"> *</font>
|
---|
77 | 00034 <font class="comment"> * Revision 1.6 2003/05/16 21:36:55 knoaman</font>
|
---|
78 | 00035 <font class="comment"> * Memory manager implementation: Modify constructors to pass in the memory manager.</font>
|
---|
79 | 00036 <font class="comment"> *</font>
|
---|
80 | 00037 <font class="comment"> * Revision 1.5 2003/05/15 18:26:07 knoaman</font>
|
---|
81 | 00038 <font class="comment"> * Partial implementation of the configurable memory manager.</font>
|
---|
82 | 00039 <font class="comment"> *</font>
|
---|
83 | 00040 <font class="comment"> * Revision 1.4 2002/11/28 20:12:45 knoaman</font>
|
---|
84 | 00041 <font class="comment"> * Allow creating/setting of XMLAttr using a rawname (i.e. 'prefix:localpart').</font>
|
---|
85 | 00042 <font class="comment"> *</font>
|
---|
86 | 00043 <font class="comment"> * Revision 1.3 2002/11/04 15:00:21 tng</font>
|
---|
87 | 00044 <font class="comment"> * C++ Namespace Support.</font>
|
---|
88 | 00045 <font class="comment"> *</font>
|
---|
89 | 00046 <font class="comment"> * Revision 1.2 2002/02/20 18:17:01 tng</font>
|
---|
90 | 00047 <font class="comment"> * [Bug 5977] Warnings on generating apiDocs.</font>
|
---|
91 | 00048 <font class="comment"> *</font>
|
---|
92 | 00049 <font class="comment"> * Revision 1.1.1.1 2002/02/01 22:21:50 peiyongz</font>
|
---|
93 | 00050 <font class="comment"> * sane_include</font>
|
---|
94 | 00051 <font class="comment"> *</font>
|
---|
95 | 00052 <font class="comment"> * Revision 1.9 2001/11/02 14:21:18 knoaman</font>
|
---|
96 | 00053 <font class="comment"> * Add support for identity constraints.</font>
|
---|
97 | 00054 <font class="comment"> *</font>
|
---|
98 | 00055 <font class="comment"> * Revision 1.8 2001/05/11 13:25:31 tng</font>
|
---|
99 | 00056 <font class="comment"> * Copyright update.</font>
|
---|
100 | 00057 <font class="comment"> *</font>
|
---|
101 | 00058 <font class="comment"> * Revision 1.7 2001/02/27 18:33:55 tng</font>
|
---|
102 | 00059 <font class="comment"> * Schema: Use QName in XMLAttr.</font>
|
---|
103 | 00060 <font class="comment"> *</font>
|
---|
104 | 00061 <font class="comment"> * Revision 1.6 2000/04/10 22:42:53 roddey</font>
|
---|
105 | 00062 <font class="comment"> * Extended the buffer reuse to the QName field, to further increase</font>
|
---|
106 | 00063 <font class="comment"> * performance of attribute heavy applications.</font>
|
---|
107 | 00064 <font class="comment"> *</font>
|
---|
108 | 00065 <font class="comment"> * Revision 1.5 2000/03/02 19:54:24 roddey</font>
|
---|
109 | 00066 <font class="comment"> * This checkin includes many changes done while waiting for the</font>
|
---|
110 | 00067 <font class="comment"> * 1.1.0 code to be finished. I can't list them all here, but a list is</font>
|
---|
111 | 00068 <font class="comment"> * available elsewhere.</font>
|
---|
112 | 00069 <font class="comment"> *</font>
|
---|
113 | 00070 <font class="comment"> * Revision 1.4 2000/02/24 20:00:22 abagchi</font>
|
---|
114 | 00071 <font class="comment"> * Swat for removing Log from API docs</font>
|
---|
115 | 00072 <font class="comment"> *</font>
|
---|
116 | 00073 <font class="comment"> * Revision 1.3 2000/02/15 01:21:30 roddey</font>
|
---|
117 | 00074 <font class="comment"> * Some initial documentation improvements. More to come...</font>
|
---|
118 | 00075 <font class="comment"> *</font>
|
---|
119 | 00076 <font class="comment"> * Revision 1.2 2000/02/06 07:47:47 rahulj</font>
|
---|
120 | 00077 <font class="comment"> * Year 2K copyright swat.</font>
|
---|
121 | 00078 <font class="comment"> *</font>
|
---|
122 | 00079 <font class="comment"> * Revision 1.1.1.1 1999/11/09 01:08:28 twl</font>
|
---|
123 | 00080 <font class="comment"> * Initial checkin</font>
|
---|
124 | 00081 <font class="comment"> *</font>
|
---|
125 | 00082 <font class="comment"> * Revision 1.2 1999/11/08 20:44:35 rahul</font>
|
---|
126 | 00083 <font class="comment"> * Swat for adding in Product name and CVS comment log variable.</font>
|
---|
127 | 00084 <font class="comment"> *</font>
|
---|
128 | 00085 <font class="comment"> */</font>
|
---|
129 | 00086
|
---|
130 | 00087 <font class="preprocessor">#if !defined(XMLATTR_HPP)</font>
|
---|
131 | <a name="l00088"></a><a class="code" href="XMLAttr_8hpp.html#a0">00088</a> <font class="preprocessor"></font><font class="preprocessor">#define XMLATTR_HPP</font>
|
---|
132 | 00089 <font class="preprocessor"></font>
|
---|
133 | 00090 <font class="preprocessor">#include <<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>></font>
|
---|
134 | 00091 <font class="preprocessor">#include <<a class="code" href="QName_8hpp.html">xercesc/util/QName.hpp</a>></font>
|
---|
135 | 00092 <font class="preprocessor">#include <<a class="code" href="XMLAttDef_8hpp.html">xercesc/framework/XMLAttDef.hpp</a>></font>
|
---|
136 | 00093 <font class="preprocessor">#include <xercesc/validators/datatype/DatatypeValidator.hpp></font>
|
---|
137 | 00094
|
---|
138 | 00095 <a class="code" href="XercesDefs_8hpp.html#a2">XERCES_CPP_NAMESPACE_BEGIN</a>
|
---|
139 | 00096
|
---|
140 | <a name="l00118"></a><a class="code" href="classXMLAttr.html">00118</a> <font class="keyword">class </font><a class="code" href="XercesDefs_8hpp.html#a9"></a> <a class="code" href="classXMLAttr.html">XMLAttr</a> : <font class="keyword">public</font> <a class="code" href="classXMemory.html">XMemory</a>
|
---|
141 | 00119 {
|
---|
142 | 00120 <font class="keyword">public</font>:
|
---|
143 | 00121 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
144 | 00122 <font class="comment">// Constructors and Destructor</font>
|
---|
145 | 00123 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
146 | 00126 <font class="comment"></font>
|
---|
147 | 00134 <a class="code" href="XMLAttDef_8hpp.html#a1">XMLAttr</a>(<a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font> manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>);
|
---|
148 | 00135
|
---|
149 | 00168 <a class="code" href="classXMLAttr.html">XMLAttr</a>
|
---|
150 | 00169 (
|
---|
151 | 00170 <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> uriId
|
---|
152 | 00171 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrName
|
---|
153 | 00172 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrPrefix
|
---|
154 | 00173 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrValue
|
---|
155 | 00174 , <font class="keyword">const</font> <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#s33s0">XMLAttDef::CData</a>
|
---|
156 | 00175 , <font class="keyword">const</font> <font class="keywordtype">bool</font> specified = <font class="keyword">true</font>
|
---|
157 | 00176 , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font> manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>
|
---|
158 | 00177 , DatatypeValidator * datatypeValidator = 0
|
---|
159 | 00178 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isSchema = <font class="keyword">false</font>
|
---|
160 | 00179 );
|
---|
161 | 00180
|
---|
162 | 00209 <a class="code" href="classXMLAttr.html">XMLAttr</a>
|
---|
163 | 00210 (
|
---|
164 | 00211 <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> uriId
|
---|
165 | 00212 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> rawName
|
---|
166 | 00213 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrValue
|
---|
167 | 00214 , <font class="keyword">const</font> <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#s33s0">XMLAttDef::CData</a>
|
---|
168 | 00215 , <font class="keyword">const</font> <font class="keywordtype">bool</font> specified = <font class="keyword">true</font>
|
---|
169 | 00216 , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font> manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>
|
---|
170 | 00217 , DatatypeValidator * datatypeValidator = 0
|
---|
171 | 00218 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isSchema = <font class="keyword">false</font>
|
---|
172 | 00219 );
|
---|
173 | 00220
|
---|
174 | 00222
|
---|
175 | 00225 ~<a class="code" href="classXMLAttr.html">XMLAttr</a>();
|
---|
176 | 00227
|
---|
177 | 00228
|
---|
178 | 00229 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
179 | 00230 <font class="comment">// Getter methods</font>
|
---|
180 | 00231 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
181 | 00232
|
---|
182 | 00235
|
---|
183 | 00239 <a class="code" href="classQName.html">QName</a>* getAttName() <font class="keyword">const</font>;
|
---|
184 | 00240
|
---|
185 | 00245 <font class="keyword">const</font> XMLCh* getName() <font class="keyword">const</font>;
|
---|
186 | 00246
|
---|
187 | 00251 <font class="keyword">const</font> XMLCh* getPrefix() <font class="keyword">const</font>;
|
---|
188 | 00252
|
---|
189 | 00258 <font class="keyword">const</font> XMLCh* getQName() <font class="keyword">const</font>;
|
---|
190 | 00259
|
---|
191 | 00264 <font class="keywordtype">bool</font> getSpecified() <font class="keyword">const</font>;
|
---|
192 | 00265
|
---|
193 | 00270 <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> getType() <font class="keyword">const</font>;
|
---|
194 | 00271
|
---|
195 | 00277 <font class="keyword">const</font> XMLCh* getValue() <font class="keyword">const</font>;
|
---|
196 | 00278
|
---|
197 | 00283 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> getURIId() <font class="keyword">const</font>;
|
---|
198 | 00284
|
---|
199 | 00289 <font class="keyword">const</font> XMLCh* getValidatingTypeURI() <font class="keyword">const</font>;
|
---|
200 | 00290
|
---|
201 | 00295 <font class="keyword">const</font> XMLCh* getValidatingTypeName() <font class="keyword">const</font>;
|
---|
202 | 00296
|
---|
203 | 00298
|
---|
204 | 00299
|
---|
205 | 00300 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
206 | 00301 <font class="comment">// Setter methods</font>
|
---|
207 | 00302 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
208 | 00303
|
---|
209 | 00306
|
---|
210 | 00335 <font class="keywordtype">void</font> set
|
---|
211 | 00336 (
|
---|
212 | 00337 <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> uriId
|
---|
213 | 00338 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrName
|
---|
214 | 00339 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrPrefix
|
---|
215 | 00340 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrValue
|
---|
216 | 00341 , <font class="keyword">const</font> <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#s33s0">XMLAttDef::CData</a>
|
---|
217 | 00342 , DatatypeValidator * datatypeValidator = 0
|
---|
218 | 00343 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isSchema = <font class="keyword">false</font>
|
---|
219 | 00344 );
|
---|
220 | 00345
|
---|
221 | 00369 <font class="keywordtype">void</font> set
|
---|
222 | 00370 (
|
---|
223 | 00371 <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> uriId
|
---|
224 | 00372 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrRawName
|
---|
225 | 00373 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrValue
|
---|
226 | 00374 , <font class="keyword">const</font> <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#s33s0">XMLAttDef::CData</a>
|
---|
227 | 00375 , DatatypeValidator * datatypeValidator = 0
|
---|
228 | 00376 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isSchema = <font class="keyword">false</font>
|
---|
229 | 00377 );
|
---|
230 | 00378
|
---|
231 | 00393 <font class="keywordtype">void</font> setName
|
---|
232 | 00394 (
|
---|
233 | 00395 <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> uriId
|
---|
234 | 00396 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrName
|
---|
235 | 00397 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrPrefix
|
---|
236 | 00398 );
|
---|
237 | 00399
|
---|
238 | 00407 <font class="keywordtype">void</font> setSpecified(<font class="keyword">const</font> <font class="keywordtype">bool</font> newValue);
|
---|
239 | 00408
|
---|
240 | 00417 <font class="keywordtype">void</font> setType(<font class="keyword">const</font> <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> newType);
|
---|
241 | 00418
|
---|
242 | 00426 <font class="keywordtype">void</font> setValue(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> newValue);
|
---|
243 | 00427
|
---|
244 | 00435 <font class="keywordtype">void</font> setURIId(<font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> uriId);
|
---|
245 | 00436
|
---|
246 | 00444 <font class="keywordtype">void</font> setDatatypeValidator(DatatypeValidator * datatypeValidator);
|
---|
247 | 00445
|
---|
248 | 00453 <font class="keywordtype">void</font> setSchemaValidated(<font class="keyword">const</font> <font class="keywordtype">bool</font> isSchema);
|
---|
249 | 00454
|
---|
250 | 00456
|
---|
251 | 00457
|
---|
252 | 00458
|
---|
253 | 00459 <font class="keyword">private</font> :
|
---|
254 | 00460 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
255 | 00461 <font class="comment">// Unimplemented constructors and operators</font>
|
---|
256 | 00462 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
257 | 00463 <a class="code" href="XMLAttDef_8hpp.html#a1">XMLAttr</a>(<font class="keyword">const</font> <a class="code" href="classXMLAttr.html">XMLAttr</a>&);
|
---|
258 | 00464 <a class="code" href="classXMLAttr.html">XMLAttr</a>& operator=(<font class="keyword">const</font> <a class="code" href="classXMLAttr.html">XMLAttr</a>&);
|
---|
259 | 00465
|
---|
260 | 00466
|
---|
261 | 00467 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
262 | 00468 <font class="comment">// Private, helper methods</font>
|
---|
263 | 00469 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
264 | 00470 <font class="keywordtype">void</font> cleanUp();
|
---|
265 | 00471
|
---|
266 | 00472
|
---|
267 | 00473 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
268 | 00474 <font class="comment">// Private instance variables</font>
|
---|
269 | 00475 <font class="comment">//</font>
|
---|
270 | 00476 <font class="comment">// fAttName</font>
|
---|
271 | 00477 <font class="comment">// The Attribute Name;</font>
|
---|
272 | 00478 <font class="comment">//</font>
|
---|
273 | 00479 <font class="comment">// fSpecified</font>
|
---|
274 | 00480 <font class="comment">// True if this attribute appeared in the element; else, false if</font>
|
---|
275 | 00481 <font class="comment">// it was defaulted from an AttDef.</font>
|
---|
276 | 00482 <font class="comment">//</font>
|
---|
277 | 00483 <font class="comment">// fType</font>
|
---|
278 | 00484 <font class="comment">// The attribute type enum value for this attribute. Indicates what</font>
|
---|
279 | 00485 <font class="comment">// type of attribute it was.</font>
|
---|
280 | 00486 <font class="comment">//</font>
|
---|
281 | 00487 <font class="comment">// fValue</font>
|
---|
282 | 00488 <font class="comment">// fValueBufSz</font>
|
---|
283 | 00489 <font class="comment">// The attribute value that was given in the attribute instance, and</font>
|
---|
284 | 00490 <font class="comment">// its current buffer size (minus one, where the null is.)</font>
|
---|
285 | 00491 <font class="comment">//</font>
|
---|
286 | 00492 <font class="comment">// fMemoryManager</font>
|
---|
287 | 00493 <font class="comment">// The memory manager used for dynamic memory allocation/deallocation</font>
|
---|
288 | 00494 <font class="comment">// fDatatypeValidator</font>
|
---|
289 | 00495 <font class="comment">// The validator used to validate the value of this attribute.</font>
|
---|
290 | 00496 <font class="comment">// The attribute does not own this object, and it is only</font>
|
---|
291 | 00497 <font class="comment">// used in the calculation of DOMTypeInfo information.</font>
|
---|
292 | 00498 <font class="comment">// fIsSchemaValidated</font>
|
---|
293 | 00499 <font class="comment">// whether this attribute was validated by an XML Schema</font>
|
---|
294 | 00500 <font class="comment">//</font>
|
---|
295 | 00501 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
296 | 00502 <font class="keywordtype">bool</font> fSpecified;
|
---|
297 | 00503 <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> fType;
|
---|
298 | 00504 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> fValueBufSz;
|
---|
299 | 00505 XMLCh* fValue;
|
---|
300 | 00506 <a class="code" href="classQName.html">QName</a>* fAttName;
|
---|
301 | 00507 <a class="code" href="classMemoryManager.html">MemoryManager</a>* fMemoryManager;
|
---|
302 | 00508 DatatypeValidator * fDatatypeValidator;
|
---|
303 | 00509 <font class="keywordtype">bool</font> fIsSchemaValidated;
|
---|
304 | 00510 };
|
---|
305 | 00511
|
---|
306 | 00512 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
307 | 00513 <font class="comment">// XMLAttr: Constructors and Destructor</font>
|
---|
308 | 00514 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
309 | <a name="l00515"></a><a class="code" href="classXMLAttr.html#z251_0">00515</a> <font class="keyword">inline</font> <a class="code" href="classXMLAttr.html#z251_0">XMLAttr::~XMLAttr</a>()
|
---|
310 | 00516 {
|
---|
311 | 00517 cleanUp();
|
---|
312 | 00518 }
|
---|
313 | 00519
|
---|
314 | 00520
|
---|
315 | 00521 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
316 | 00522 <font class="comment">// XMLAttr: Getter methods</font>
|
---|
317 | 00523 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
318 | <a name="l00524"></a><a class="code" href="classXMLAttr.html#z252_0">00524</a> <font class="keyword">inline</font> <a class="code" href="classQName.html">QName</a>* <a class="code" href="classXMLAttr.html#z252_0">XMLAttr::getAttName</a>()<font class="keyword"> const</font>
|
---|
319 | 00525 <font class="keyword"></font>{
|
---|
320 | 00526 <font class="keywordflow">return</font> fAttName;
|
---|
321 | 00527 }
|
---|
322 | 00528
|
---|
323 | <a name="l00529"></a><a class="code" href="classXMLAttr.html#z252_1">00529</a> <font class="keyword">inline</font> <font class="keyword">const</font> XMLCh* <a class="code" href="classXMLAttr.html#z252_1">XMLAttr::getName</a>()<font class="keyword"> const</font>
|
---|
324 | 00530 <font class="keyword"></font>{
|
---|
325 | 00531 <font class="keywordflow">return</font> fAttName-><a class="code" href="classQName.html#a7">getLocalPart</a>();
|
---|
326 | 00532 }
|
---|
327 | 00533
|
---|
328 | <a name="l00534"></a><a class="code" href="classXMLAttr.html#z252_2">00534</a> <font class="keyword">inline</font> <font class="keyword">const</font> XMLCh* <a class="code" href="classXMLAttr.html#z252_2">XMLAttr::getPrefix</a>()<font class="keyword"> const</font>
|
---|
329 | 00535 <font class="keyword"></font>{
|
---|
330 | 00536 <font class="keywordflow">return</font> fAttName-><a class="code" href="classQName.html#a5">getPrefix</a>();
|
---|
331 | 00537 }
|
---|
332 | 00538
|
---|
333 | <a name="l00539"></a><a class="code" href="classXMLAttr.html#z252_4">00539</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLAttr.html#z252_4">XMLAttr::getSpecified</a>()<font class="keyword"> const</font>
|
---|
334 | 00540 <font class="keyword"></font>{
|
---|
335 | 00541 <font class="keywordflow">return</font> fSpecified;
|
---|
336 | 00542 }
|
---|
337 | 00543
|
---|
338 | <a name="l00544"></a><a class="code" href="classXMLAttr.html#z252_5">00544</a> <font class="keyword">inline</font> <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> <a class="code" href="classXMLAttr.html#z252_5">XMLAttr::getType</a>()<font class="keyword"> const</font>
|
---|
339 | 00545 <font class="keyword"></font>{
|
---|
340 | 00546 <font class="keywordflow">return</font> fType;
|
---|
341 | 00547 }
|
---|
342 | 00548
|
---|
343 | <a name="l00549"></a><a class="code" href="classXMLAttr.html#z252_6">00549</a> <font class="keyword">inline</font> <font class="keyword">const</font> XMLCh* <a class="code" href="classXMLAttr.html#z252_6">XMLAttr::getValue</a>()<font class="keyword"> const</font>
|
---|
344 | 00550 <font class="keyword"></font>{
|
---|
345 | 00551 <font class="keywordflow">return</font> fValue;
|
---|
346 | 00552 }
|
---|
347 | 00553
|
---|
348 | <a name="l00554"></a><a class="code" href="classXMLAttr.html#z252_7">00554</a> <font class="keyword">inline</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> <a class="code" href="classXMLAttr.html#z252_7">XMLAttr::getURIId</a>()<font class="keyword"> const</font>
|
---|
349 | 00555 <font class="keyword"></font>{
|
---|
350 | 00556 <font class="keywordflow">return</font> fAttName-><a class="code" href="classQName.html#a9">getURI</a>();
|
---|
351 | 00557 }
|
---|
352 | 00558
|
---|
353 | <a name="l00559"></a><a class="code" href="classXMLAttr.html#z252_9">00559</a> <font class="keyword">inline</font> <font class="keyword">const</font> XMLCh* <a class="code" href="classXMLAttr.html#z252_9">XMLAttr::getValidatingTypeName</a>()<font class="keyword"> const</font>
|
---|
354 | 00560 <font class="keyword"></font>{
|
---|
355 | 00561 <font class="keywordflow">if</font>(fIsSchemaValidated)
|
---|
356 | 00562 {
|
---|
357 | 00563 <font class="keywordflow">if</font>(!fDatatypeValidator || fDatatypeValidator->getAnonymous())
|
---|
358 | 00564 <font class="keywordflow">return</font> 0;
|
---|
359 | 00565 <font class="keywordflow">return</font> fDatatypeValidator->getTypeLocalName();
|
---|
360 | 00566 }
|
---|
361 | 00567 <font class="keywordflow">else</font>
|
---|
362 | 00568 {
|
---|
363 | 00569 <font class="keywordflow">return</font> <a class="code" href="classXMLAttDef.html#z243_0">XMLAttDef::getAttTypeString</a>(fType, fMemoryManager);
|
---|
364 | 00570 }
|
---|
365 | 00571 }
|
---|
366 | 00572
|
---|
367 | <a name="l00573"></a><a class="code" href="classXMLAttr.html#z252_8">00573</a> <font class="keyword">inline</font> <font class="keyword">const</font> XMLCh* <a class="code" href="classXMLAttr.html#z252_8">XMLAttr::getValidatingTypeURI</a>()<font class="keyword"> const</font>
|
---|
368 | 00574 <font class="keyword"></font>{
|
---|
369 | 00575 <font class="keywordflow">if</font>(fIsSchemaValidated)
|
---|
370 | 00576 {
|
---|
371 | 00577 <font class="keywordflow">if</font>(!fDatatypeValidator || fDatatypeValidator->getAnonymous())
|
---|
372 | 00578 <font class="keywordflow">return</font> 0;
|
---|
373 | 00579 <font class="keywordflow">return</font> fDatatypeValidator->getTypeUri();
|
---|
374 | 00580 }
|
---|
375 | 00581 <font class="keywordflow">else</font>
|
---|
376 | 00582 {
|
---|
377 | 00583 <font class="keywordflow">return</font> 0;
|
---|
378 | 00584 }
|
---|
379 | 00585 }
|
---|
380 | 00586
|
---|
381 | 00587 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
382 | 00588 <font class="comment">// XMLAttr: Setter methods</font>
|
---|
383 | 00589 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
384 | <a name="l00590"></a><a class="code" href="classXMLAttr.html#z253_0">00590</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="classXMLAttr.html#z253_0">XMLAttr::set</a>(<font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> uriId
|
---|
385 | 00591 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrName
|
---|
386 | 00592 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrPrefix
|
---|
387 | 00593 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrValue
|
---|
388 | 00594 , <font class="keyword">const</font> <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> type
|
---|
389 | 00595 , DatatypeValidator * datatypeValidator
|
---|
390 | 00596 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isSchema )
|
---|
391 | 00597 {
|
---|
392 | 00598 <font class="comment">// Set the name info and the value via their respective calls</font>
|
---|
393 | 00599 fAttName-><a class="code" href="classQName.html#a13">setName</a>(attrPrefix, attrName, uriId);
|
---|
394 | 00600 <a class="code" href="classXMLAttr.html#z253_5">setValue</a>(attrValue);
|
---|
395 | 00601
|
---|
396 | 00602 <font class="comment">// And store the type</font>
|
---|
397 | 00603 fType = type;
|
---|
398 | 00604
|
---|
399 | 00605 <font class="comment">// and set up info for DOM type info </font>
|
---|
400 | 00606 fIsSchemaValidated = isSchema;
|
---|
401 | 00607 fDatatypeValidator = datatypeValidator;
|
---|
402 | 00608 }
|
---|
403 | 00609
|
---|
404 | <a name="l00610"></a><a class="code" href="classXMLAttr.html#z253_1">00610</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="classXMLAttr.html#z253_0">XMLAttr::set</a>(<font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> uriId
|
---|
405 | 00611 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrRawName
|
---|
406 | 00612 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> attrValue
|
---|
407 | 00613 , <font class="keyword">const</font> <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> type
|
---|
408 | 00614 , DatatypeValidator * datatypeValidator
|
---|
409 | 00615 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isSchema )
|
---|
410 | 00616 {
|
---|
411 | 00617 <font class="comment">// Set the name info and the value via their respective calls</font>
|
---|
412 | 00618 fAttName-><a class="code" href="classQName.html#a13">setName</a>(attrRawName, uriId);
|
---|
413 | 00619 <a class="code" href="classXMLAttr.html#z253_5">setValue</a>(attrValue);
|
---|
414 | 00620
|
---|
415 | 00621 <font class="comment">// And store the type</font>
|
---|
416 | 00622 fType = type;
|
---|
417 | 00623
|
---|
418 | 00624 <font class="comment">// and set up info for DOM type info </font>
|
---|
419 | 00625 fIsSchemaValidated = isSchema;
|
---|
420 | 00626 fDatatypeValidator = datatypeValidator;
|
---|
421 | 00627 }
|
---|
422 | 00628
|
---|
423 | <a name="l00629"></a><a class="code" href="classXMLAttr.html#z253_4">00629</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="classXMLAttr.html#z253_4">XMLAttr::setType</a>(<font class="keyword">const</font> <a class="code" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> newValue)
|
---|
424 | 00630 {
|
---|
425 | 00631 fType = newValue;
|
---|
426 | 00632 }
|
---|
427 | 00633
|
---|
428 | <a name="l00634"></a><a class="code" href="classXMLAttr.html#z253_3">00634</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="classXMLAttr.html#z253_3">XMLAttr::setSpecified</a>(<font class="keyword">const</font> <font class="keywordtype">bool</font> newValue)
|
---|
429 | 00635 {
|
---|
430 | 00636 fSpecified = newValue;
|
---|
431 | 00637 }
|
---|
432 | 00638
|
---|
433 | <a name="l00639"></a><a class="code" href="classXMLAttr.html#z253_7">00639</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="classXMLAttr.html#z253_7">XMLAttr::setDatatypeValidator</a>(DatatypeValidator *datatypeValidator)
|
---|
434 | 00640 {
|
---|
435 | 00641 fDatatypeValidator = datatypeValidator;
|
---|
436 | 00642 }
|
---|
437 | 00643
|
---|
438 | <a name="l00644"></a><a class="code" href="classXMLAttr.html#z253_8">00644</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="classXMLAttr.html#z253_8">XMLAttr::setSchemaValidated</a>(<font class="keyword">const</font> <font class="keywordtype">bool</font> isSchema)
|
---|
439 | 00645 {
|
---|
440 | 00646 fIsSchemaValidated = isSchema;
|
---|
441 | 00647 }
|
---|
442 | 00648
|
---|
443 | 00649 <a class="code" href="XercesDefs_8hpp.html#a3">XERCES_CPP_NAMESPACE_END</a>
|
---|
444 | 00650
|
---|
445 | 00651 <font class="preprocessor">#endif</font>
|
---|
446 | </pre></div> </FONT></TD></TR></TABLE><BR>
|
---|
447 | </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>
|
---|
448 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
449 | All Rights Reserved.
|
---|
450 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|