Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

XercesProcessingInstructionWrapper.hpp

Go to the documentation of this file.
00001 /* 00002 * Copyright 1999-2004 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #if !defined(XERCESPROCESSINGINSTRUCTIONWRAPPER_HEADER_GUARD_1357924680) 00017 #define XERCESPROCESSINGINSTRUCTIONWRAPPER_HEADER_GUARD_1357924680 00018 00019 00020 00021 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp> 00022 00023 00024 00025 #include <xalanc/XalanDOM/XalanProcessingInstruction.hpp> 00026 00027 00028 00029 #include <xalanc/XercesParserLiaison/XercesWrapperTypes.hpp> 00030 00031 00032 00033 XALAN_CPP_NAMESPACE_BEGIN 00034 00035 00036 00037 class XercesWrapperNavigator; 00038 00039 00040 00041 class XALAN_XERCESPARSERLIAISON_EXPORT XercesProcessingInstructionWrapper : public XalanProcessingInstruction 00042 { 00043 public: 00044 00045 XercesProcessingInstructionWrapper( 00046 const DOMProcessingInstructionType* theXercesDOMProcessingInstruction, 00047 const XercesWrapperNavigator& theNavigator); 00048 00049 virtual 00050 ~XercesProcessingInstructionWrapper(); 00051 00052 00053 // These interfaces are inherited from XalanNode... 00054 00055 virtual const XalanDOMString& 00056 getNodeName() const; 00057 00061 virtual const XalanDOMString& 00062 getNodeValue() const; 00063 00067 virtual NodeType 00068 getNodeType() const; 00069 00079 virtual XalanNode* 00080 getParentNode() const; 00081 00095 virtual const XalanNodeList* 00096 getChildNodes() const; 00097 00103 virtual XalanNode* 00104 getFirstChild() const; 00105 00111 virtual XalanNode* 00112 getLastChild() const; 00113 00119 virtual XalanNode* 00120 getPreviousSibling() const; 00121 00127 virtual XalanNode* 00128 getNextSibling() const; 00129 00134 virtual const XalanNamedNodeMap* 00135 getAttributes() const; 00136 00146 virtual XalanDocument* 00147 getOwnerDocument() const; 00148 00150 00152 00171 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) 00172 virtual XalanNode* 00173 #else 00174 virtual XercesProcessingInstructionWrapper* 00175 #endif 00176 cloneNode(bool deep) const; 00177 00179 00181 00198 virtual XalanNode* 00199 insertBefore( 00200 XalanNode* newChild, 00201 XalanNode* refChild); 00202 00216 virtual XalanNode* 00217 replaceChild( 00218 XalanNode* newChild, 00219 XalanNode* oldChild); 00220 00228 virtual XalanNode* 00229 removeChild(XalanNode* oldChild); 00230 00242 virtual XalanNode* 00243 appendChild(XalanNode* newChild); 00244 00246 00248 00256 virtual bool 00257 hasChildNodes() const; 00258 00259 00261 00263 00264 00278 virtual void 00279 setNodeValue(const XalanDOMString& nodeValue); 00280 00282 00284 00301 virtual void 00302 normalize(); 00303 00317 virtual bool 00318 isSupported( 00319 const XalanDOMString& feature, 00320 const XalanDOMString& version) const; 00321 00335 virtual const XalanDOMString& 00336 getNamespaceURI() const; 00337 00342 virtual const XalanDOMString& 00343 getPrefix() const; 00344 00352 virtual const XalanDOMString& 00353 getLocalName() const; 00354 00384 virtual void 00385 setPrefix(const XalanDOMString& prefix); 00386 00387 virtual bool 00388 isIndexed() const; 00389 00390 virtual IndexType 00391 getIndex() const; 00392 00394 00395 // These interfaces are inherited from XalanProcessingInstruction... 00396 00398 00406 virtual const XalanDOMString& 00407 getTarget() const; 00408 00418 virtual const XalanDOMString& 00419 getData() const; 00420 00422 00432 virtual void 00433 setData(const XalanDOMString& data); 00435 00441 const DOMProcessingInstructionType* 00442 getXercesNode() const 00443 { 00444 return m_xercesNode; 00445 } 00446 00447 private: 00448 00449 // Not implemented... 00450 XercesProcessingInstructionWrapper(const XercesProcessingInstructionWrapper& theSource); 00451 00452 XercesProcessingInstructionWrapper& 00453 operator=(const XercesProcessingInstructionWrapper& theSource); 00454 00455 bool 00456 operator==(const XercesProcessingInstructionWrapper& theRHS) const; 00457 00458 // Data members... 00459 const DOMProcessingInstructionType* const m_xercesNode; 00460 00461 const XercesWrapperNavigator& m_navigator; 00462 }; 00463 00464 00465 00466 XALAN_CPP_NAMESPACE_END 00467 00468 00469 00470 #endif // !defined(XERCESPROCESSINGINSTRUCTIONWRAPPER_HEADER_GUARD_1357924680)

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.8
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.