00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one 00003 * or more contributor license agreements. See the NOTICE file 00004 * distributed with this work for additional information 00005 * regarding copyright ownership. The ASF licenses this file 00006 * to you under the Apache License, Version 2.0 (the "License"); 00007 * you may not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 #if !defined(XALANSOURCETREEATTRNS_HEADER_GUARD_1357924680) 00019 #define XALANSOURCETREEATTRNS_HEADER_GUARD_1357924680 00020 00021 00022 00023 #include <xalanc/XalanSourceTree/XalanSourceTreeDefinitions.hpp> 00024 00025 00026 00027 #include <xalanc/XalanSourceTree/XalanSourceTreeAttr.hpp> 00028 00029 00030 00031 XALAN_CPP_NAMESPACE_BEGIN 00032 00033 00034 00035 /* 00036 * <meta name="usage" content="experimental"/> 00037 * 00038 * Base class for the Xalan source tree Attr interface. 00039 * 00040 * This class is experimental and subject to change!! 00041 */ 00042 00043 class XALAN_XALANSOURCETREE_EXPORT XalanSourceTreeAttrNS : public XalanSourceTreeAttr 00044 { 00045 public: 00046 00047 /** 00048 * Constructor. 00049 * 00050 * @param theName The name of the attribute 00051 * @param theLocalName The local name of the attribute 00052 * @param theNamespaceURI The namespace URI of the attribute 00053 * @param thePrefix The namespace prefix of the attribute 00054 * @param theValue The value of the attribute 00055 * @param theOwnerElement The element that owns the instance 00056 * @param theIndex The document-order index of the node. 00057 */ 00058 XalanSourceTreeAttrNS( 00059 const XalanDOMString& theName, 00060 const XalanDOMString& theLocalName, 00061 const XalanDOMString& theNamespaceURI, 00062 const XalanDOMString& thePrefix, 00063 const XalanDOMString& theValue, 00064 XalanSourceTreeElement* theOwnerElement = 0, 00065 IndexType theIndex = 0); 00066 00067 virtual 00068 ~XalanSourceTreeAttrNS(); 00069 00070 00071 virtual const XalanDOMString& 00072 getNamespaceURI() const; 00073 00074 virtual const XalanDOMString& 00075 getPrefix() const; 00076 00077 virtual const XalanDOMString& 00078 getLocalName() const; 00079 00080 private: 00081 00082 // Not defined... 00083 XalanSourceTreeAttrNS(const XalanSourceTreeAttrNS& theSource); 00084 00085 XalanSourceTreeAttrNS& 00086 operator=(const XalanSourceTreeAttrNS& theSource); 00087 00088 bool 00089 operator==(const XalanSourceTreeAttrNS& theRHS) const; 00090 00091 // Data members... 00092 const XalanDOMString& m_localName; 00093 00094 const XalanDOMString& m_prefix; 00095 00096 const XalanDOMString& m_namespaceURI; 00097 }; 00098 00099 00100 00101 XALAN_CPP_NAMESPACE_END 00102 00103 00104 00105 #endif // !defined(XALANSOURCETREEATTRNS_HEADER_GUARD_1357924680)
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|