skyview.survey
Class XMLSurveyFinder

java.lang.Object
  extended by skyview.survey.XMLSurveyFinder
All Implemented Interfaces:
SurveyFinder

public class XMLSurveyFinder
extends java.lang.Object
implements SurveyFinder


Constructor Summary
XMLSurveyFinder()
          Set up the SurveyFinder and populate the map
 
Method Summary
 Survey find(java.lang.String shortName)
          Do we have this survey?
 java.lang.String findFile(java.lang.String shortName)
          Find the survey file given the short name
 java.lang.String[] getSurveys()
          What surveys do we know about?
protected  void getSurveysFromManifest()
          Get surveys from a user manifest.
protected  void getSurveysFromRoot()
          Get the surveys in the document root area
protected  void getSurveysFromUser()
          Get user specified surveys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSurveyFinder

public XMLSurveyFinder()
Set up the SurveyFinder and populate the map

Method Detail

getSurveysFromRoot

protected void getSurveysFromRoot()
Get the surveys in the document root area


getSurveysFromUser

protected void getSurveysFromUser()
Get user specified surveys


getSurveysFromManifest

protected void getSurveysFromManifest()
Get surveys from a user manifest. This is how SkyView-in-a-Jar gets its surveys.


find

public Survey find(java.lang.String shortName)
Do we have this survey?

Specified by:
find in interface SurveyFinder

findFile

public java.lang.String findFile(java.lang.String shortName)
Find the survey file given the short name


getSurveys

public java.lang.String[] getSurveys()
What surveys do we know about?

Specified by:
getSurveys in interface SurveyFinder