net.aerith.misao.pixy.identification
Class IdentificationDeleter

java.lang.Object
  |
  +--net.aerith.misao.util.OperationObservable
        |
        +--net.aerith.misao.util.Operation
              |
              +--net.aerith.misao.pixy.identification.IdentificationDeleter

public class IdentificationDeleter
extends Operation

The IdentificationDeleter is a class to delete the catalog stars read from the specified catalog reader from the XML document. The result will be stored in the XML document itself.


Field Summary
protected  CatalogReader reader
          The catalog reader.
protected  XmlReport report
          The XML document.
 
Fields inherited from class net.aerith.misao.util.Operation
monitor_set, stopped
 
Fields inherited from class net.aerith.misao.util.OperationObservable
observer_list
 
Constructor Summary
IdentificationDeleter(XmlReport report, CatalogReader reader)
          Constructs an IdentificationDeleter with an XML document and a catalog reader.
 
Method Summary
 void operate()
          Operates.
 boolean ready()
          Returns true if the operation is ready to start.
 
Methods inherited from class net.aerith.misao.util.Operation
addMonitor, isStopped, perform, run, stop
 
Methods inherited from class net.aerith.misao.util.OperationObservable
addObserver, deleteObserver, notifyEnd, notifyFailed, notifyStart, notifySucceeded, notifyWarned
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

report

protected XmlReport report
The XML document.

reader

protected CatalogReader reader
The catalog reader.
Constructor Detail

IdentificationDeleter

public IdentificationDeleter(XmlReport report,
                             CatalogReader reader)
Constructs an IdentificationDeleter with an XML document and a catalog reader.
Parameters:
report - the XML document.
reader - the catalog reader.
Method Detail

ready

public boolean ready()
Returns true if the operation is ready to start.
Overrides:
ready in class Operation
Returns:
true if the operation is ready to start.

operate

public void operate()
             throws java.lang.Exception
Operates.
Overrides:
operate in class Operation
Throws:
java.lang.Exception - if an error occurs.