net.aerith.misao.database
Class InformationDBAccessor

java.lang.Object
  |
  +--net.aerith.misao.database.InformationDBAccessor

public class InformationDBAccessor
extends java.lang.Object

The InformationDBAccessor represents a sequential accessor to the XML image information elements which overlaps to the specified images.


Field Summary
protected  java.util.Vector accessor_list
          The list of sequential accessor.
protected  int index
          The current index.
protected  XmlDBRecord next_record
          The next record;
 
Constructor Summary
InformationDBAccessor()
          Constructs a InformationDBAccessor.
 
Method Summary
 void addMapAccessor(CelestialDivisionMapDBAccessor accessor)
          Adds the sequential accessor.
 XmlInformation getFirstElement()
          Gets the first image information.
 XmlInformation getNextElement()
          Gets the next image information.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

accessor_list

protected java.util.Vector accessor_list
The list of sequential accessor.

next_record

protected XmlDBRecord next_record
The next record;

index

protected int index
The current index.
Constructor Detail

InformationDBAccessor

public InformationDBAccessor()
Constructs a InformationDBAccessor.
Method Detail

addMapAccessor

public void addMapAccessor(CelestialDivisionMapDBAccessor accessor)
Adds the sequential accessor.
Parameters:
accessor - the sequential accessor.

getFirstElement

public XmlInformation getFirstElement()
                               throws java.io.IOException
Gets the first image information.
Returns:
the first image information.
Throws:
java.io.IOException - if I/O error occurs.

getNextElement

public XmlInformation getNextElement()
                              throws java.io.IOException
Gets the next image information.
Returns:
the next image information.
Throws:
java.io.IOException - if I/O error occurs.