XQuilla/docs/simple-api/XMLResourceIdentifier_8hpp-source.html
2020-02-17 22:13:50 +01:00

161 lines
15 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla Simple API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="classes.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>XMLResourceIdentifier.hpp</h1><a href="XMLResourceIdentifier_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: XMLResourceIdentifier.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">#ifndef XMLRESOURCEIDENTIFIER_HPP</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define XMLRESOURCEIDENTIFIER_HPP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 XERCES_CPP_NAMESPACE_BEGIN
<a name="l00026"></a>00026
<a name="l00027"></a>00027 <span class="keyword">class </span>Locator;
<a name="l00028"></a>00028
<a name="l00095"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html">00095</a> <span class="keyword">class </span>XMLUTIL_EXPORT <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html">XMLResourceIdentifier</a>
<a name="l00096"></a>00096 {
<a name="l00097"></a>00097 <span class="keyword">public</span>:
<a name="l00098"></a>00098
<a name="l00101"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#03d02f61f1257c212999d8157ffd2c46">00101</a> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#03d02f61f1257c212999d8157ffd2c46">ResourceIdentifierType</a> {
<a name="l00102"></a>00102 SchemaGrammar = 0,
<a name="l00103"></a>00103 SchemaImport,
<a name="l00104"></a>00104 SchemaInclude,
<a name="l00105"></a>00105 SchemaRedefine ,
<a name="l00106"></a>00106 ExternalEntity,
<a name="l00107"></a>00107 UnKnown = 255
<a name="l00108"></a>00108 };
<a name="l00110"></a>00110
<a name="l00115"></a>00115 <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html">XMLResourceIdentifier</a>(<span class="keyword">const</span> ResourceIdentifierType resourceIdentitiferType
<a name="l00116"></a>00116 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l00117"></a>00117 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> nameSpace = 0
<a name="l00118"></a>00118 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId = 0
<a name="l00119"></a>00119 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseURI = 0
<a name="l00120"></a>00120 , <span class="keyword">const</span> Locator* locator = 0);
<a name="l00121"></a>00121
<a name="l00123"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#ee614b6ab31ba305f5df3baea5acccb5">00123</a> ~<a class="code" href="classxercesc_1_1XMLResourceIdentifier.html">XMLResourceIdentifier</a>()
<a name="l00124"></a>00124 {
<a name="l00125"></a>00125 }
<a name="l00126"></a>00126
<a name="l00128"></a>00128
<a name="l00129"></a>00129 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00130"></a>00130 <span class="comment">// Getter methods</span>
<a name="l00131"></a>00131 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00134"></a>00134 <span class="comment"></span> ResourceIdentifierType getResourceIdentifierType() <span class="keyword">const</span>;
<a name="l00135"></a>00135 <span class="keyword">const</span> XMLCh* getPublicId() <span class="keyword">const</span>;
<a name="l00136"></a>00136 <span class="keyword">const</span> XMLCh* getSystemId() <span class="keyword">const</span>;
<a name="l00137"></a>00137 <span class="keyword">const</span> XMLCh* getSchemaLocation() <span class="keyword">const</span>;
<a name="l00138"></a>00138 <span class="keyword">const</span> XMLCh* getBaseURI() <span class="keyword">const</span>;
<a name="l00139"></a>00139 <span class="keyword">const</span> XMLCh* getNameSpace() <span class="keyword">const</span>;
<a name="l00140"></a>00140 <span class="keyword">const</span> Locator* getLocator() <span class="keyword">const</span>;
<a name="l00142"></a>00142
<a name="l00143"></a>00143 <span class="keyword">private</span> :
<a name="l00144"></a>00144
<a name="l00145"></a>00145 <span class="keyword">const</span> ResourceIdentifierType fResourceIdentifierType;
<a name="l00146"></a>00146 <span class="keyword">const</span> XMLCh* fPublicId;
<a name="l00147"></a>00147 <span class="keyword">const</span> XMLCh* fSystemId;
<a name="l00148"></a>00148 <span class="keyword">const</span> XMLCh* fBaseURI;
<a name="l00149"></a>00149 <span class="keyword">const</span> XMLCh* fNameSpace;
<a name="l00150"></a>00150 <span class="keyword">const</span> Locator* fLocator;
<a name="l00151"></a>00151
<a name="l00152"></a>00152 <span class="comment">/* Unimplemented constructors and operators */</span>
<a name="l00153"></a>00153
<a name="l00154"></a>00154 <span class="comment">/* Copy constructor */</span>
<a name="l00155"></a>00155 <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html">XMLResourceIdentifier</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html">XMLResourceIdentifier</a>&amp;);
<a name="l00156"></a>00156
<a name="l00157"></a>00157 <span class="comment">/* Assignment operator */</span>
<a name="l00158"></a>00158 <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html">XMLResourceIdentifier</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html">XMLResourceIdentifier</a>&amp;);
<a name="l00159"></a>00159
<a name="l00160"></a>00160 };
<a name="l00161"></a>00161
<a name="l00162"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#1b2ad9ba037331c43b156811052ad8f5">00162</a> <span class="keyword">inline</span> <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#03d02f61f1257c212999d8157ffd2c46">XMLResourceIdentifier::ResourceIdentifierType</a> XMLResourceIdentifier::getResourceIdentifierType()<span class="keyword"> const </span>
<a name="l00163"></a>00163 <span class="keyword"></span>{
<a name="l00164"></a>00164 <span class="keywordflow">return</span> fResourceIdentifierType;
<a name="l00165"></a>00165 }
<a name="l00166"></a>00166
<a name="l00167"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#71c46ef8ba1617aa4cb52f872976499a">00167</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#71c46ef8ba1617aa4cb52f872976499a">XMLResourceIdentifier::getPublicId</a>()<span class="keyword"> const</span>
<a name="l00168"></a>00168 <span class="keyword"></span>{
<a name="l00169"></a>00169 <span class="keywordflow">return</span> fPublicId;
<a name="l00170"></a>00170 }
<a name="l00171"></a>00171
<a name="l00172"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#de1218a2482179f7d7e754d9ee01417a">00172</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#de1218a2482179f7d7e754d9ee01417a">XMLResourceIdentifier::getSystemId</a>()<span class="keyword"> const</span>
<a name="l00173"></a>00173 <span class="keyword"></span>{
<a name="l00174"></a>00174 <span class="keywordflow">return</span> fSystemId;
<a name="l00175"></a>00175 }
<a name="l00176"></a>00176
<a name="l00177"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#6b5cce3b8241be2dab6a66c103633e6d">00177</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#6b5cce3b8241be2dab6a66c103633e6d">XMLResourceIdentifier::getSchemaLocation</a>()<span class="keyword"> const</span>
<a name="l00178"></a>00178 <span class="keyword"></span>{
<a name="l00179"></a>00179 <span class="keywordflow">return</span> fSystemId;
<a name="l00180"></a>00180 }
<a name="l00181"></a>00181
<a name="l00182"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#be06dd67f7562a7907cd55a1498446ac">00182</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#be06dd67f7562a7907cd55a1498446ac">XMLResourceIdentifier::getBaseURI</a>()<span class="keyword"> const</span>
<a name="l00183"></a>00183 <span class="keyword"></span>{
<a name="l00184"></a>00184 <span class="keywordflow">return</span> fBaseURI;
<a name="l00185"></a>00185 }
<a name="l00186"></a>00186
<a name="l00187"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#8c572f415fb3f86a54b92981cca6407f">00187</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#8c572f415fb3f86a54b92981cca6407f">XMLResourceIdentifier::getNameSpace</a>()<span class="keyword"> const</span>
<a name="l00188"></a>00188 <span class="keyword"></span>{
<a name="l00189"></a>00189 <span class="keywordflow">return</span> fNameSpace;
<a name="l00190"></a>00190 }
<a name="l00191"></a>00191
<a name="l00192"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#1bb0f0d60c38f7ffc7f520528d7a889b">00192</a> <span class="keyword">inline</span> <span class="keyword">const</span> Locator* <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#1bb0f0d60c38f7ffc7f520528d7a889b">XMLResourceIdentifier::getLocator</a>()<span class="keyword"> const</span>
<a name="l00193"></a>00193 <span class="keyword"></span>{
<a name="l00194"></a>00194 <span class="keywordflow">return</span> fLocator;
<a name="l00195"></a>00195 }
<a name="l00196"></a>00196
<a name="l00197"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#fac9a0d75a2c85864c5e45f9d43b721f">00197</a> <span class="keyword">inline</span> <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#fac9a0d75a2c85864c5e45f9d43b721f">XMLResourceIdentifier::XMLResourceIdentifier</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#03d02f61f1257c212999d8157ffd2c46">ResourceIdentifierType</a> resourceIdentifierType
<a name="l00198"></a>00198 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l00199"></a>00199 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> nameSpace
<a name="l00200"></a>00200 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
<a name="l00201"></a>00201 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseURI
<a name="l00202"></a>00202 , <span class="keyword">const</span> Locator* locator )
<a name="l00203"></a>00203 : fResourceIdentifierType(resourceIdentifierType)
<a name="l00204"></a>00204 , fPublicId(publicId)
<a name="l00205"></a>00205 , fSystemId(systemId)
<a name="l00206"></a>00206 , fBaseURI(baseURI)
<a name="l00207"></a>00207 , fNameSpace(nameSpace)
<a name="l00208"></a>00208 , fLocator(locator)
<a name="l00209"></a>00209 {
<a name="l00210"></a>00210 }
<a name="l00211"></a>00211
<a name="l00212"></a>00212 XERCES_CPP_NAMESPACE_END
<a name="l00213"></a>00213
<a name="l00214"></a>00214 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 8 14:29:40 2008 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>