Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

FormatterTreeWalker.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(FORMATTERTREEWALKER_HEADER_GUARD_1357924680)
17 #define FORMATTERTREEWALKER_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
25 
27 
28 
29 
30 XALAN_CPP_NAMESPACE_BEGIN
31 
32 
33 
34 class FormatterListener;
35 
36 
37 
39 {
40 public:
41 
48  FormatterTreeWalker(FormatterListener& formatterListener,
50 
51  virtual
53 
54 protected:
55 
56  virtual bool
57  startNode(const XalanNode* node);
58 
59  virtual bool
60  startNode(XalanNode* node);
61 
62  virtual bool
63  endNode(const XalanNode* node);
64 
65  virtual bool
66  endNode(XalanNode* node);
67 
68 private:
69 
70  FormatterListener& m_formatterListener;
71 
72  MemoryManagerType& m_memoryManager;
73 };
74 
75 
76 
77 XALAN_CPP_NAMESPACE_END
78 
79 
80 
81 #endif // FORMATTERTREEWALKER_HEADER_GUARD_1357924680
Definition: XalanNode.hpp:44
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: FormatterTreeWalker.hpp:38
#define XALAN_DEFAULT_MEMMGR
Definition: XalanMemoryManagement.hpp:402
A SAX-based formatter interface for the XSL processor.
Definition: FormatterListener.hpp:62
#define XALAN_XMLSUPPORT_EXPORT
Definition: XMLSupportDefinitions.hpp:33
Definition: TreeWalker.hpp:34
virtual bool startNode(const XalanNode *node)=0
Called when first walking a node.
virtual bool endNode(const XalanNode *node)=0
Called when leaving a node.

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