001: /*
002: * Version: MPL 1.1/GPL 2.0/LGPL 2.1
003: *
004: * "The contents of this file are subject to the Mozilla Public License
005: * Version 1.1 (the "License"); you may not use this file except in
006: * compliance with the License. You may obtain a copy of the License at
007: * http://www.mozilla.org/MPL/
008: *
009: * Software distributed under the License is distributed on an "AS IS"
010: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
011: * License for the specific language governing rights and limitations under
012: * the License.
013: *
014: * The Original Code is ICEfaces 1.5 open source software code, released
015: * November 5, 2006. The Initial Developer of the Original Code is ICEsoft
016: * Technologies Canada, Corp. Portions created by ICEsoft are Copyright (C)
017: * 2004-2006 ICEsoft Technologies Canada, Corp. All Rights Reserved.
018: *
019: * Contributor(s): _____________________.
020: *
021: * Alternatively, the contents of this file may be used under the terms of
022: * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"
023: * License), in which case the provisions of the LGPL License are
024: * applicable instead of those above. If you wish to allow use of your
025: * version of this file only under the terms of the LGPL License and not to
026: * allow others to use your version of this file under the MPL, indicate
027: * your decision by deleting the provisions above and replace them with
028: * the notice and other provisions required by the LGPL License. If you do
029: * not delete the provisions above, a recipient may use your version of
030: * this file under either the MPL or the LGPL License."
031: *
032: */
033:
034: package com.icesoft.faces.webapp.parser;
035:
036: import javax.servlet.jsp.JspWriter;
037: import java.io.IOException;
038:
039: /**
040: * This is a stubbed out version of the JspWriter. Only the mimimum number of
041: * members required to support the parser are implemented.
042: */
043: public class StubJspWriter extends JspWriter {
044:
045: protected StubJspWriter(int bufferSize, boolean autoFlush) {
046: super (bufferSize, autoFlush);
047: }
048:
049: /*
050: * @see javax.servlet.jsp.JspWriter#getRemaining()
051: */
052: public int getRemaining() {
053: throw new UnsupportedOperationException();
054: }
055:
056: /*
057: * @see javax.servlet.jsp.JspWriter#clear()
058: */
059: public void clear() throws IOException {
060: throw new UnsupportedOperationException();
061: }
062:
063: /*
064: * @see javax.servlet.jsp.JspWriter#clearBuffer()
065: */
066: public void clearBuffer() throws IOException {
067: throw new UnsupportedOperationException();
068: }
069:
070: /*
071: * @see javax.servlet.jsp.JspWriter#close()
072: */
073: public void close() throws IOException {
074: throw new UnsupportedOperationException();
075: }
076:
077: /*
078: * @see javax.servlet.jsp.JspWriter#flush()
079: */
080: public void flush() throws IOException {
081: throw new UnsupportedOperationException();
082: }
083:
084: /*
085: * @see javax.servlet.jsp.JspWriter#newLine()
086: */
087: public void newLine() throws IOException {
088: throw new UnsupportedOperationException();
089: }
090:
091: /*
092: * @see javax.servlet.jsp.JspWriter#println()
093: */
094: public void println() throws IOException {
095: throw new UnsupportedOperationException();
096: }
097:
098: /*
099: * @see javax.servlet.jsp.JspWriter#print(char)
100: */
101: public void print(char arg0) throws IOException {
102: throw new UnsupportedOperationException();
103: }
104:
105: /*
106: * @see javax.servlet.jsp.JspWriter#println(char)
107: */
108: public void println(char arg0) throws IOException {
109: throw new UnsupportedOperationException();
110: }
111:
112: /*
113: * @see javax.servlet.jsp.JspWriter#print(double)
114: */
115: public void print(double arg0) throws IOException {
116: throw new UnsupportedOperationException();
117: }
118:
119: /*
120: * @see javax.servlet.jsp.JspWriter#println(double)
121: */
122: public void println(double arg0) throws IOException {
123: throw new UnsupportedOperationException();
124: }
125:
126: /*
127: * @see javax.servlet.jsp.JspWriter#print(float)
128: */
129: public void print(float arg0) throws IOException {
130: throw new UnsupportedOperationException();
131: }
132:
133: /*
134: * @see javax.servlet.jsp.JspWriter#println(float)
135: */
136: public void println(float arg0) throws IOException {
137: throw new UnsupportedOperationException();
138: }
139:
140: /*
141: * @see javax.servlet.jsp.JspWriter#print(int)
142: */
143: public void print(int arg0) throws IOException {
144: throw new UnsupportedOperationException();
145: }
146:
147: /*
148: * @see javax.servlet.jsp.JspWriter#println(int)
149: */
150: public void println(int arg0) throws IOException {
151: throw new UnsupportedOperationException();
152: }
153:
154: /*
155: * @see javax.servlet.jsp.JspWriter#print(long)
156: */
157: public void print(long arg0) throws IOException {
158: throw new UnsupportedOperationException();
159: }
160:
161: /*
162: * @see javax.servlet.jsp.JspWriter#println(long)
163: */
164: public void println(long arg0) throws IOException {
165: throw new UnsupportedOperationException();
166: }
167:
168: /*
169: * @see javax.servlet.jsp.JspWriter#print(boolean)
170: */
171: public void print(boolean arg0) throws IOException {
172: throw new UnsupportedOperationException();
173: }
174:
175: /*
176: * @see javax.servlet.jsp.JspWriter#println(boolean)
177: */
178: public void println(boolean arg0) throws IOException {
179: throw new UnsupportedOperationException();
180: }
181:
182: /*
183: * @see javax.servlet.jsp.JspWriter#print(char[])
184: */
185: public void print(char[] arg0) throws IOException {
186: throw new UnsupportedOperationException();
187: }
188:
189: /*
190: * @see javax.servlet.jsp.JspWriter#println(char[])
191: */
192: public void println(char[] arg0) throws IOException {
193: throw new UnsupportedOperationException();
194: }
195:
196: /*
197: * @see javax.servlet.jsp.JspWriter#print(java.lang.Object)
198: */
199: public void print(Object arg0) throws IOException {
200: throw new UnsupportedOperationException();
201: }
202:
203: /*
204: * @see javax.servlet.jsp.JspWriter#println(java.lang.Object)
205: */
206: public void println(Object arg0) throws IOException {
207: throw new UnsupportedOperationException();
208: }
209:
210: /*
211: * @see javax.servlet.jsp.JspWriter#print(java.lang.String)
212: */
213: public void print(String arg0) throws IOException {
214: throw new UnsupportedOperationException();
215: }
216:
217: /*
218: * @see javax.servlet.jsp.JspWriter#println(java.lang.String)
219: */
220: public void println(String arg0) throws IOException {
221: throw new UnsupportedOperationException();
222: }
223:
224: /*
225: * @see java.io.Writer#write(char[], int, int)
226: */
227: public void write(char[] arg0, int arg1, int arg2)
228: throws IOException {
229: throw new UnsupportedOperationException();
230: }
231: }
|