|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.wbem.CloseableIteratorDOM
public class CloseableIteratorDOM
Class CloseableIteratorDOM is a CloseableIterator implementation for the CIM-XML DOM parser.
Constructor Summary | |
---|---|
CloseableIteratorDOM(InputSource pIs,
CIMObjectPath pLocalPath)
Ctor. |
|
CloseableIteratorDOM(InputStreamReader pStream,
CIMObjectPath pPath)
Ctor. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CloseableIteratorDOM(InputStreamReader pStream, CIMObjectPath pPath) throws WBEMException, IOException
pStream
- pPath
-
WBEMException
IOException
public CloseableIteratorDOM(InputSource pIs, CIMObjectPath pLocalPath) throws WBEMException
pIs
- pLocalPath
-
WBEMException
Method Detail |
---|
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 boolean hasNext()
hasNext
in interface Iterator<Object>
public Object next()
next
in interface Iterator<Object>
public void remove()
remove
in interface Iterator<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.public List<Object> getParamValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |