Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

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

XercesEntityWrapper.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(XERCESENTITYWRAPPER_HEADER_GUARD_1357924680)
00017 #define XERCESENTITYWRAPPER_HEADER_GUARD_1357924680
00018 
00019 
00020 
00021 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp>
00022 
00023 
00024 
00025 #include <xalanc/XalanDOM/XalanEntity.hpp>
00026 
00027 
00028 
00029 #include <xalanc/XercesParserLiaison/XercesNodeListWrapper.hpp>
00030 #include <xalanc/XercesParserLiaison/XercesWrapperTypes.hpp>
00031 
00032 
00033 
00034 XALAN_CPP_NAMESPACE_BEGIN
00035 
00036 
00037 
00038 class XercesWrapperNavigator;
00039 
00040 
00041 
00042 class XALAN_XERCESPARSERLIAISON_EXPORT XercesEntityWrapper : public XalanEntity
00043 {
00044 public:
00045 
00046     XercesEntityWrapper(
00047             const DOMEntityType*            theXercesDOMEntity,
00048             const XercesWrapperNavigator&   theNavigator);
00049 
00050     virtual
00051     ~XercesEntityWrapper();
00052 
00053 
00054     // These interfaces are inherited from XalanNode...
00055 
00056     virtual const XalanDOMString&
00057     getNodeName() const;
00058 
00062     virtual const XalanDOMString&
00063     getNodeValue() const;
00064 
00068     virtual NodeType
00069     getNodeType() const;
00070 
00080     virtual XalanNode*
00081     getParentNode() const;
00082 
00096     virtual const XalanNodeList*
00097     getChildNodes() const;
00098 
00104     virtual XalanNode*
00105     getFirstChild() const;
00106 
00112     virtual XalanNode*
00113     getLastChild() const;
00114 
00120     virtual XalanNode*
00121     getPreviousSibling() const;
00122 
00128     virtual XalanNode*
00129     getNextSibling() const;
00130 
00135     virtual const XalanNamedNodeMap*
00136     getAttributes() const;
00137 
00147     virtual XalanDocument*
00148     getOwnerDocument() const;
00149 
00151 
00153 
00172 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
00173     virtual XalanNode*
00174 #else
00175     virtual XercesEntityWrapper*
00176 #endif
00177     cloneNode(bool deep) const;
00178 
00180 
00182 
00199     virtual XalanNode*
00200     insertBefore(
00201             XalanNode*  newChild,
00202             XalanNode*  refChild);
00203 
00217     virtual XalanNode*
00218     replaceChild(
00219             XalanNode*  newChild,
00220             XalanNode*  oldChild);
00221 
00229     virtual XalanNode*
00230     removeChild(XalanNode*  oldChild);
00231 
00243     virtual XalanNode*
00244     appendChild(XalanNode*  newChild);
00245 
00247 
00249 
00257     virtual bool
00258     hasChildNodes() const;
00259 
00260 
00262 
00264 
00265 
00279     virtual void
00280     setNodeValue(const XalanDOMString&      nodeValue);
00281 
00283 
00285 
00302     virtual void
00303     normalize();
00304 
00318     virtual bool
00319     isSupported(
00320             const XalanDOMString&   feature,
00321             const XalanDOMString&   version) const;
00322 
00336     virtual const XalanDOMString&
00337     getNamespaceURI() const;
00338 
00343     virtual const XalanDOMString&
00344     getPrefix() const;
00345 
00353     virtual const XalanDOMString&
00354     getLocalName() const;
00355 
00385     virtual void
00386     setPrefix(const XalanDOMString& prefix);
00387 
00388     virtual bool
00389     isIndexed() const;
00390 
00391     virtual IndexType
00392     getIndex() const;
00393 
00395 
00396     // These interfaces are inherited from XalanEntity...
00397 
00405     virtual const XalanDOMString&
00406     getPublicId() const;
00407 
00415     virtual const XalanDOMString&
00416     getSystemId() const;
00417 
00423     virtual const XalanDOMString&
00424     getNotationName() const;
00425 
00431     const DOMEntityType*
00432     getXercesNode() const
00433     {
00434         return m_xercesNode;
00435     }
00436 
00437 private:
00438 
00439     // Not implemented...
00440     XercesEntityWrapper(const XercesEntityWrapper&  theSource);
00441 
00442     XercesEntityWrapper&
00443     operator=(const XercesEntityWrapper&        theSource);
00444 
00445     bool
00446     operator==(const XercesEntityWrapper&       theRHS) const;
00447 
00448     // Data members...
00449     const DOMEntityType* const      m_xercesNode;
00450 
00451     const XercesWrapperNavigator&   m_navigator;
00452 
00453     XercesNodeListWrapper           m_children;
00454 };
00455 
00456 
00457 
00458 XALAN_CPP_NAMESPACE_END
00459 
00460 
00461 
00462 #endif  // !defined(XERCESENTITYWRAPPER_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.