## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.10

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# 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 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
    00082     virtual const ElemTemplateElement*
    00083     startElement(StylesheetExecutionContext&        executionContext) const;
    00084
    00085     virtual void
    00086     endElement(StylesheetExecutionContext&      executionContext) const;
    00087
    00088     virtual void
    00089     evaluateAVTs(StylesheetExecutionContext&    executionContext) const;
    00090 #else
    00091     virtual void
    00092     execute(StylesheetExecutionContext&     executionContext) const;
    00093 #endif
    00094
    00095 protected:
    00096
    00105     void
    00106     init(
    00107             StylesheetConstructionContext&  constructionContext,
    00108             Stylesheet&                     stylesheetTree,
    00109             const XalanDOMChar*             name,
    00110             const AttributeListType&        atts);
    00111
    00123     ElemLiteralResult(
    00124             StylesheetConstructionContext&  constructionContext,
    00125             Stylesheet&                     stylesheetTree,
    00126             const XalanDOMChar*             name,
    00127             const AttributeListType&        atts,
    00128             int                             lineNumber,
    00129             int                             columnNumber,
    00130             int                             xslToken);
    00131
    00132     virtual void
    00133     namespacesPostConstruction(
    00134             StylesheetConstructionContext&  constructionContext,
    00135             const NamespacesHandler&        theParentHandler,
    00136             NamespacesHandler&              theHandler);
    00137
    00138 private:
    00139
    00140     // not implemented
    00141     ElemLiteralResult(const ElemLiteralResult &);
    00142
    00143     ElemLiteralResult&
    00144     operator=(const ElemLiteralResult&);
    00145
    00146
    00150     const XalanDOMString&   m_elementName;
    00151
    00155     const AVT**             m_avts;
    00156
    00160     unsigned int            m_avtsCount;
    00161 };
    00162
    00163
    00164
    00165 XALAN_CPP_NAMESPACE_END
    00166
    00167
    00168
    00169 #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.10 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.