## Xalan-C++ API Documentation

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

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

# SelectionEvent.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_SelectionEvent_HEADER_GUARD)
    00017 #define XALAN_SelectionEvent_HEADER_GUARD
    00018
    00019
    00020
    00021 // Base include file.  Must be first.
    00022 #include <xalanc/XSLT/XSLTDefinitions.hpp>
    00023
    00024
    00025
    00026 #include <xalanc/XalanDOM/XalanDOMString.hpp>
    00027
    00028
    00029
    00030 #include <xalanc/XPath/XObject.hpp>
    00031
    00032
    00033
    00034 XALAN_CPP_NAMESPACE_BEGIN
    00035
    00036
    00037
    00038 class XalanNode;
    00039 class ElemTemplateElement;
    00040 class StylesheetExecutionContext;
    00041 class XPath;
    00042
    00043
    00044
    00045 class XALAN_XSLT_EXPORT SelectionEvent
    00046 {
    00047 public:
    00048
    00060     SelectionEvent(
    00061             StylesheetExecutionContext&     executionContext,
    00062             const XalanNode*                sourceNode,
    00063             const ElemTemplateElement&      styleNode,
    00064             const XalanDOMString&           attributeName,
    00065             const XPath&                    xpath,
    00066             const XObjectPtr                selection);
    00067
    00079     SelectionEvent(
    00080             StylesheetExecutionContext&     executionContext,
    00081             const XalanNode*                sourceNode,
    00082             const ElemTemplateElement&      styleNode,
    00083             const XalanDOMString&           attributeName,
    00084             const XalanDOMString&           xpathExpression,
    00085             const XObjectPtr                selection);
    00086
    00098     SelectionEvent(
    00099             StylesheetExecutionContext&     executionContext,
    00100             const XalanNode*                sourceNode,
    00101             const ElemTemplateElement&      styleNode,
    00102             const XalanDOMString&           attributeName,
    00103             const XPath&                    xpath,
    00104             bool                            selection);
    00105
    00117     SelectionEvent(
    00118             StylesheetExecutionContext&     executionContext,
    00119             const XalanNode*                sourceNode,
    00120             const ElemTemplateElement&      styleNode,
    00121             const XalanDOMString&           attributeName,
    00122             const XPath&                    xpath,
    00123             const NodeRefListBase&          selection);
    00124
    00125     virtual
    00126     ~SelectionEvent();
    00127
    00128     enum eSelectionType { eNone, eBoolean, eNodeSet, eUnknown };
    00129
    00133     const StylesheetExecutionContext&   m_executionContext;
    00134
    00138     const XalanNode*                    m_sourceNode;
    00139
    00143     const ElemTemplateElement&          m_styleNode;
    00144
    00148     const XalanDOMString&               m_attributeName;
    00149
    00153     const XalanDOMString&               m_xpathExpression;
    00154
    00160     const XObjectPtr                    m_selection;
    00161
    00165     const eSelectionType                m_type;
    00166
    00167     bool                                m_boolean;
    00168
    00169     const NodeRefListBase* const        m_nodeList;
    00170
    00171 private:
    00172
    00173     // Unimplemented...
    00174     SelectionEvent&
    00175     operator=(const SelectionEvent& other);
    00176 };
    00177
    00178
    00179
    00180 XALAN_CPP_NAMESPACE_END
    00181
    00182
    00183
    00184 #endif  //XALAN_SelectionEvent_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.9 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.