Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

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

XercesEntityReferenceWrapper.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(XERCESENTITYREFERENCEWRAPPER_HEADER_GUARD_1357924680)
00017 #define XERCESENTITYREFERENCEWRAPPER_HEADER_GUARD_1357924680
00018 
00019 
00020 
00021 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp>
00022 
00023 
00024 
00025 #include <xalanc/XalanDOM/XalanEntityReference.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 XercesEntityReferenceWrapper : public XalanEntityReference
00043 {
00044 public:
00045 
00046     XercesEntityReferenceWrapper(
00047             const DOMEntityReferenceType*   theXercesDOMEntityReference,
00048             const XercesWrapperNavigator&   theNavigator);
00049 
00050     virtual
00051     ~XercesEntityReferenceWrapper();
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 XercesEntityReferenceWrapper*
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 
00399     const DOMEntityReferenceType*
00400     getXercesNode() const
00401     {
00402         return m_xercesNode;
00403     }
00404 
00406 
00407 private:
00408 
00409     // Not implemented...
00410     XercesEntityReferenceWrapper(const XercesEntityReferenceWrapper&    theSource);
00411 
00412     XercesEntityReferenceWrapper&
00413     operator=(const XercesEntityReferenceWrapper&   theSource);
00414 
00415     bool
00416     operator==(const XercesEntityReferenceWrapper&      theRHS) const;
00417 
00418     // Data members...
00419     const DOMEntityReferenceType* const     m_xercesNode;
00420 
00421     const XercesWrapperNavigator&           m_navigator;
00422 
00423     XercesNodeListWrapper                   m_children;
00424 };
00425 
00426 
00427 
00428 XALAN_CPP_NAMESPACE_END
00429 
00430 
00431 
00432 #endif  // !defined(XERCESENTITYREFERENCEWRAPPER_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.