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

ElemLiteralResult.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_ELEMLITERALRESULT_HEADER_GUARD)
00017 #define XALAN_ELEMLITERALRESULT_HEADER_GUARD 
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include <xalanc/XSLT/XSLTDefinitions.hpp>
00023 
00024 
00025 
00026 // Base class header file.
00027 #include <xalanc/XSLT/ElemUse.hpp>
00028 
00029 
00030 
00031 XALAN_CPP_NAMESPACE_BEGIN
00032 
00033 
00034 
00035 class AVT;
00036 
00037 
00038 
00039 class ElemLiteralResult: public ElemUse
00040 {
00041 public:
00042 
00053     ElemLiteralResult(
00054             StylesheetConstructionContext&  constructionContext,
00055             Stylesheet&                     stylesheetTree,
00056             const XalanDOMChar*             name,
00057             const AttributeListType&        atts,
00058             int                             lineNumber,
00059             int                             columnNumber);
00060 
00061     virtual
00062     ~ElemLiteralResult();
00063 
00064     // These methods are inherited from ElemUse ...
00065 
00066     virtual const XalanDOMString&
00067     getElementName() const;
00068 
00069     virtual void
00070     postConstruction(
00071             StylesheetConstructionContext&  constructionContext,
00072             const NamespacesHandler&        theParentHandler);
00073 
00074     virtual bool
00075     isAttrOK(
00076             const XalanDOMChar*             attrName,
00077             const AttributeListType&        atts,
00078             int                             which,
00079             StylesheetConstructionContext&  constructionContext) const;
00080 
00081     virtual void
00082     execute(StylesheetExecutionContext&     executionContext) const;
00083 
00084 protected:
00085 
00094     void
00095     init(
00096             StylesheetConstructionContext&  constructionContext,
00097             Stylesheet&                     stylesheetTree,
00098             const XalanDOMChar*             name,
00099             const AttributeListType&        atts);
00100 
00112     ElemLiteralResult(
00113             StylesheetConstructionContext&  constructionContext,
00114             Stylesheet&                     stylesheetTree,
00115             const XalanDOMChar*             name,
00116             const AttributeListType&        atts,
00117             int                             lineNumber,
00118             int                             columnNumber,
00119             int                             xslToken);
00120 
00121     virtual void
00122     namespacesPostConstruction(
00123             StylesheetConstructionContext&  constructionContext,
00124             const NamespacesHandler&        theParentHandler,
00125             NamespacesHandler&              theHandler);
00126 
00127 private:
00128 
00129     // not implemented
00130     ElemLiteralResult(const ElemLiteralResult &);
00131 
00132     ElemLiteralResult&
00133     operator=(const ElemLiteralResult&);
00134 
00135 
00139     const XalanDOMString&   m_elementName;
00140 
00144     const AVT**             m_avts;
00145 
00149     unsigned int            m_avtsCount;
00150 };
00151 
00152 
00153 
00154 XALAN_CPP_NAMESPACE_END
00155 
00156 
00157 
00158 #endif  // XALAN_ELEMLITERALRESULT_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.