Class AddeImageInfo

All Implemented Interfaces:
Cloneable

public class AddeImageInfo extends AddeImageURL
A class for holding the information about an ADDE image request
Version:
$Revision: 1.7 $
Author:
IDV Development Team
  • Constructor Details

    • AddeImageInfo

      public AddeImageInfo()
      no arg constructor
    • AddeImageInfo

      public AddeImageInfo(String host, String requestType, String group, String descriptor)
      Create an AddeImageURL.
      Parameters:
      host - host to send to
      requestType - type of request (REQ_IMAGEDATA, REQ_IMAGEDIR)
      group - ADDE group
      descriptor - ADDE descriptor
    • AddeImageInfo

      public AddeImageInfo(String host, String requestType, String group, String descriptor, String query)
      Create an ADDE Image URL from the given specs.
      Parameters:
      host - host to send to
      requestType - type of request (REQ_IMAGEDATA, REQ_IMAGEDIR)
      group - ADDE group (may be null)
      descriptor - ADDE descriptor (may be null)
      query - query string (key/value pairs)
    • AddeImageInfo

      public AddeImageInfo(String baseUrl, String locateKey, String locateValue, String placeValue, int lines, int elements, int lmag, int emag)
      Create an AddeImageInfo.
      Parameters:
      baseUrl - base url (server, request type, etc)
      locateKey - locate key
      locateValue - locate value
      placeValue - PLACE value
      lines - number of lines
      elements - number of elements
      lmag - line magnification
      emag - element magnification
    • AddeImageInfo

      public AddeImageInfo(String locateKey, String locateValue, String placeValue, int lines, int elements, int lmag, int emag)
      Create an AddeImageInfo.
      Parameters:
      locateKey - locate key
      locateValue - locate value
      placeValue - PLACE value
      lines - number of lines
      elements - number of elements
      lmag - line magnification
      emag - element magnification
  • Method Details

    • getBaseUrl

      public String getBaseUrl()
      Get the base ADDE URL
      Returns:
      the base ADDE URL
    • setBaseUrl

      public void setBaseUrl(String value)
      Set the base ADDE URL
      Parameters:
      value - the base ADDE URL
    • makeAddeUrl

      public String makeAddeUrl()
      Create the ADDE URL
      Returns:
      a Adde URL deprecated use getURLString() instead
    • setExtraKeys

      public void setExtraKeys(String extraKeys)
      Set the extraKeys string for this ADDE URL
      Overrides:
      setExtraKeys in class AddeURL
      Parameters:
      extraKeys - the extraKeys