00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one 00003 * or more contributor license agreements. See the NOTICE file 00004 * distributed with this work for additional information 00005 * regarding copyright ownership. The ASF licenses this file 00006 * to you under the Apache License, Version 2.0 (the "License"); 00007 * you may not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 #if !defined(XALANSOURCETREEHELPER_HEADER_GUARD_1357924680) 00019 #define XALANSOURCETREEHELPER_HEADER_GUARD_1357924680 00020 00021 00022 00023 #include <xalanc/XalanSourceTree/XalanSourceTreeDefinitions.hpp> 00024 00025 00026 00027 #include <xalanc/XalanDOM/XalanDOMString.hpp> 00028 00029 00030 00031 XALAN_CPP_NAMESPACE_BEGIN 00032 00033 00034 00035 class XalanNode; 00036 class XalanSourceTreeComment; 00037 class XalanSourceTreeDocument; 00038 class XalanSourceTreeDocumentFragment; 00039 class XalanSourceTreeElement; 00040 class XalanSourceTreeProcessingInstruction; 00041 class XalanSourceTreeText; 00042 00043 00044 00045 class XALAN_XALANSOURCETREE_EXPORT XalanSourceTreeHelper 00046 { 00047 public: 00048 00049 static XalanNode* 00050 getLastSibling(XalanNode* theNode); 00051 00052 static void 00053 appendSibling( 00054 XalanSourceTreeDocument* theDocument, 00055 XalanNode*& theNextSiblingSlot, 00056 XalanNode* theNewSibling); 00057 00058 static void 00059 appendSibling( 00060 XalanSourceTreeComment* theNode, 00061 XalanNode*& theNextSiblingSlot, 00062 XalanNode* theNewSibling); 00063 00064 static void 00065 appendSibling( 00066 XalanSourceTreeElement* theNode, 00067 XalanNode*& theNextSiblingSlot, 00068 XalanNode* theNewSibling); 00069 00070 static void 00071 appendSibling( 00072 XalanSourceTreeProcessingInstruction* theNode, 00073 XalanNode*& theNextSiblingSlot, 00074 XalanNode* theNewSibling); 00075 00076 static void 00077 appendSibling( 00078 XalanSourceTreeText* theNode, 00079 XalanNode*& theNextSiblingSlot, 00080 XalanNode* theNewSibling); 00081 00082 // New appendSibling interfaces... 00083 static void 00084 appendSibling( 00085 XalanNode* theLastSibling, 00086 XalanSourceTreeComment* theNewLastSibling); 00087 00088 static void 00089 appendSibling( 00090 XalanNode* theLastSibling, 00091 XalanSourceTreeElement* theNewLastSibling); 00092 00093 static void 00094 appendSibling( 00095 XalanNode* theLastSibling, 00096 XalanSourceTreeProcessingInstruction* theNewLastSibling); 00097 00098 static void 00099 appendSibling( 00100 XalanNode* theLastSibling, 00101 XalanSourceTreeText* theNewLastSibling); 00102 00103 00104 static void 00105 appendSiblingToChild( 00106 XalanSourceTreeElement* theOwnerElement, 00107 XalanNode*& theFirstChildSlot, 00108 XalanSourceTreeComment* theNewSibling); 00109 00110 00111 static void 00112 appendSiblingToChild( 00113 XalanSourceTreeElement* theOwnerElement, 00114 XalanNode*& theFirstChildSlot, 00115 XalanSourceTreeElement* theNewSibling); 00116 00117 static void 00118 appendSiblingToChild( 00119 XalanSourceTreeElement* theOwnerElement, 00120 XalanNode*& theFirstChildSlot, 00121 XalanSourceTreeProcessingInstruction* theNewSibling); 00122 00123 static void 00124 appendSiblingToChild( 00125 XalanSourceTreeElement* theOwnerElement, 00126 XalanNode*& theFirstChildSlot, 00127 XalanSourceTreeText* theNewSibling); 00128 00129 static void 00130 appendSiblingToChild( 00131 XalanSourceTreeDocumentFragment* theOwnerDocumentFragment, 00132 XalanNode*& theFirstChildSlot, 00133 XalanSourceTreeComment* theNewSibling); 00134 00135 static void 00136 appendSiblingToChild( 00137 XalanSourceTreeDocumentFragment* theOwnerDocumentFragment, 00138 XalanNode*& theFirstChildSlot, 00139 XalanSourceTreeElement* theNewSibling); 00140 00141 static void 00142 appendSiblingToChild( 00143 XalanSourceTreeDocumentFragment* theOwnerDocumentFragment, 00144 XalanNode*& theFirstChildSlot, 00145 XalanSourceTreeProcessingInstruction* theNewSibling); 00146 00147 static void 00148 appendSiblingToChild( 00149 XalanSourceTreeDocumentFragment* theOwnerDocumentFragment, 00150 XalanNode*& theFirstChildSlot, 00151 XalanSourceTreeText* theNewSibling); 00152 00153 private: 00154 00155 // Not implemented... 00156 XalanSourceTreeHelper(); 00157 00158 XalanSourceTreeHelper(const XalanSourceTreeHelper&); 00159 }; 00160 00161 00162 00163 XALAN_CPP_NAMESPACE_END 00164 00165 00166 00167 #endif // !defined(XALANSOURCETREEHELPER_HEADER_GUARD_1357924680)
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|