home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2000 November / APCD25112k.iso / feature / webserv / SAMBAR43.ZIP / _SETUP.1 / javaeng.jar / javax / servlet / jsp / JspWriter.mjw < prev    next >
Encoding:
Text File  |  2000-04-03  |  4.9 KB  |  278 lines

  1. /*
  2.  * JspWriter.java -- XXX
  3.  *
  4.  * Copyright (c) 1999 by Free Software Foundation, Inc.
  5.  * Written by Mark Wielaard (mark@klomp.org)
  6.  *
  7.  * This program is free software; you can redistribute it and/or modify
  8.  * it under the terms of the GNU Library General Public License as published
  9.  * by the Free Software Foundation, version 2. (see COPYING.LIB)
  10.  *
  11.  * This program is distributed in the hope that it will be useful, but
  12.  * WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software Foundation
  18.  * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307 USA
  19.  */
  20.  
  21. package javax.servlet.jsp;
  22.  
  23. import java.io.IOException;
  24.  
  25. /**
  26.  * XXX
  27.  */
  28. public abstract class JspWriter {
  29.  
  30.     /**
  31.      * XXX
  32.      *
  33.      * @exception IOException if an error occurs
  34.      * @exception IllegalStateException XXX
  35.      */
  36.     void clear() throws IOException, IllegalStateException;
  37.  
  38.     /**
  39.      * XXX
  40.      *
  41.      * @exception IOException if an error occurs
  42.      */
  43.     void close() throws IOException;
  44.  
  45.     /**
  46.      * XXX
  47.      *
  48.      * @exception IOException if an error occurs
  49.      */
  50.     void flush() throws IOException;
  51.  
  52.     /**
  53.      * XXX
  54.      *
  55.      * @return XXX
  56.      */
  57.     int getBufferSize();
  58.  
  59.     /**
  60.      * XXX
  61.      *
  62.      * @return XXX
  63.      */
  64.     int getRemainingSize();
  65.  
  66.     /**
  67.      * XXX
  68.      *
  69.      * @return XXX
  70.      */
  71.     boolean isAutoFlush();
  72.  
  73.     /**
  74.      * XXX
  75.      *
  76.      * @exception IOException if an error occurs
  77.      */
  78.     void newLine() throws IOException;
  79.  
  80.     /**
  81.      * XXX
  82.      *
  83.      * @param b XXX
  84.      * @throws IOException if an error occurs
  85.      */
  86.     void print(boolean b) throws IOException;
  87.  
  88.     /**
  89.      * XXX
  90.      *
  91.      * @param c XXX
  92.      * @throws IOException if an error occurs
  93.      */
  94.     void print(char c) throws IOException;
  95.  
  96.     /**
  97.      * XXX
  98.      *
  99.      * @param cb XXX
  100.      * @throws IOException if an error occurs
  101.      */
  102.     void print(char[] cb) throws IOException;
  103.  
  104.     /**
  105.      * XXX
  106.      *
  107.      * @param d XXX
  108.      * @throws IOException if an error occurs
  109.      */
  110.     void print(double d) throws IOException;
  111.  
  112.     /**
  113.      * XXX
  114.      *
  115.      * @param f XXX
  116.      * @throws IOException if an error occurs
  117.      */
  118.     void print(float f) throws IOException;
  119.  
  120.     /**
  121.      * XXX
  122.      *
  123.      * @param i XXX
  124.      * @throws IOException if an error occurs
  125.      */
  126.     void print(int i) throws IOException;
  127.  
  128.     /**
  129.      * XXX
  130.      *
  131.      * @param l XXX
  132.      * @throws IOException if an error occurs
  133.      */
  134.     void print(long l) throws IOException;
  135.  
  136.     /**
  137.      * XXX
  138.      *
  139.      * @param o XXX
  140.      * @throws IOException if an error occurs
  141.      */
  142.     void print(Object o) throws IOException;
  143.  
  144.     /**
  145.      * XXX
  146.      *
  147.      * @param s XXX
  148.      * @throws IOException if an error occurs
  149.      */
  150.     void print(String s) throws IOException;
  151.  
  152.     /**
  153.      * XXX
  154.      *
  155.      * @exception IOException if an error occurs
  156.      */
  157.     void println() throws IOException;
  158.  
  159.     /**
  160.      * XXX
  161.      *
  162.      * @param b XXX
  163.      * @throws IOException if an error occurs
  164.      */
  165.     void println(boolean b) throws IOException;
  166.  
  167.     /**
  168.      * XXX
  169.      *
  170.      * @param c XXX
  171.      * @throws IOException if an error occurs
  172.      */
  173.     void println(char c) throws IOException;
  174.  
  175.     /**
  176.      * XXX
  177.      *
  178.      * @param cb XXX
  179.      * @throws IOException if an error occurs
  180.      */
  181.     void println(char[] cb) throws IOException;
  182.  
  183.     /**
  184.      * XXX
  185.      *
  186.      * @param d XXX
  187.      * @throws IOException if an error occurs
  188.      */
  189.     void println(double d) throws IOException;
  190.  
  191.     /**
  192.      * XXX
  193.      *
  194.      * @param f XXX
  195.      * @throws IOException if an error occurs
  196.      */
  197.     void println(float f) throws IOException;
  198.  
  199.     /**
  200.      * XXX
  201.      *
  202.      * @param i XXX
  203.      * @throws IOException if an error occurs
  204.      */
  205.     void println(int i) throws IOException;
  206.  
  207.     /**
  208.      * XXX
  209.      *
  210.      * @param l XXX
  211.      * @throws IOException if an error occurs
  212.      */
  213.     void println(long l) throws IOException;
  214.  
  215.     /**
  216.      * XXX
  217.      *
  218.      * @param o XXX
  219.      * @throws IOException if an error occurs
  220.      */
  221.     void println(Object o) throws IOException;
  222.  
  223.     /**
  224.      * XXX
  225.      *
  226.      * @param s XXX
  227.      * @throws IOException if an error occurs
  228.      */
  229.     void println(String s) throws IOException;
  230.  
  231.     /**
  232.      * XXX
  233.      *
  234.      * @param cb XXX
  235.      * @exception IOException if an error occurs
  236.      */
  237.     void write(char[] cb) throws IOException;
  238.  
  239.     /**
  240.      * XXX
  241.      *
  242.      * @param cb XXX
  243.      * @param off XXX
  244.      * @param len XXX
  245.      * @exception IOException if an error occurs
  246.      */
  247.     void write(char[] cb, int off, int len) throws IOException;
  248.  
  249.     /**
  250.      * XXX
  251.      *
  252.      * @param c XXX
  253.      * @exception IOException if an error occurs
  254.      */
  255.     void write(int c) throws IOException;
  256.  
  257.     /**
  258.      * XXX
  259.      *
  260.      * @param s XXX
  261.      * @exception IOException if an error occurs
  262.      */
  263.     void write(String s) throws IOException;
  264.  
  265.     /**
  266.      * XXX
  267.      *
  268.      * @param s XXX
  269.      * @param off XXX
  270.      * @param len XXX
  271.      * @exception IOException if an error occurs
  272.      */
  273.     void write(String s, int off, int len) throws IOException;
  274.  
  275. }
  276.  
  277.  
  278.