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

ElemElement.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(XALAN_ELEMELEMENT_HEADER_GUARD)
00017 #define XALAN_ELEMELEMENT_HEADER_GUARD 
00018 
00028 // Base include file.  Must be first.
00029 #include "XSLTDefinitions.hpp"
00030 
00031 
00032 
00033 // Base class header file.
00034 #include "ElemUse.hpp"
00035 
00036 
00037 
00038 XALAN_CPP_NAMESPACE_BEGIN
00039 
00040 
00041 
00042 class AVT;
00043 
00044 
00045 
00046 class ElemElement: public ElemUse
00047 {
00048 public:
00049 
00059     ElemElement(
00060             StylesheetConstructionContext&  constructionContext,
00061             Stylesheet&                     stylesheetTree,
00062             const AttributeListType&        atts,
00063             int                             lineNumber,
00064             int                             columnNumber);
00065 
00066     virtual
00067     ~ElemElement();
00068 
00069     // These methods are inherited from ElemUse ...
00070 
00071     virtual const XalanDOMString&
00072     getElementName() const;
00073 
00074     virtual void 
00075     execute(StylesheetExecutionContext&     executionContext) const;
00076 
00077 protected:
00078 
00085     virtual void
00086     doExecuteChildren(
00087             StylesheetExecutionContext&     executionContext,
00088             bool                            skipAttributeChildren) const;
00089 
00090     virtual void
00091     namespacesPostConstruction(
00092             StylesheetConstructionContext&  constructionContext,
00093             const NamespacesHandler&        theParentHandler,
00094             NamespacesHandler&              theHandler);
00095 
00096 private:
00097 
00103     void
00104     fixupDefaultNamespace(StylesheetExecutionContext&   executionContext) const;
00105 
00112     const XalanDOMString&
00113     getParentDefaultNamespace() const;
00114 
00115 
00116     // not implemented
00117     ElemElement(const ElemElement &);
00118 
00119     ElemElement&
00120     operator=(const ElemElement &);
00121 
00122     // Data members...
00123     const AVT*              m_nameAVT;
00124 
00125     const AVT*              m_namespaceAVT;
00126 };
00127 
00128 
00129 
00130 XALAN_CPP_NAMESPACE_END
00131 
00132 
00133 
00134 #endif  // XALAN_ELEMELEMENT_HEADER_GUARD

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.