|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.metadata.persistence.XMLMetadataResultSet<T>
public abstract class XMLMetadataResultSet<T extends MetadataRecord>
abstract base class for MetadataResultSet
s. The reults set must contain the XML representation of the
metadata record as binary at the first position!
Constructor Summary | |
---|---|
XMLMetadataResultSet(ResultSet rs,
Connection conn,
PreparedStatement stmt)
|
Method Summary | |
---|---|
void |
close()
Must be invoked after using to close underlying resources, e.g. |
T |
getRecord()
Returns the MetadataRecord at the current cursor position. |
protected abstract T |
getRecord(XMLStreamReader xmlReader)
|
int |
getRemaining()
|
boolean |
next()
Moves the cursor down one row from its current position. |
void |
skip(int rows)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLMetadataResultSet(ResultSet rs, Connection conn, PreparedStatement stmt)
Method Detail |
---|
public void close() throws MetadataStoreException
MetadataResultSet
ResultSet
s.
close
in interface MetadataResultSet<T extends MetadataRecord>
MetadataStoreException
public T getRecord() throws MetadataStoreException
MetadataResultSet
MetadataRecord
at the current cursor position.
getRecord
in interface MetadataResultSet<T extends MetadataRecord>
null
MetadataStoreException
public void skip(int rows) throws MetadataStoreException
skip
in interface MetadataResultSet<T extends MetadataRecord>
MetadataStoreException
public int getRemaining() throws MetadataStoreException
getRemaining
in interface MetadataResultSet<T extends MetadataRecord>
MetadataStoreException
public boolean next() throws MetadataStoreException
MetadataResultSet
next
in interface MetadataResultSet<T extends MetadataRecord>
MetadataStoreException
protected abstract T getRecord(XMLStreamReader xmlReader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |