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(XERCESENTITYWRAPPER_HEADER_GUARD_1357924680) 00019 #define XERCESENTITYWRAPPER_HEADER_GUARD_1357924680 00020 00021 00022 00023 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp> 00024 00025 00026 #include <xalanc/Include/XalanMemMgrAutoPtr.hpp> 00027 00028 00029 #include <xalanc/XalanDOM/XalanEntity.hpp> 00030 00031 00032 00033 #include <xalanc/XercesParserLiaison/XercesNodeListWrapper.hpp> 00034 #include <xalanc/XercesParserLiaison/XercesWrapperTypes.hpp> 00035 00036 00037 00038 XALAN_CPP_NAMESPACE_BEGIN 00039 00040 00041 00042 class XercesWrapperNavigator; 00043 00044 00045 00046 class XALAN_XERCESPARSERLIAISON_EXPORT XercesEntityWrapper : public XalanEntity 00047 { 00048 public: 00049 00050 XercesEntityWrapper( 00051 const DOMEntityType* theXercesDOMEntity, 00052 const XercesWrapperNavigator& theNavigator); 00053 00054 static XercesEntityWrapper* 00055 create( MemoryManager& theManager, 00056 const DOMEntityType* theXercesDOMEntity, 00057 const XercesWrapperNavigator& theNavigator); 00058 00059 virtual 00060 ~XercesEntityWrapper(); 00061 00062 00063 // These interfaces are inherited from XalanEntity... 00064 00065 virtual const XalanDOMString& 00066 getNodeName() const; 00067 00068 virtual const XalanDOMString& 00069 getNodeValue() const; 00070 00071 virtual NodeType 00072 getNodeType() const; 00073 00074 virtual XalanNode* 00075 getParentNode() const; 00076 00077 virtual const XalanNodeList* 00078 getChildNodes() const; 00079 00080 virtual XalanNode* 00081 getFirstChild() const; 00082 00083 virtual XalanNode* 00084 getLastChild() const; 00085 00086 virtual XalanNode* 00087 getPreviousSibling() const; 00088 00089 virtual XalanNode* 00090 getNextSibling() const; 00091 00092 virtual const XalanNamedNodeMap* 00093 getAttributes() const; 00094 00095 virtual XalanDocument* 00096 getOwnerDocument() const; 00097 00098 virtual const XalanDOMString& 00099 getNamespaceURI() const; 00100 00101 virtual const XalanDOMString& 00102 getPrefix() const; 00103 00104 virtual const XalanDOMString& 00105 getLocalName() const; 00106 00107 virtual bool 00108 isIndexed() const; 00109 00110 virtual IndexType 00111 getIndex() const; 00112 00113 virtual const XalanDOMString& 00114 getPublicId() const; 00115 00116 virtual const XalanDOMString& 00117 getSystemId() const; 00118 00119 virtual const XalanDOMString& 00120 getNotationName() const; 00121 00122 const DOMEntityType* 00123 getXercesNode() const 00124 { 00125 return m_xercesNode; 00126 } 00127 00128 private: 00129 00130 // Not implemented... 00131 XercesEntityWrapper(const XercesEntityWrapper& theSource); 00132 00133 XercesEntityWrapper& 00134 operator=(const XercesEntityWrapper& theSource); 00135 00136 bool 00137 operator==(const XercesEntityWrapper& theRHS) const; 00138 00139 // Data members... 00140 const DOMEntityType* const m_xercesNode; 00141 00142 const XercesWrapperNavigator& m_navigator; 00143 00144 XercesNodeListWrapper m_children; 00145 }; 00146 00147 00148 00149 XALAN_CPP_NAMESPACE_END 00150 00151 00152 00153 #endif // !defined(XERCESENTITYWRAPPER_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 |
|