public class XmlMetaDataIterator
extends java.lang.Object
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 and Description |
---|
XmlMetaDataIterator(XmlMetaDataIterator o)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
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. |
public XmlMetaDataIterator(XmlMetaDataIterator o) throws XmlException
XmlException
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
Copyright (c) 2004,2014 Oracle. All rights reserved.