stsci.factory
Class GSC1factory

java.lang.Object
  |
  +--stsci.factory.Factory
        |
        +--stsci.factory.WebFactory
              |
              +--stsci.factory.ArcObjFactory
                    |
                    +--stsci.factory.GSC1factory

public class GSC1factory
extends ArcObjFactory


Field Summary
protected  java.lang.String cat
           
 
Fields inherited from class stsci.factory.ArcObjFactory
alpha, delta, r, vlim
 
Fields inherited from class stsci.factory.WebFactory
local
 
Fields inherited from class stsci.factory.Factory
dstream, finished, name, opened
 
Constructor Summary
GSC1factory()
          To use this for other catalogues server from here just create a factory sub-class of this and change cat to the catalogue string in the constructor.
 
Method Summary
 java.lang.String getCmd()
          The id and different parameters to the command will be differnt for each system.
 java.lang.String getURL()
          The id and different parameters to the web page will be differnt for each system.
 java.lang.Object nextObj()
          The abstract method to consume input from dstream and create the next object.
protected  void skipToData()
          Skip down the data stream to where the data is.
 
Methods inherited from class stsci.factory.ArcObjFactory
getNext, init
 
Methods inherited from class stsci.factory.WebFactory
finished, open, openCmd, openURL, setLocal
 
Methods inherited from class stsci.factory.Factory
openDisk, setFinished
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

protected java.lang.String cat
Constructor Detail

GSC1factory

public GSC1factory()
To use this for other catalogues server from here just create a factory sub-class of this and change cat to the catalogue string in the constructor.
Method Detail

skipToData

protected void skipToData()
Skip down the data stream to where the data is. GSC1 has some preamble to be skipped.
Overrides:
skipToData in class WebFactory

getURL

public java.lang.String getURL()
Description copied from class: WebFactory
The id and different parameters to the web page will be differnt for each system. This abstarct method will be called to get the URL which should be opened.
Overrides:
getURL in class WebFactory

getCmd

public java.lang.String getCmd()
Description copied from class: WebFactory
The id and different parameters to the command will be differnt for each system. This abstarct method will be called to get the Command which should be executed.
Overrides:
getCmd in class WebFactory

nextObj

public java.lang.Object nextObj()
                         throws java.lang.Exception
Description copied from class: Factory
The abstract method to consume input from dstream and create the next object. This is specific to the particular type of input and must be implemented by the subclass.
Overrides:
nextObj in class Factory