| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.metadata.persistence.XMLMetadataResultSet<T>
public abstract class XMLMetadataResultSet<T extends MetadataRecord>
abstract base class for MetadataResultSets. 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
MetadataResultSetResultSets.
close in interface MetadataResultSet<T extends MetadataRecord>MetadataStoreException
public T getRecord()
                                   throws MetadataStoreException
MetadataResultSetMetadataRecord 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>MetadataStoreExceptionprotected abstract T getRecord(XMLStreamReader xmlReader)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||