|
Berkeley DB XML version 2.3.10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.dbxml.XmlMetaDataIterator
public class XmlMetaDataIterator
Provides an iterator over an XmlDocument
's metadata. Metadata
is set on a document with XmlDocument.setMetaData(java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue)
. You can also
use XmlDocument.getMetaData(java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue)
to return a specific metadata
item.
This object is instantiated using XmlDocument.getMetaDataIterator()
.
This object is not thread-safe, and can only be safely used by one thread at a time in an application.
Constructor Summary | |
---|---|
XmlMetaDataIterator(XmlMetaDataIterator o)
Copy constructor. |
Method Summary | |
---|---|
void |
delete()
Free the native resources associated with this object. |
XmlMetaData |
next()
Returns the next item in the XmlDocument 's metadata list. |
void |
reset()
Sets the iterator to the beginning of the XmlDocument 's metadata list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlMetaDataIterator(XmlMetaDataIterator o) throws XmlException
XmlException
Method Detail |
---|
public void delete()
public void reset() throws XmlException
XmlDocument
's metadata list.
XmlException
public XmlMetaData next() throws XmlException
XmlDocument
's metadata list. If
there is no next item, this method returns false. Otherwise, it returns
true.
XmlException
|
Berkeley DB XML version 2.3.10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |