public class CloseableIteratorSAX extends java.lang.Object implements CloseableIterator<java.lang.Object>
| Constructor and Description |
|---|
CloseableIteratorSAX(CIMNode pCIMNode)
Ctor.
|
CloseableIteratorSAX(java.io.InputStreamReader pStream,
CIMObjectPath pPath)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationExceptionWBEMExceptionpublic CloseableIteratorSAX(CIMNode pCIMNode) throws WBEMException
pCIMNode - WBEMExceptionpublic void close()
CloseableIteratorIterator. 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()
CloseableIteratornext() 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()
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.