|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.wbem.client.CIMEnumerationImpl
public class CIMEnumerationImpl
Provides the mechanisms to stream the response of CIMObjects, returned by the CIMOM.
Constructor Summary | |
---|---|
CIMEnumerationImpl(java.util.Enumeration pEnumeration,
CIMObjectPath pRequest,
CIMNameSpace pDefaultNamespace)
|
|
CIMEnumerationImpl(XMLDefaultHandlerImpl pHandler,
CIMObjectPath pRequest,
CIMNameSpace pDefaultNamespace,
java.io.InputStreamReader pStream,
HttpClient pHttpClient,
boolean pUseSAX)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
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 CIMOM
java.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |