|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.wsenum.utils.BaseSDKObjectIterator
public abstract class BaseSDKObjectIterator
BaseSDKObjectIterator Base class to consolidate some functionality of SDK object enum iterators
| Constructor Summary | |
|---|---|
protected |
BaseSDKObjectIterator(java.io.File file,
javax.xml.namespace.QName objectQName)
|
| Method Summary | |
|---|---|
protected boolean |
enumerationIsReleased()
|
protected java.lang.String |
getNextXmlChunk()
Reads the next chunk of XML from the file |
protected javax.xml.namespace.QName |
getObjectQName()
|
void |
release()
Releases the enumeration and cleans up resources. |
protected org.globus.ws.enumeration.IterationResult |
wrapUpElements(java.util.List<javax.xml.soap.SOAPElement> soapElements,
boolean end)
Encapsulates converting the list of SOAPElements to an array, then an Iteration Result |
protected static void |
writeSdkObjects(java.util.Iterator objIter,
javax.xml.namespace.QName name,
java.lang.String filename,
java.lang.StringBuffer wsddContents)
Writes the SDK serializable objects to disk |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.globus.ws.enumeration.EnumIterator |
|---|
next |
| Constructor Detail |
|---|
protected BaseSDKObjectIterator(java.io.File file,
javax.xml.namespace.QName objectQName)
throws java.io.FileNotFoundException
java.io.FileNotFoundException| Method Detail |
|---|
protected static void writeSdkObjects(java.util.Iterator objIter,
javax.xml.namespace.QName name,
java.lang.String filename,
java.lang.StringBuffer wsddContents)
throws java.lang.Exception
objects - The list of objects to write outname - The QName of the objectsfilename - The filename to store the objects intowsddContents - The contents of the WSDD configuration file
java.lang.Exception
protected java.lang.String getNextXmlChunk()
throws java.io.IOException
java.io.IOException
protected org.globus.ws.enumeration.IterationResult wrapUpElements(java.util.List<javax.xml.soap.SOAPElement> soapElements,
boolean end)
soapElements - end -
public void release()
release in interface org.globus.ws.enumeration.EnumIteratorprotected boolean enumerationIsReleased()
protected javax.xml.namespace.QName getObjectQName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||