|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object skyview.request.HTMLWriter
public class HTMLWriter
Constructor Summary | |
---|---|
HTMLWriter()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get the description of this component. |
java.lang.String |
getName()
Get the name of this component. |
protected void |
printoutTemplate(java.lang.String fileSetting)
|
void |
process(Image[] inputs,
Image output,
int[] sources,
Sampler samp,
DepthSampler dpSamp)
Perform the processing task associated with this object. |
protected void |
setSettings()
This method writes out the settings so that JavaScript can use them. |
static java.lang.String |
slurp(java.lang.String file)
|
void |
updateHeader(Header hdr)
Update the FITS header to indicate what processing was done. |
protected void |
updateSettings(Image output,
Sampler samp)
Update the settings before creating the appropiate HTML |
void |
writeFooter()
|
void |
writeHeader()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLWriter()
Method Detail |
---|
public void process(Image[] inputs, Image output, int[] sources, Sampler samp, DepthSampler dpSamp)
Processor
process
in interface Processor
inputs
- The array of input survey images.output
- The output user image. A null output may signal
that an error has taken place. If this processor wishes
to do something in response to the error, it may look at the ErrorMsg setting.sources
- An array giving the source image for each output pixel.samp
- The sampler object used to do spatial sampling of the input images.dpSamp
- The sampler in the energy dimension (often null).public void updateHeader(Header hdr)
Processor
updateHeader
in interface Processor
protected void setSettings()
public java.lang.String getName()
Component
getName
in interface Component
public java.lang.String getDescription()
Component
getDescription
in interface Component
public void writeHeader()
public void writeFooter()
protected void printoutTemplate(java.lang.String fileSetting)
public static java.lang.String slurp(java.lang.String file)
protected void updateSettings(Image output, Sampler samp)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |