org.sblim.wbem.client
public class CIMEnumerationImpl extends java.lang.Object implements CIMEnumeration
| Constructor and Description |
|---|
CIMEnumerationImpl(java.util.Enumeration pEnumeration,
CIMObjectPath pRequest,
CIMNameSpace pDefaultNamespace) |
CIMEnumerationImpl(XMLDefaultHandlerImpl pHandler,
CIMObjectPath pRequest,
CIMNameSpace pDefaultNamespace,
java.io.InputStreamReader pStream,
HttpClient pHttpClient,
boolean pUseSAX) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the enumeration by throwing away any remaing xml document without
parsing it, while keeping the connection available for future requests.
|
void |
close(boolean pForce)
Close the enumeration by throwing away any remaing xml document without
parsing it.
|
void |
fetchAll()
Fetch all the CIMObjects into memory.
|
void |
finalize() |
boolean |
hasMoreElements()
Determines if this enumeration contains more elements.
|
java.lang.Object |
nextElement()
Reads the next object from the stream.
|
public CIMEnumerationImpl(java.util.Enumeration pEnumeration,
CIMObjectPath pRequest,
CIMNameSpace pDefaultNamespace)
public CIMEnumerationImpl(XMLDefaultHandlerImpl pHandler, CIMObjectPath pRequest, CIMNameSpace pDefaultNamespace, java.io.InputStreamReader pStream, HttpClient pHttpClient, boolean pUseSAX)
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationtrue if this enumeration contains more elementspublic java.lang.Object nextElement()
nextElement in interface java.util.Enumerationpublic void close()
throws java.io.IOException
close in interface CIMEnumerationjava.io.IOExceptionpublic void close(boolean pForce)
throws java.io.IOException
close in interface CIMEnumerationpForce - If true, then the connection is closed without
receiving any of the remainding XML document from the CIMOMjava.io.IOExceptionpublic void fetchAll()
throws java.io.IOException
fetchAll in interface CIMEnumerationjava.io.IOExceptionpublic void finalize()
finalize in class java.lang.ObjectCopyright © 2005, 2009 IBM Corporation. All Rights Reserved.