uk.org.ogsadai.client.toolkit.activity.factory.demo
Class DemoQueryInstance
java.lang.Object
uk.org.ogsadai.client.toolkit.activity.RequestComponent
uk.org.ogsadai.client.toolkit.activity.Activity
uk.org.ogsadai.client.toolkit.activity.factory.demo.DemoQueryInstance
- public class DemoQueryInstance
- extends Activity
Activity to query a demo instance resource created by a
demo factory resource.
The activity has zero inputs and one output - the name stored in
the demo instance resource.
- Author:
- The OGSA-DAI Project Team
Field Summary |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
|
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
|
Method Summary |
protected java.lang.String |
generateXML()
Generates the XML representing the activity. |
java.lang.String |
getNameValue()
Gets the name stored in the demo instance resource. |
ActivityOutput |
getOutput()
Gets the activity output - the name stored in the demo instance
resource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
- Copyright statement
- See Also:
- Constant Field Values
DemoQueryInstance
public DemoQueryInstance()
- Constructs the activity.
getOutput
public ActivityOutput getOutput()
- Gets the activity output - the name stored in the demo instance
resource.
- Returns:
- the activity output
getNameValue
public java.lang.String getNameValue()
throws DataFormatException,
NoActivityOutputException
- Gets the name stored in the demo instance resource.
- Returns:
- name
- Throws:
DataFormatException
NoActivityOutputException
generateXML
protected java.lang.String generateXML()
- Description copied from class:
RequestComponent
- Generates the XML representing the activity. This XML can then
be inserted into a perform document that is sent to a data
service.
- Specified by:
generateXML
in class Activity