Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

SelectionEvent.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(XALAN_SelectionEvent_HEADER_GUARD)
17 #define XALAN_SelectionEvent_HEADER_GUARD
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
27 
28 
29 
30 #include <xalanc/XPath/XObject.hpp>
31 
32 
33 
34 XALAN_CPP_NAMESPACE_BEGIN
35 
36 
37 
38 class XalanNode;
41 class XPath;
42 
43 
44 
46 {
47 public:
48 
61  StylesheetExecutionContext& executionContext,
62  const XalanNode* sourceNode,
63  const ElemTemplateElement& styleNode,
64  const XalanDOMString& attributeName,
65  const XPath& xpath,
66  const XObjectPtr selection);
67 
80  StylesheetExecutionContext& executionContext,
81  const XalanNode* sourceNode,
82  const ElemTemplateElement& styleNode,
83  const XalanDOMString& attributeName,
84  const XalanDOMString& xpathExpression,
85  const XObjectPtr selection);
86 
99  StylesheetExecutionContext& executionContext,
100  const XalanNode* sourceNode,
101  const ElemTemplateElement& styleNode,
102  const XalanDOMString& attributeName,
103  const XPath& xpath,
104  bool selection);
105 
118  StylesheetExecutionContext& executionContext,
119  const XalanNode* sourceNode,
120  const ElemTemplateElement& styleNode,
121  const XalanDOMString& attributeName,
122  const XPath& xpath,
123  const NodeRefListBase& selection);
124 
125  virtual
126  ~SelectionEvent();
127 
128  enum eSelectionType { eNone, eBoolean, eNodeSet, eUnknown };
129 
134 
139 
144 
149 
154 
161 
166 
167  bool m_boolean;
168 
170 
171 private:
172 
173  // Unimplemented...
175  operator=(const SelectionEvent& other);
176 };
177 
178 
179 
180 XALAN_CPP_NAMESPACE_END
181 
182 
183 
184 #endif //XALAN_SelectionEvent_HEADER_GUARD
const XObjectPtr m_selection
The result of the selection.
Definition: SelectionEvent.hpp:160
Definition: XalanNode.hpp:44
const StylesheetExecutionContext & m_executionContext
The executionContext instance.
Definition: SelectionEvent.hpp:133
Definition: ElemTemplateElement.hpp:74
const XalanDOMString & m_attributeName
The attribute name from which the selection is made.
Definition: SelectionEvent.hpp:148
Definition: StylesheetExecutionContext.hpp:104
Class to hold XObjectPtr return types.
Definition: XObject.hpp:584
Definition: XPath.hpp:62
eSelectionType
Definition: SelectionEvent.hpp:128
Local implementation of NodeRefList.
Definition: NodeRefListBase.hpp:42
const NodeRefListBase *const m_nodeList
Definition: SelectionEvent.hpp:169
const eSelectionType m_type
The type of the selection.
Definition: SelectionEvent.hpp:165
const ElemTemplateElement & m_styleNode
The node in the style tree where the event occurs.
Definition: SelectionEvent.hpp:143
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:25
const XalanNode * m_sourceNode
The current context node.
Definition: SelectionEvent.hpp:138
Definition: XalanDOMString.hpp:42
Definition: SelectionEvent.hpp:45
const XalanDOMString & m_xpathExpression
The XPath expression evaluated.
Definition: SelectionEvent.hpp:153
bool m_boolean
Definition: SelectionEvent.hpp:167

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo