net.aerith.misao.database
Interface XmlDBAccessor
- All Known Implementing Classes:
- XmlDBMemoryAccessor, XmlDBFileAccessor
- public interface XmlDBAccessor
The XmlDBAccessor
represents a sequential accessor to
the elements in the primitive database. It keeps the current
position in the database.
getFirstElement
public XmlDBRecord getFirstElement()
throws java.io.IOException
- Gets the first element in the database.
- Returns:
- the XML element.
- Throws:
- java.io.IOException - if I/O error occurs.
getNextElement
public XmlDBRecord getNextElement()
throws java.io.IOException
- Gets the next element in the database.
- Returns:
- the XML element.
- Throws:
- java.io.IOException - if I/O error occurs.