00001 /* 00002 * Copyright 1999-2005 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #if !defined(XALANDUMMYIDENTWRITER_HEADER_GUARD_1357924680) 00017 #define XALANDUMMYIDENTWRITER_HEADER_GUARD_1357924680 00018 00019 00020 // Base include file. Must be first. 00021 #include <xalanc/XMLSupport/XMLSupportDefinitions.hpp> 00022 00023 #include <xalanc/Include/XalanVector.hpp> 00024 00025 00026 XALAN_CPP_NAMESPACE_BEGIN 00027 00028 00029 template<class WriteHandeler> 00030 class XalanDummyIndentWriter 00031 { 00032 public: 00033 typedef typename WriteHandeler::size_type size_type; 00034 typedef typename WriteHandeler::value_type value_type; 00035 00036 XalanDummyIndentWriter( 00037 WriteHandeler& /*writer*/, 00038 size_type /*ident*/) 00039 { 00040 } 00041 00042 ~XalanDummyIndentWriter() 00043 { 00044 } 00045 00046 00047 void 00048 setIndent(size_type /*value*/) 00049 { 00050 } 00051 00052 size_type 00053 getIndent()const 00054 { 00055 return 0; 00056 } 00057 00058 void 00059 indent() 00060 { 00061 } 00062 00063 void 00064 increaseIndent() 00065 { 00066 } 00067 00068 void 00069 decreaseIndent() 00070 { 00071 } 00072 00073 void 00074 setStartNewLine(bool /*value*/) 00075 { 00076 } 00077 00078 00079 00083 void 00084 outputLineSep() 00085 { 00086 } 00087 00088 void 00089 setPrevText(bool /*value*/) 00090 { 00091 00092 } 00093 00094 void 00095 setPreserve(bool /*value*/) 00096 { 00097 // Empty of the function 00098 } 00099 00100 void 00101 pop_preserve() 00102 { 00103 // Empty body of the function 00104 } 00105 00106 void 00107 push_preserve() 00108 { 00109 // Empty of the function 00110 } 00111 00112 private: 00113 00114 00115 00116 }; 00117 00118 XALAN_CPP_NAMESPACE_END 00119 00120 00121 00122 #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.10 |
|