uk.org.ogsadai.client.toolkit.activity
Class ActivityUtilities

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.activity.ActivityUtilities

public class ActivityUtilities
extends java.lang.Object

This is a helper class that can be used to provide information about activity implementations to classes outside of this package. For example, the Activity.generateXML() method is normally obscured to client classes outside of this package, but the public generateXML(Activity) method provides the same functionality.

Author:
The OGSA-DAI Project Team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
 
Constructor Summary
ActivityUtilities()
           
 
Method Summary
static java.lang.String generateXML(Activity activity)
          Gets the XML description of an activity as it will appear in a perform document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values
Constructor Detail

ActivityUtilities

public ActivityUtilities()
Method Detail

generateXML

public static final java.lang.String generateXML(Activity activity)
Gets the XML description of an activity as it will appear in a perform document.

Parameters:
activity - Activity
Returns:
XML description as a string.
Throws:
java.lang.IllegalArgumentException - if activity is null.
See Also:
Activity.generateXML()