英特內軟體股份有限公司


jcx.servlet.common
Class queryServlet

jcx.servlet.Servlet
  |
  +--jcx.servlet.common.htmlServlet
        |
        +--jcx.servlet.common.singleStepServlet
              |
              +--jcx.servlet.common.queryServlet

public abstract class queryServlet
extends singleStepServlet

查詢程式產生的畫面,可另作加工


Fields inherited from class jcx.servlet.Servlet
files, req, resp
 
Constructor Summary
queryServlet()
           
 
Method Summary
protected abstract  java.lang.String[][] getData()
          取得查詢畫面的資料,以二維字串陣列回傳
protected abstract  java.lang.String getTail()
          取得查詢畫面結尾字串
protected abstract  java.lang.String getTitle()
          取得查詢畫面標頭字串
 void runServlet()
           執行單一畫面僅需繼承後,覆寫 runServlet()即可
 void showData(java.lang.String[][] data, java.io.DataOutputStream ou)
          將 getData() 所得的資料秀出 程式設計師可依需要overwrite此function
 
Methods inherited from class jcx.servlet.common.singleStepServlet
run1
 
Methods inherited from class jcx.servlet.Servlet
addCookie, checkClientTrusted, checkServerTrusted, decode, equals, fromEscapeCode, getAcceptedIssuers, getClientProperty, getCookies, getFileInputStream, getFormData, getHeader, getInputStream, getMemoryInputStream, getMethod, getOutputStream, getParameter, getPath, lzw_decompress, returnAuthenticateResponse, returnAuthenticateResponse, returnErrorResponse, returnNormalResponse, run, setHeader, ToHtml, ToSql, verify
 

Constructor Detail

queryServlet

public queryServlet()
Method Detail

getTitle

protected abstract java.lang.String getTitle()
取得查詢畫面標頭字串
Returns:
查詢畫面標頭字串

getTail

protected abstract java.lang.String getTail()
取得查詢畫面結尾字串
Returns:
查詢畫面結尾字串

getData

protected abstract java.lang.String[][] getData()
取得查詢畫面的資料,以二維字串陣列回傳
Returns:
查詢畫面的資料

runServlet

public final void runServlet()
                      throws java.lang.Exception
Description copied from class: singleStepServlet
執行單一畫面僅需繼承後,覆寫
runServlet()即可
Overrides:
runServlet in class singleStepServlet

showData

public void showData(java.lang.String[][] data,
                     java.io.DataOutputStream ou)
              throws java.lang.Exception
將 getData() 所得的資料秀出
程式設計師可依需要overwrite此function
Parameters:
data - 由getData()所取得之資料
ou - 輸出資料資料流

英特內軟體股份有限公司