|
Berkeley DB XML version 2.5.16 |
|||||||||
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 | |
---|---|
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 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 null.
XmlException
|
Berkeley DB XML version 2.5.16 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |