|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.activity.RequestComponent
|
+--uk.org.ogsadai.client.toolkit.activity.Activity
|
+--uk.org.ogsadai.client.toolkit.activity.xmldb.XMLListResources
This activity lists the resources within an XML database collection.
It has no input and one output. The format of the output is
OGSA-DAI specific XML. For example:
<resourceNames count="3">
<name> someResourceName </name>
<name> someOtherName </name>
<name> andAnotherName </name>
</resourceNames>
| Constructor Summary | |
XMLListResources()
Constructs a request to list resources of some collection. |
|
| Method Summary | |
protected java.lang.String |
generateXML()
Generates the XML representing the activity. |
ActivityOutput |
getOutput()
Gets the activity's only output. |
java.lang.String[] |
getResourceNames()
Gets the list of resource names. |
void |
setCollectionName(java.lang.String collectionName)
Set the collection name. |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
addInput, addOutput, addOutputs, getDataResourceID, getDataServiceStub, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setDataServiceStub, setInput |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
getName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLListResources()
| Method Detail |
public void setCollectionName(java.lang.String collectionName)
collectionName -
public java.lang.String[] getResourceNames()
throws ActivityOutputException,
DataFormatException
String[] containing 0 or more resource names.
DataFormatException - If the output data is not in the expected format.
ActivityOutputException - If there is no output data.public ActivityOutput getOutput()
protected java.lang.String generateXML()
RequestComponent
generateXML in class ActivityActivity.generateXML()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||