KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > icesoft > faces > webapp > parser > StubJspWriter


1 /*
2  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  *
4  * "The contents of this file are subject to the Mozilla Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License at
7  * http://www.mozilla.org/MPL/
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
11  * License for the specific language governing rights and limitations under
12  * the License.
13  *
14  * The Original Code is ICEfaces 1.5 open source software code, released
15  * November 5, 2006. The Initial Developer of the Original Code is ICEsoft
16  * Technologies Canada, Corp. Portions created by ICEsoft are Copyright (C)
17  * 2004-2006 ICEsoft Technologies Canada, Corp. All Rights Reserved.
18  *
19  * Contributor(s): _____________________.
20  *
21  * Alternatively, the contents of this file may be used under the terms of
22  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"
23  * License), in which case the provisions of the LGPL License are
24  * applicable instead of those above. If you wish to allow use of your
25  * version of this file only under the terms of the LGPL License and not to
26  * allow others to use your version of this file under the MPL, indicate
27  * your decision by deleting the provisions above and replace them with
28  * the notice and other provisions required by the LGPL License. If you do
29  * not delete the provisions above, a recipient may use your version of
30  * this file under either the MPL or the LGPL License."
31  *
32  */

33
34 package com.icesoft.faces.webapp.parser;
35
36 import javax.servlet.jsp.JspWriter JavaDoc;
37 import java.io.IOException JavaDoc;
38
39 /**
40  * This is a stubbed out version of the JspWriter. Only the mimimum number of
41  * members required to support the parser are implemented.
42  */

43 public class StubJspWriter extends JspWriter JavaDoc {
44
45     protected StubJspWriter(int bufferSize, boolean autoFlush) {
46         super(bufferSize, autoFlush);
47     }
48
49     /*
50      * @see javax.servlet.jsp.JspWriter#getRemaining()
51      */

52     public int getRemaining() {
53         throw new UnsupportedOperationException JavaDoc();
54     }
55
56     /*
57      * @see javax.servlet.jsp.JspWriter#clear()
58      */

59     public void clear() throws IOException JavaDoc {
60         throw new UnsupportedOperationException JavaDoc();
61     }
62
63     /*
64      * @see javax.servlet.jsp.JspWriter#clearBuffer()
65      */

66     public void clearBuffer() throws IOException JavaDoc {
67         throw new UnsupportedOperationException JavaDoc();
68     }
69
70     /*
71      * @see javax.servlet.jsp.JspWriter#close()
72      */

73     public void close() throws IOException JavaDoc {
74         throw new UnsupportedOperationException JavaDoc();
75     }
76
77     /*
78      * @see javax.servlet.jsp.JspWriter#flush()
79      */

80     public void flush() throws IOException JavaDoc {
81         throw new UnsupportedOperationException JavaDoc();
82     }
83
84     /*
85      * @see javax.servlet.jsp.JspWriter#newLine()
86      */

87     public void newLine() throws IOException JavaDoc {
88         throw new UnsupportedOperationException JavaDoc();
89     }
90
91     /*
92      * @see javax.servlet.jsp.JspWriter#println()
93      */

94     public void println() throws IOException JavaDoc {
95         throw new UnsupportedOperationException JavaDoc();
96     }
97
98     /*
99      * @see javax.servlet.jsp.JspWriter#print(char)
100      */

101     public void print(char arg0) throws IOException JavaDoc {
102         throw new UnsupportedOperationException JavaDoc();
103     }
104
105     /*
106      * @see javax.servlet.jsp.JspWriter#println(char)
107      */

108     public void println(char arg0) throws IOException JavaDoc {
109         throw new UnsupportedOperationException JavaDoc();
110     }
111
112     /*
113      * @see javax.servlet.jsp.JspWriter#print(double)
114      */

115     public void print(double arg0) throws IOException JavaDoc {
116         throw new UnsupportedOperationException JavaDoc();
117     }
118
119     /*
120      * @see javax.servlet.jsp.JspWriter#println(double)
121      */

122     public void println(double arg0) throws IOException JavaDoc {
123         throw new UnsupportedOperationException JavaDoc();
124     }
125
126     /*
127      * @see javax.servlet.jsp.JspWriter#print(float)
128      */

129     public void print(float arg0) throws IOException JavaDoc {
130         throw new UnsupportedOperationException JavaDoc();
131     }
132
133     /*
134      * @see javax.servlet.jsp.JspWriter#println(float)
135      */

136     public void println(float arg0) throws IOException JavaDoc {
137         throw new UnsupportedOperationException JavaDoc();
138     }
139
140     /*
141      * @see javax.servlet.jsp.JspWriter#print(int)
142      */

143     public void print(int arg0) throws IOException JavaDoc {
144         throw new UnsupportedOperationException JavaDoc();
145     }
146
147     /*
148      * @see javax.servlet.jsp.JspWriter#println(int)
149      */

150     public void println(int arg0) throws IOException JavaDoc {
151         throw new UnsupportedOperationException JavaDoc();
152     }
153
154     /*
155      * @see javax.servlet.jsp.JspWriter#print(long)
156      */

157     public void print(long arg0) throws IOException JavaDoc {
158         throw new UnsupportedOperationException JavaDoc();
159     }
160
161     /*
162      * @see javax.servlet.jsp.JspWriter#println(long)
163      */

164     public void println(long arg0) throws IOException JavaDoc {
165         throw new UnsupportedOperationException JavaDoc();
166     }
167
168     /*
169      * @see javax.servlet.jsp.JspWriter#print(boolean)
170      */

171     public void print(boolean arg0) throws IOException JavaDoc {
172         throw new UnsupportedOperationException JavaDoc();
173     }
174
175     /*
176      * @see javax.servlet.jsp.JspWriter#println(boolean)
177      */

178     public void println(boolean arg0) throws IOException JavaDoc {
179         throw new UnsupportedOperationException JavaDoc();
180     }
181
182     /*
183      * @see javax.servlet.jsp.JspWriter#print(char[])
184      */

185     public void print(char[] arg0) throws IOException JavaDoc {
186         throw new UnsupportedOperationException JavaDoc();
187     }
188
189     /*
190      * @see javax.servlet.jsp.JspWriter#println(char[])
191      */

192     public void println(char[] arg0) throws IOException JavaDoc {
193         throw new UnsupportedOperationException JavaDoc();
194     }
195
196     /*
197      * @see javax.servlet.jsp.JspWriter#print(java.lang.Object)
198      */

199     public void print(Object JavaDoc arg0) throws IOException JavaDoc {
200         throw new UnsupportedOperationException JavaDoc();
201     }
202
203     /*
204      * @see javax.servlet.jsp.JspWriter#println(java.lang.Object)
205      */

206     public void println(Object JavaDoc arg0) throws IOException JavaDoc {
207         throw new UnsupportedOperationException JavaDoc();
208     }
209
210     /*
211      * @see javax.servlet.jsp.JspWriter#print(java.lang.String)
212      */

213     public void print(String JavaDoc arg0) throws IOException JavaDoc {
214         throw new UnsupportedOperationException JavaDoc();
215     }
216
217     /*
218      * @see javax.servlet.jsp.JspWriter#println(java.lang.String)
219      */

220     public void println(String JavaDoc arg0) throws IOException JavaDoc {
221         throw new UnsupportedOperationException JavaDoc();
222     }
223
224     /*
225      * @see java.io.Writer#write(char[], int, int)
226      */

227     public void write(char[] arg0, int arg1, int arg2) throws IOException JavaDoc {
228         throw new UnsupportedOperationException JavaDoc();
229     }
230 }
231
Popular Tags