Xalan-C++ API Reference  1.12.0
XalanSourceTreeHelper.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 #if !defined(XALANSOURCETREEHELPER_HEADER_GUARD_1357924680)
19 #define XALANSOURCETREEHELPER_HEADER_GUARD_1357924680
20 
21 
22 
24 
25 
26 
28 
29 
30 
31 namespace XALAN_CPP_NAMESPACE {
32 
33 
34 
35 class XalanNode;
36 class XalanSourceTreeComment;
37 class XalanSourceTreeDocument;
38 class XalanSourceTreeDocumentFragment;
39 class XalanSourceTreeElement;
40 class XalanSourceTreeProcessingInstruction;
41 class XalanSourceTreeText;
42 
43 
44 
46 {
47 public:
48 
49  static XalanNode*
50  getLastSibling(XalanNode* theNode);
51 
52  static void
53  appendSibling(
54  XalanSourceTreeDocument* theDocument,
55  XalanNode*& theNextSiblingSlot,
56  XalanNode* theNewSibling);
57 
58  static void
59  appendSibling(
60  XalanSourceTreeComment* theNode,
61  XalanNode*& theNextSiblingSlot,
62  XalanNode* theNewSibling);
63 
64  static void
65  appendSibling(
66  XalanSourceTreeElement* theNode,
67  XalanNode*& theNextSiblingSlot,
68  XalanNode* theNewSibling);
69 
70  static void
71  appendSibling(
73  XalanNode*& theNextSiblingSlot,
74  XalanNode* theNewSibling);
75 
76  static void
77  appendSibling(
78  XalanSourceTreeText* theNode,
79  XalanNode*& theNextSiblingSlot,
80  XalanNode* theNewSibling);
81 
82  // New appendSibling interfaces...
83  static void
84  appendSibling(
85  XalanNode* theLastSibling,
86  XalanSourceTreeComment* theNewLastSibling);
87 
88  static void
89  appendSibling(
90  XalanNode* theLastSibling,
91  XalanSourceTreeElement* theNewLastSibling);
92 
93  static void
94  appendSibling(
95  XalanNode* theLastSibling,
96  XalanSourceTreeProcessingInstruction* theNewLastSibling);
97 
98  static void
99  appendSibling(
100  XalanNode* theLastSibling,
101  XalanSourceTreeText* theNewLastSibling);
102 
103 
104  static void
105  appendSiblingToChild(
106  XalanSourceTreeElement* theOwnerElement,
107  XalanNode*& theFirstChildSlot,
108  XalanSourceTreeComment* theNewSibling);
109 
110 
111  static void
112  appendSiblingToChild(
113  XalanSourceTreeElement* theOwnerElement,
114  XalanNode*& theFirstChildSlot,
115  XalanSourceTreeElement* theNewSibling);
116 
117  static void
118  appendSiblingToChild(
119  XalanSourceTreeElement* theOwnerElement,
120  XalanNode*& theFirstChildSlot,
121  XalanSourceTreeProcessingInstruction* theNewSibling);
122 
123  static void
124  appendSiblingToChild(
125  XalanSourceTreeElement* theOwnerElement,
126  XalanNode*& theFirstChildSlot,
127  XalanSourceTreeText* theNewSibling);
128 
129  static void
130  appendSiblingToChild(
131  XalanSourceTreeDocumentFragment* theOwnerDocumentFragment,
132  XalanNode*& theFirstChildSlot,
133  XalanSourceTreeComment* theNewSibling);
134 
135  static void
136  appendSiblingToChild(
137  XalanSourceTreeDocumentFragment* theOwnerDocumentFragment,
138  XalanNode*& theFirstChildSlot,
139  XalanSourceTreeElement* theNewSibling);
140 
141  static void
142  appendSiblingToChild(
143  XalanSourceTreeDocumentFragment* theOwnerDocumentFragment,
144  XalanNode*& theFirstChildSlot,
145  XalanSourceTreeProcessingInstruction* theNewSibling);
146 
147  static void
148  appendSiblingToChild(
149  XalanSourceTreeDocumentFragment* theOwnerDocumentFragment,
150  XalanNode*& theFirstChildSlot,
151  XalanSourceTreeText* theNewSibling);
152 
153 private:
154 
155  // Not implemented...
157 
159 };
160 
161 
162 
163 }
164 
165 
166 
167 #endif // !defined(XALANSOURCETREEHELPER_HEADER_GUARD_1357924680)
xalanc::XalanSourceTreeDocumentFragment
Definition: XalanSourceTreeDocumentFragment.hpp:49
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XalanNode
Definition: XalanNode.hpp:38
XalanDOMString.hpp
xalanc::XalanSourceTreeComment
Definition: XalanSourceTreeComment.hpp:47
XalanSourceTreeDefinitions.hpp
xalanc::XalanSourceTreeText
Definition: XalanSourceTreeText.hpp:46
XALAN_XALANSOURCETREE_EXPORT
#define XALAN_XALANSOURCETREE_EXPORT
Definition: XalanSourceTreeDefinitions.hpp:35
xalanc::XalanSourceTreeElement
Definition: XalanSourceTreeElement.hpp:46
xalanc::XalanSourceTreeHelper
Definition: XalanSourceTreeHelper.hpp:45
xalanc::XalanSourceTreeDocument
Definition: XalanSourceTreeDocument.hpp:78
xalanc::XalanSourceTreeProcessingInstruction
Definition: XalanSourceTreeProcessingInstruction.hpp:47