|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object skyview.survey.XMLSurvey
public class XMLSurvey
This class defines a survey based upon an XML file which contains the metadata and image information for the survey.
Constructor Summary | |
---|---|
XMLSurvey(java.lang.String file)
Create a survey whose characteristics are given in an XML file. |
Method Summary | |
---|---|
protected void |
doParse(javax.xml.parsers.SAXParser sp,
org.xml.sax.helpers.DefaultHandler handler)
Run a parser |
java.lang.String |
getDescription()
Get a description of the component |
Image[] |
getImages(Position pos,
double size)
Find candidate images from this survey. |
java.lang.String |
getName()
Get the name of the compontent |
void |
updateHeader(Header h)
Update a FITS header with information from the XML file |
void |
updateSettings()
Update the system settings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLSurvey(java.lang.String file)
Method Detail |
---|
public java.lang.String getName()
getName
in interface Component
public java.lang.String getDescription()
getDescription
in interface Component
public Image[] getImages(Position pos, double size) throws java.lang.Exception
getImages
in interface Survey
pos
- A position object.size
- The size (in radians) over which we should look for candidates.
java.lang.Exception
public void updateHeader(Header h)
updateHeader
in interface Survey
public void updateSettings()
updateSettings
in interface Survey
protected void doParse(javax.xml.parsers.SAXParser sp, org.xml.sax.helpers.DefaultHandler handler) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |