edu.ucsb.nceas.metacat.marine
Class marineServlet

edu.ucsb.nceas.metacat.MetaCatServlet
  |
  +--edu.ucsb.nceas.metacat.marine.marineServlet

public class marineServlet
extends MetaCatServlet


Constructor Summary
marineServlet()
           
 
Method Summary
protected  java.lang.String decodeMouseAction(java.util.Hashtable params)
          decodes the mouse click information coming from the client.
protected  java.lang.String transformQuery(java.util.Hashtable params)
          Formats the text in the tag so that the tag name is the name of the field and the content is the query itself.
protected  void transformResultset(java.lang.String resultdoc, javax.servlet.http.HttpServletResponse response, java.io.PrintWriter out)
          Transorms an xml resultset document to html and sends it to the browser
 
Methods inherited from class edu.ucsb.nceas.metacat.MetaCatServlet
createResultDocument, destroy, doGet, doPost, handleQuery, handleSQuery, init, transformQuery, transformResultset
 

Constructor Detail

marineServlet

public marineServlet()
Method Detail

transformResultset

protected void transformResultset(java.lang.String resultdoc,
                                  javax.servlet.http.HttpServletResponse response,
                                  java.io.PrintWriter out)
Transorms an xml resultset document to html and sends it to the browser
Parameters:
resultdoc - the string representation of the document that needs to be transformed.
response - the HttpServletResponse object bound to the client.
out - the output stream to the client

transformQuery

protected java.lang.String transformQuery(java.util.Hashtable params)
Formats the text in the tag so that the tag name is the name of the field and the content is the query itself. This is used to fill in the text boxes in the xsl created html form.
Overrides:
transformQuery in class MetaCatServlet
Parameters:
param - is the query parameters from the CGI

decodeMouseAction

protected java.lang.String decodeMouseAction(java.util.Hashtable params)
decodes the mouse click information coming from the client.
Parameters:
params - the parameters from the CGI
Returns:
action the action to be performed or "error" if an error was generated


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.