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

XercesNotationWrapper.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(XERCESNOTATIONWRAPPER_HEADER_GUARD_1357924680) 00017 #define XERCESNOTATIONWRAPPER_HEADER_GUARD_1357924680 00018 00019 00020 00021 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp> 00022 00023 00024 00025 #include <xalanc/XalanDOM/XalanNotation.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 XercesNotationWrapper : public XalanNotation 00042 { 00043 public: 00044 00045 XercesNotationWrapper( 00046 const DOMNotationType* theXercesDOMNotation, 00047 const XercesWrapperNavigator& theNavigator); 00048 00049 virtual 00050 ~XercesNotationWrapper(); 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 XercesNotationWrapper* 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 XalanNotation... 00396 00404 virtual const XalanDOMString& 00405 getPublicId() const; 00406 00414 virtual const XalanDOMString& 00415 getSystemId() const; 00416 00422 const DOMNotationType* 00423 getXercesNode() const 00424 { 00425 return m_xercesNode; 00426 } 00427 00428 private: 00429 00430 // Not implemented... 00431 XercesNotationWrapper(const XercesNotationWrapper& theSource); 00432 00433 XercesNotationWrapper& 00434 operator=(const XercesNotationWrapper& theSource); 00435 00436 bool 00437 operator==(const XercesNotationWrapper& theRHS) const; 00438 00439 // Data members... 00440 const DOMNotationType* const m_xercesNode; 00441 00442 const XercesWrapperNavigator& m_navigator; 00443 }; 00444 00445 00446 00447 XALAN_CPP_NAMESPACE_END 00448 00449 00450 00451 #endif // !defined(XERCESNOTATIONWRAPPER_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.