152 lines
11 KiB
HTML
152 lines
11 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&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.3.9.1 -->
|
|
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
|
|
<div class="nav">
|
|
<a class="el" href="dir_000007.html">xerces-c-3.0.1</a> / <a class="el" href="dir_000008.html">src</a> / <a class="el" href="dir_000009.html">xercesc</a> / <a class="el" href="dir_000016.html">util</a></div>
|
|
<h1>XMLResourceIdentifier.hpp</h1><a href="XMLResourceIdentifier_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
|
|
00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
|
|
00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
|
|
00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
|
|
00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
|
|
00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
|
|
00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
|
|
00008 <span class="comment"> * </span>
|
|
00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
|
00010 <span class="comment"> * </span>
|
|
00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
|
00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
|
00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
|
00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
|
00015 <span class="comment"> * limitations under the License.</span>
|
|
00016 <span class="comment"> */</span>
|
|
00017
|
|
00018 <span class="comment">/*</span>
|
|
00019 <span class="comment"> * $Id: XMLResourceIdentifier.hpp 527149 2007-04-10 14:56:39Z amassari $</span>
|
|
00020 <span class="comment"> */</span>
|
|
00021
|
|
00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_XMLRESOURCEIDENTIFIER_HPP)</span>
|
|
<a name="l00023"></a><a class="code" href="XMLResourceIdentifier_8hpp.html#a0">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XMLRESOURCEIDENTIFIER_HPP</span>
|
|
00024 <span class="preprocessor"></span>
|
|
00025 XERCES_CPP_NAMESPACE_BEGIN
|
|
00026
|
|
00027 <span class="keyword">class </span>Locator;
|
|
00028
|
|
<a name="l00095"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html">00095</a> <span class="keyword">class </span>XMLUTIL_EXPORT XMLResourceIdentifier
|
|
00096 {
|
|
00097 <span class="keyword">public</span>:
|
|
00098
|
|
<a name="l00101"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#z67_0">00101</a> <span class="keyword">enum</span> ResourceIdentifierType {
|
|
00102 SchemaGrammar = 0,
|
|
00103 SchemaImport,
|
|
00104 SchemaInclude,
|
|
00105 SchemaRedefine ,
|
|
00106 ExternalEntity,
|
|
00107 UnKnown = 255
|
|
00108 };
|
|
00110
|
|
00115 XMLResourceIdentifier(<span class="keyword">const</span> ResourceIdentifierType resourceIdentitiferType
|
|
00116 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
|
|
00117 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> nameSpace = 0
|
|
00118 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId = 0
|
|
00119 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseURI = 0
|
|
00120 , <span class="keyword">const</span> Locator* locator = 0);
|
|
00121
|
|
<a name="l00123"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#z69_1">00123</a> ~XMLResourceIdentifier()
|
|
00124 {
|
|
00125 }
|
|
00126
|
|
00128
|
|
00129 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00130 <span class="comment">// Getter methods</span>
|
|
00131 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00134 <span class="comment"></span> ResourceIdentifierType getResourceIdentifierType() <span class="keyword">const</span>;
|
|
00135 <span class="keyword">const</span> XMLCh* getPublicId() <span class="keyword">const</span>;
|
|
00136 <span class="keyword">const</span> XMLCh* getSystemId() <span class="keyword">const</span>;
|
|
00137 <span class="keyword">const</span> XMLCh* getSchemaLocation() <span class="keyword">const</span>;
|
|
00138 <span class="keyword">const</span> XMLCh* getBaseURI() <span class="keyword">const</span>;
|
|
00139 <span class="keyword">const</span> XMLCh* getNameSpace() <span class="keyword">const</span>;
|
|
00140 <span class="keyword">const</span> Locator* getLocator() <span class="keyword">const</span>;
|
|
00142
|
|
00143 <span class="keyword">private</span> :
|
|
00144
|
|
00145 <span class="keyword">const</span> ResourceIdentifierType fResourceIdentifierType;
|
|
00146 <span class="keyword">const</span> XMLCh* fPublicId;
|
|
00147 <span class="keyword">const</span> XMLCh* fSystemId;
|
|
00148 <span class="keyword">const</span> XMLCh* fBaseURI;
|
|
00149 <span class="keyword">const</span> XMLCh* fNameSpace;
|
|
00150 <span class="keyword">const</span> Locator* fLocator;
|
|
00151
|
|
00152 <span class="comment">/* Unimplemented constructors and operators */</span>
|
|
00153
|
|
00154 <span class="comment">/* Copy constructor */</span>
|
|
00155 XMLResourceIdentifier(<span class="keyword">const</span> XMLResourceIdentifier&);
|
|
00156
|
|
00157 <span class="comment">/* Assignment operator */</span>
|
|
00158 XMLResourceIdentifier& operator=(<span class="keyword">const</span> XMLResourceIdentifier&);
|
|
00159
|
|
00160 };
|
|
00161
|
|
<a name="l00162"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#z71_0">00162</a> <span class="keyword">inline</span> XMLResourceIdentifier::ResourceIdentifierType XMLResourceIdentifier::getResourceIdentifierType()<span class="keyword"> const </span>
|
|
00163 <span class="keyword"></span>{
|
|
00164 <span class="keywordflow">return</span> fResourceIdentifierType;
|
|
00165 }
|
|
00166
|
|
<a name="l00167"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#z71_1">00167</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* XMLResourceIdentifier::getPublicId()<span class="keyword"> const</span>
|
|
00168 <span class="keyword"></span>{
|
|
00169 <span class="keywordflow">return</span> fPublicId;
|
|
00170 }
|
|
00171
|
|
<a name="l00172"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#z71_2">00172</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* XMLResourceIdentifier::getSystemId()<span class="keyword"> const</span>
|
|
00173 <span class="keyword"></span>{
|
|
00174 <span class="keywordflow">return</span> fSystemId;
|
|
00175 }
|
|
00176
|
|
<a name="l00177"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#z71_3">00177</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* XMLResourceIdentifier::getSchemaLocation()<span class="keyword"> const</span>
|
|
00178 <span class="keyword"></span>{
|
|
00179 <span class="keywordflow">return</span> fSystemId;
|
|
00180 }
|
|
00181
|
|
<a name="l00182"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#z71_4">00182</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* XMLResourceIdentifier::getBaseURI()<span class="keyword"> const</span>
|
|
00183 <span class="keyword"></span>{
|
|
00184 <span class="keywordflow">return</span> fBaseURI;
|
|
00185 }
|
|
00186
|
|
<a name="l00187"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#z71_5">00187</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* XMLResourceIdentifier::getNameSpace()<span class="keyword"> const</span>
|
|
00188 <span class="keyword"></span>{
|
|
00189 <span class="keywordflow">return</span> fNameSpace;
|
|
00190 }
|
|
00191
|
|
<a name="l00192"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#z71_6">00192</a> <span class="keyword">inline</span> <span class="keyword">const</span> Locator* XMLResourceIdentifier::getLocator()<span class="keyword"> const</span>
|
|
00193 <span class="keyword"></span>{
|
|
00194 <span class="keywordflow">return</span> fLocator;
|
|
00195 }
|
|
00196
|
|
<a name="l00197"></a><a class="code" href="classxercesc_1_1XMLResourceIdentifier.html#z69_0">00197</a> <span class="keyword">inline</span> XMLResourceIdentifier::XMLResourceIdentifier(<span class="keyword">const</span> ResourceIdentifierType resourceIdentifierType
|
|
00198 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
|
|
00199 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> nameSpace
|
|
00200 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
|
|
00201 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseURI
|
|
00202 , <span class="keyword">const</span> Locator* locator )
|
|
00203 : fResourceIdentifierType(resourceIdentifierType)
|
|
00204 , fPublicId(publicId)
|
|
00205 , fSystemId(systemId)
|
|
00206 , fBaseURI(baseURI)
|
|
00207 , fNameSpace(nameSpace)
|
|
00208 , fLocator(locator)
|
|
00209 {
|
|
00210 }
|
|
00211
|
|
00212 XERCES_CPP_NAMESPACE_END
|
|
00213
|
|
00214 <span class="preprocessor">#endif</span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 25 06:55:26 2009 for XQilla Simple API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
|
|
</body>
|
|
</html>
|