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(XALANDUMMYIDENTWRITER_HEADER_GUARD_1357924680) 00019 #define XALANDUMMYIDENTWRITER_HEADER_GUARD_1357924680 00020 00021 00022 // Base include file. Must be first. 00023 #include <xalanc/XMLSupport/XMLSupportDefinitions.hpp> 00024 00025 #include <xalanc/Include/XalanVector.hpp> 00026 00027 00028 XALAN_CPP_NAMESPACE_BEGIN 00029 00030 00031 template<class WriteHandeler> 00032 class XalanDummyIndentWriter 00033 { 00034 public: 00035 typedef typename WriteHandeler::size_type size_type; 00036 typedef typename WriteHandeler::value_type value_type; 00037 00038 XalanDummyIndentWriter( 00039 WriteHandeler& /*writer*/, 00040 size_type /*ident*/) 00041 { 00042 } 00043 00044 ~XalanDummyIndentWriter() 00045 { 00046 } 00047 00048 00049 void 00050 setIndent(size_type /*value*/) 00051 { 00052 } 00053 00054 size_type 00055 getIndent()const 00056 { 00057 return 0; 00058 } 00059 00060 void 00061 indent() 00062 { 00063 } 00064 00065 void 00066 increaseIndent() 00067 { 00068 } 00069 00070 void 00071 decreaseIndent() 00072 { 00073 } 00074 00075 void 00076 setStartNewLine(bool /*value*/) 00077 { 00078 } 00079 00080 00081 00082 /** 00083 * Output a line break. 00084 */ 00085 void 00086 outputLineSep() 00087 { 00088 } 00089 00090 void 00091 setPrevText(bool /*value*/) 00092 { 00093 00094 } 00095 00096 void 00097 setPreserve(bool /*value*/) 00098 { 00099 // Empty of the function 00100 } 00101 00102 void 00103 pop_preserve() 00104 { 00105 // Empty body of the function 00106 } 00107 00108 void 00109 push_preserve() 00110 { 00111 // Empty of the function 00112 } 00113 00114 private: 00115 00116 00117 00118 }; 00119 00120 XALAN_CPP_NAMESPACE_END 00121 00122 00123 00124 #endif // XALANDUMMYIDENTWRITER_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 |
|