edu.whoi.ursa.argoDatabase.web.webData
Class WebDataInfoWindow

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by edu.whoi.ursa.argoDatabase.web.webData.WebDataInfoWindow
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

@WebServlet(value="/WebDataInfoWindow")
public class WebDataInfoWindow
extends javax.servlet.http.HttpServlet

Servlet implementation class WebDataInfoWindow

See Also:
Serialized Form

Field Summary
private static java.util.GregorianCalendar currentDate
           
private static java.lang.Double juldToMillisecondRatio
           
private static java.util.GregorianCalendar referenceDate
           
private static long serialVersionUID
           
 
Constructor Summary
WebDataInfoWindow()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
private  void doThis(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
private static void generateInfoWindow(org.w3c.dom.Element element, java.lang.String wmoS, java.lang.String nS)
           
private static java.util.GregorianCalendar juldToGregd(java.lang.Double julianDate)
           
private static java.util.GregorianCalendar juldToGregdTime(java.lang.Double julianDate)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

juldToMillisecondRatio

private static final java.lang.Double juldToMillisecondRatio

referenceDate

private static final java.util.GregorianCalendar referenceDate

currentDate

private static final java.util.GregorianCalendar currentDate
Constructor Detail

WebDataInfoWindow

public WebDataInfoWindow()
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.doGet(HttpServletRequest request, HttpServletResponse response)

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.doPost(HttpServletRequest request, HttpServletResponse response)

doThis

private void doThis(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException,
                    java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

generateInfoWindow

private static void generateInfoWindow(org.w3c.dom.Element element,
                                       java.lang.String wmoS,
                                       java.lang.String nS)

juldToGregd

private static java.util.GregorianCalendar juldToGregd(java.lang.Double julianDate)

juldToGregdTime

private static java.util.GregorianCalendar juldToGregdTime(java.lang.Double julianDate)