/*
 * Copyright 2004-2011 the Seasar Foundation and the Others.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 * either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */
package org.seasar.teeda.core.mock;

import java.io.IOException;

import javax.servlet.jsp.JspWriter;

/**
 * @author yone
 */
public class MockJspWriter extends JspWriter {

    public MockJspWriter() {
        super(0, true);
    }

    public void newLine() throws IOException {
    }

    public void print(boolean arg0) throws IOException {
    }

    public void print(char arg0) throws IOException {
    }

    public void print(int arg0) throws IOException {
    }

    public void print(long arg0) throws IOException {
    }

    public void print(float arg0) throws IOException {
    }

    public void print(double arg0) throws IOException {
    }

    public void print(char[] arg0) throws IOException {
    }

    public void print(String arg0) throws IOException {
    }

    public void print(Object arg0) throws IOException {
    }

    public void println() throws IOException {
    }

    public void println(boolean arg0) throws IOException {
    }

    public void println(char arg0) throws IOException {
    }

    public void println(int arg0) throws IOException {
    }

    public void println(long arg0) throws IOException {
    }

    public void println(float arg0) throws IOException {
    }

    public void println(double arg0) throws IOException {
    }

    public void println(char[] arg0) throws IOException {
    }

    public void println(String arg0) throws IOException {
    }

    public void println(Object arg0) throws IOException {
    }

    public void clear() throws IOException {
    }

    public void clearBuffer() throws IOException {
    }

    public void flush() throws IOException {
    }

    public void close() throws IOException {
    }

    public int getRemaining() {
        return 0;
    }

    public void write(char[] cbuf, int off, int len) throws IOException {
    }

    public void write(String s) throws IOException {
        //System.out.println(s);
    }
}
