edu.mssm.crover.webservices.rbde
Class FastDiagramMode

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--edu.mssm.crover.webservices.rbde.FastDiagramMode
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class FastDiagramMode
extends javax.servlet.http.HttpServlet

Servlet that constructs an HTML page that displays sequence entered in servlet Start. With supplied accession number or sequence code it retrieves first the sequence from Swiss Prot database.

See Also:
Serialized Form

Constructor Summary
FastDiagramMode()
           
 
Method Summary
static void cleanTmAnnotationsForRbDe(BiologicalAnnotations ba)
          Removes all TmAnnotations from ba.
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 long getLastModified(javax.servlet.http.HttpServletRequest request)
           
static org.apache.ecs.Element postSequence(int residues_per_line, java.lang.String title, AnnotatedBioSequence seq, ServletCentral sc)
           
static int rankOrder(int number)
           
static void translateNtermLocationForRbDe(TmDomain_Annotation tms, DS_UserSession us)
           
static void translateTmDomainForRbDe(BiologicalAnnotations ba, TmDomain_Annotation tms)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, 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
 

Constructor Detail

FastDiagramMode

public FastDiagramMode()
Method Detail

doPost

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

translateTmDomainForRbDe

public static void translateTmDomainForRbDe(BiologicalAnnotations ba,
                                            TmDomain_Annotation tms)

translateNtermLocationForRbDe

public static void translateNtermLocationForRbDe(TmDomain_Annotation tms,
                                                 DS_UserSession us)

cleanTmAnnotationsForRbDe

public static void cleanTmAnnotationsForRbDe(BiologicalAnnotations ba)
Removes all TmAnnotations from ba.


doGet

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

getLastModified

public long getLastModified(javax.servlet.http.HttpServletRequest request)
Overrides:
getLastModified in class javax.servlet.http.HttpServlet

postSequence

public static org.apache.ecs.Element postSequence(int residues_per_line,
                                                  java.lang.String title,
                                                  AnnotatedBioSequence seq,
                                                  ServletCentral sc)

rankOrder

public static int rankOrder(int number)


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.