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(XERCESPROCESSINGINSTRUCTIONWRAPPER_HEADER_GUARD_1357924680) 00019 #define XERCESPROCESSINGINSTRUCTIONWRAPPER_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/XalanProcessingInstruction.hpp> 00030 00031 00032 00033 #include <xalanc/XercesParserLiaison/XercesWrapperTypes.hpp> 00034 00035 00036 00037 XALAN_CPP_NAMESPACE_BEGIN 00038 00039 00040 00041 class XercesWrapperNavigator; 00042 00043 00044 00045 class XALAN_XERCESPARSERLIAISON_EXPORT XercesProcessingInstructionWrapper : public XalanProcessingInstruction 00046 { 00047 public: 00048 00049 XercesProcessingInstructionWrapper( 00050 const DOMProcessingInstructionType* theXercesDOMProcessingInstruction, 00051 const XercesWrapperNavigator& theNavigator); 00052 00053 static XercesProcessingInstructionWrapper* 00054 create( 00055 MemoryManager& theManager, 00056 const DOMProcessingInstructionType* theXercesDOMProcessingInstruction, 00057 const XercesWrapperNavigator& theNavigator); 00058 00059 virtual 00060 ~XercesProcessingInstructionWrapper(); 00061 00062 00063 // These interfaces are inherited from XalanProcessingInstruction... 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 getTarget() const; 00115 00116 virtual const XalanDOMString& 00117 getData() const; 00118 00119 const DOMProcessingInstructionType* 00120 getXercesNode() const 00121 { 00122 return m_xercesNode; 00123 } 00124 00125 private: 00126 00127 // Not implemented... 00128 XercesProcessingInstructionWrapper(const XercesProcessingInstructionWrapper& theSource); 00129 00130 XercesProcessingInstructionWrapper& 00131 operator=(const XercesProcessingInstructionWrapper& theSource); 00132 00133 bool 00134 operator==(const XercesProcessingInstructionWrapper& theRHS) const; 00135 00136 // Data members... 00137 const DOMProcessingInstructionType* const m_xercesNode; 00138 00139 const XercesWrapperNavigator& m_navigator; 00140 }; 00141 00142 00143 00144 XALAN_CPP_NAMESPACE_END 00145 00146 00147 00148 #endif // !defined(XERCESPROCESSINGINSTRUCTIONWRAPPER_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 |
|