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.
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
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.
InformationDBAccessor
public InformationDBAccessor()
- Constructs a
InformationDBAccessor
.
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.