FDO .NET API Reference | Feature Data Objects |
00001 /* 00002 * Copyright (C) 2004-2006 Autodesk, Inc. 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of version 2.1 of the GNU Lesser 00006 * General Public License as published by the Free Software Foundation. 00007 * 00008 * This library is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * Lesser General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public 00014 * License along with this library; if not, write to the Free Software 00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00016 * 00017 */ 00018 00019 #pragma once 00020 00021 #include "Runtime\Disposable.h" 00022 00023 class FdoXmlAttribute; 00024 00025 BEGIN_NAMESPACE_OSGEO_COMMON_XML 00026 00027 /// \ingroup (OSGeoFDOCommonXml) 00028 /// \brief 00029 /// XmlAttribute contains the name and value of a single attribute 00030 /// from an XML document. 00031 public __gc __sealed class XmlAttribute : public NAMESPACE_OSGEO_RUNTIME::Disposable 00032 { 00033 public: 00034 /// \brief 00035 /// Constructs an XML Attribute object 00036 /// 00037 /// \param name 00038 /// Input unique attribute name. If the attribute name is namespace qualified 00039 /// the name is {uri}:{localName}. Otherwise, it is {localName} 00040 /// \param value 00041 /// Input attribute value. 00042 /// \param localName 00043 /// Input attribute name without namespace qualification. 00044 /// \param attributeURI 00045 /// Input uri for the attribute namespace. L"" if the attribute 00046 /// name is not namespace qualified. 00047 /// \param prefix 00048 /// Input prefix for the attribute namespace. L"" if the attribute 00049 /// name is not namespace qualified. 00050 /// \param valueURI 00051 /// Input uri for the attribute value's namespace. L"" if the attribute 00052 /// value is not namespace qualified. 00053 /// \param localValue 00054 /// Input attribute value without namespace qualification. 00055 /// \param valuePrefix 00056 /// Input prefix for the attribute value's namespace. L"" if the attribute 00057 /// value is not namespace qualified. 00058 /// 00059 XmlAttribute(System::String* name, System::String* value, System::String* localName, System::String* attributeURI, System::String* prefix, System::String* valueURI, System::String* localValue, System::String* valuePrefix); 00060 00061 /// \brief 00062 /// Constructs an XML Attribute object 00063 /// 00064 /// \param name 00065 /// Input unique attribute name. If the attribute name is namespace qualified 00066 /// the name is {uri}:{localName}. Otherwise, it is {localName} 00067 /// \param value 00068 /// Input attribute value. 00069 /// \param localName 00070 /// Input attribute name without namespace qualification. 00071 /// \param attributeURI 00072 /// Input uri for the attribute namespace. L"" if the attribute 00073 /// name is not namespace qualified. 00074 /// \param prefix 00075 /// Input prefix for the attribute namespace. L"" if the attribute 00076 /// name is not namespace qualified. 00077 /// \param valueURI 00078 /// Input uri for the attribute value's namespace. L"" if the attribute 00079 /// value is not namespace qualified. 00080 /// \param localValue 00081 /// Input attribute value without namespace qualification. 00082 /// 00083 XmlAttribute(System::String* name, System::String* value, System::String* localName, System::String* attributeURI, System::String* prefix, System::String* valueURI, System::String* localValue); 00084 00085 /// \brief 00086 /// Constructs an XML Attribute object 00087 /// 00088 /// \param name 00089 /// Input unique attribute name. If the attribute name is namespace qualified 00090 /// the name is {uri}:{localName}. Otherwise, it is {localName} 00091 /// \param value 00092 /// Input attribute value. 00093 /// \param localName 00094 /// Input attribute name without namespace qualification. 00095 /// \param attributeURI 00096 /// Input uri for the attribute namespace. L"" if the attribute 00097 /// name is not namespace qualified. 00098 /// \param prefix 00099 /// Input prefix for the attribute namespace. L"" if the attribute 00100 /// name is not namespace qualified. 00101 /// \param valueURI 00102 /// Input uri for the attribute value's namespace. L"" if the attribute 00103 /// value is not namespace qualified. 00104 /// 00105 XmlAttribute(System::String* name, System::String* value, System::String* localName, System::String* attributeURI, System::String* prefix, System::String* valueURI); 00106 00107 /// \brief 00108 /// Constructs an XML Attribute object 00109 /// 00110 /// \param name 00111 /// Input unique attribute name. If the attribute name is namespace qualified 00112 /// the name is {uri}:{localName}. Otherwise, it is {localName} 00113 /// \param value 00114 /// Input attribute value. 00115 /// \param localName 00116 /// Input attribute name without namespace qualification. 00117 /// \param attributeURI 00118 /// Input uri for the attribute namespace. L"" if the attribute 00119 /// name is not namespace qualified. 00120 /// \param prefix 00121 /// Input prefix for the attribute namespace. L"" if the attribute 00122 /// name is not namespace qualified. 00123 /// 00124 XmlAttribute(System::String* name, System::String* value, System::String* localName, System::String* attributeURI, System::String* prefix); 00125 /// \brief 00126 /// Constructs an XML Attribute object 00127 /// 00128 /// \param name 00129 /// Input unique attribute name. If the attribute name is namespace qualified 00130 /// the name is {uri}:{localName}. Otherwise, it is {localName} 00131 /// \param value 00132 /// Input attribute value. 00133 /// \param localName 00134 /// Input attribute name without namespace qualification. 00135 /// \param attributeURI 00136 /// Input uri for the attribute namespace. L"" if the attribute 00137 /// name is not namespace qualified. 00138 /// 00139 XmlAttribute(System::String* name, System::String* value, System::String* localName, System::String* attributeURI); 00140 /// \brief 00141 /// Constructs an XML Attribute object 00142 /// 00143 /// \param name 00144 /// Input unique attribute name. If the attribute name is namespace qualified 00145 /// the name is {uri}:{localName}. Otherwise, it is {localName} 00146 /// \param value 00147 /// Input attribute value. 00148 /// \param localName 00149 /// Input attribute name without namespace qualification. 00150 /// 00151 XmlAttribute(System::String* name, System::String* value, System::String* localName); 00152 00153 /// \brief 00154 /// Constructs an XML Attribute object 00155 /// 00156 /// \param name 00157 /// Input unique attribute name. If the attribute name is namespace qualified 00158 /// the name is {uri}:{localName}. Otherwise, it is {localName} 00159 /// \param value 00160 /// Input attribute value. 00161 /// 00162 XmlAttribute(System::String* name, System::String* value); 00163 00164 /// \brief 00165 /// Constructs an XmlAttribute based on an unmanaged instance of the object 00166 /// 00167 /// \param unmanaged 00168 /// Input A Pointer to the unmanaged attribute. 00169 /// 00170 /// \param autoDelete 00171 /// Input Indicates if the constructed object should be automatically deleted 00172 /// once it no longer referenced. 00173 /// 00174 XmlAttribute(System::IntPtr unmanaged, System::Boolean autoDelete); 00175 00176 /// \cond DOXYGEN-IGNORE 00177 protected: 00178 virtual System::Void ReleaseUnmanagedObject(); 00179 00180 public private: 00181 inline FdoXmlAttribute* GetImpObj(); 00182 00183 private: 00184 System::Void InitConstruct(String* name, String* value, String* localName, String* uri, String* prefix, String* valueUri, String* localValue, String* valuePrefix); 00185 /// \endcond 00186 }; 00187 00188 END_NAMESPACE_OSGEO_COMMON_XML 00189 00190
Comments or suggestions? Send us feedback. |