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.Enumeration
true
if this enumeration contains more elementspublic java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
public void close() throws java.io.IOException
close
in interface CIMEnumeration
java.io.IOException
public void close(boolean pForce) throws java.io.IOException
close
in interface CIMEnumeration
pForce
- If true
, then the connection is closed without
receiving any of the remainding XML document from the CIMOMjava.io.IOException
public void fetchAll() throws java.io.IOException
fetchAll
in interface CIMEnumeration
java.io.IOException
public void finalize()
finalize
in class java.lang.Object
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.