public class CloseableIteratorDOM extends Object implements CloseableIterator<Object>
Constructor and Description |
---|
CloseableIteratorDOM(InputSource pIs,
CIMObjectPath pLocalPath)
Ctor.
|
CloseableIteratorDOM(InputStreamReader pStream,
CIMObjectPath pPath)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the
Iterator . |
List<Object> |
getParamValues()
getParamValues : returns the list of CIMArgument parsed parameters and
their values : String name, CIMDataType type, Object value
|
WBEMException |
getWBEMException()
If
next() or hasNext() throws a
RuntimeException , this method must be called to get the
WBEMException . |
boolean |
hasNext() |
Object |
next() |
void |
remove() |
public CloseableIteratorDOM(InputStreamReader pStream, CIMObjectPath pPath) throws WBEMException, IOException
pStream
- pPath
- WBEMException
IOException
public CloseableIteratorDOM(InputSource pIs, CIMObjectPath pLocalPath) throws WBEMException
pIs
- pLocalPath
- WBEMException
public void close()
CloseableIterator
Iterator
. This allows the underlying
implementation to do any cleanup and disconnect from any source that it
may be using.close
in interface CloseableIterator<Object>
public WBEMException getWBEMException()
CloseableIterator
next()
or hasNext()
throws a
RuntimeException
, this method must be called to get the
WBEMException
.getWBEMException
in interface CloseableIterator<Object>
WBEMException
or null if one was not thrown.Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.