|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.wbem.CloseableIteratorSAX
public class CloseableIteratorSAX
CloseableIterator implementation for SAX parser.
Constructor Summary | |
---|---|
CloseableIteratorSAX(CIMNode pCIMNode)
Ctor. |
|
CloseableIteratorSAX(java.io.InputStreamReader pStream,
CIMObjectPath pPath)
Ctor. |
Method Summary | |
---|---|
void |
close()
Closes the Iterator . |
CIMArgument<?>[] |
getCIMArguments()
getCIMArguments : returns the array of 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()
|
java.lang.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 CloseableIteratorSAX(java.io.InputStreamReader pStream, CIMObjectPath pPath) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, WBEMException
pStream
- pPath
-
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
WBEMException
public CloseableIteratorSAX(CIMNode pCIMNode) throws WBEMException
pCIMNode
-
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<java.lang.Object>
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Object>
public java.lang.Object next()
next
in interface java.util.Iterator<java.lang.Object>
public void remove()
remove
in interface java.util.Iterator<java.lang.Object>
public WBEMException getWBEMException()
CloseableIterator
next()
or hasNext()
throws a
RuntimeException
, this method must be called to get the
WBEMException
.
getWBEMException
in interface CloseableIterator<java.lang.Object>
WBEMException
or null if one was not thrown.public CIMArgument<?>[] getCIMArguments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |