uk.org.ogsadai.client.toolkit.activity.relational
Class DatabaseSchemaActivityOutputConverter

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

public class DatabaseSchemaActivityOutputConverter
extends java.lang.Object

Converts output from the DatabaseSchemaToXML activity into a DatabaseSchemaMetaData object.

Author:
The OGSA-DAI Team.
See Also:
DatabaseSchemaToXML

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
 
Constructor Summary
DatabaseSchemaActivityOutputConverter()
           
 
Method Summary
static DatabaseSchemaMetaData convert(ActivityOutput output)
          Converts output from a DatabaseSchemaToXML activity into a DatabaseSchemaMetaData object.
 
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

DatabaseSchemaActivityOutputConverter

public DatabaseSchemaActivityOutputConverter()
Method Detail

convert

public static DatabaseSchemaMetaData convert(ActivityOutput output)
                                      throws NoActivityOutputException,
                                             DataFormatException
Converts output from a DatabaseSchemaToXML activity into a DatabaseSchemaMetaData object.

Parameters:
output - Output of a DatabaseSchemaToXML activity.
Returns:
logical schema of a database
Throws:
NoActivityOutputException - if there is no output data or the data has not yet been processed to this output or the activity that generates this output has not yet been executed.
DataFormatException - if the output from the activity cannot be parsed into an XML document format.