ucot.output
Class GXLOutput

java.lang.Object
  extended by ucot.ModuleProperties
      extended by ucot.output.GXLOutput
All Implemented Interfaces:
ModulePropertyInterface, OutputInterface

public class GXLOutput
extends ModuleProperties
implements OutputInterface

GXL output adapter

Author:
pajumasu

Field Summary
static java.lang.String ATTRIBUTE_NAME
           
static java.lang.String ATTRIBUTE_TYPE
           
static java.lang.String ATTRIBUTE_TYPE_NAME
           
static java.lang.String DEFAULT_FILE_EXTENSION
           
private  java.util.logging.Logger logger
           
static java.lang.String METHOD_TYPE_NAME
           
static java.lang.String name
           
static java.lang.String PARENT_TYPE_NAME
           
 
Fields inherited from class ucot.ModuleProperties
properties, propertiesURL
 
Constructor Summary
GXLOutput()
           
 
Method Summary
 void applyProperties()
          Applies current properties for the module.
 java.lang.String getFileExtension()
          Returns the output's valid file extension without the leading dot.
 java.lang.String getName()
          Returns adapter's name.
 java.util.Properties loadDefaultProperties()
          Method which returns the factory default properties for the module.
static void main(java.lang.String[] args)
          Test program used while programming this class
 void output(AnalyzeModel analyzeModel, java.net.URL url)
          Outputs analyze model.
 
Methods inherited from class ucot.ModuleProperties
getProperties, loadProperties, saveProperties, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ucot.ModulePropertyInterface
getProperties, loadProperties, saveProperties, setProperties
 

Field Detail

name

public static final java.lang.String name
See Also:
Constant Field Values

DEFAULT_FILE_EXTENSION

public static final java.lang.String DEFAULT_FILE_EXTENSION
See Also:
Constant Field Values

ATTRIBUTE_TYPE

public static final java.lang.String ATTRIBUTE_TYPE
See Also:
Constant Field Values

ATTRIBUTE_NAME

public static final java.lang.String ATTRIBUTE_NAME
See Also:
Constant Field Values

ATTRIBUTE_TYPE_NAME

public static final java.lang.String ATTRIBUTE_TYPE_NAME
See Also:
Constant Field Values

METHOD_TYPE_NAME

public static final java.lang.String METHOD_TYPE_NAME
See Also:
Constant Field Values

PARENT_TYPE_NAME

public static final java.lang.String PARENT_TYPE_NAME
See Also:
Constant Field Values

logger

private java.util.logging.Logger logger
Constructor Detail

GXLOutput

public GXLOutput()
Method Detail

output

public void output(AnalyzeModel analyzeModel,
                   java.net.URL url)
            throws java.io.IOException
Description copied from interface: OutputInterface
Outputs analyze model.

Specified by:
output in interface OutputInterface
Parameters:
analyzeModel - Analyze model to output.
Throws:
java.io.IOException

getName

public java.lang.String getName()
Description copied from interface: OutputInterface
Returns adapter's name.

Specified by:
getName in interface OutputInterface
Returns:
Adapter's name.

main

public static void main(java.lang.String[] args)
                 throws java.lang.Throwable
Test program used while programming this class

Parameters:
args -
Throws:
java.lang.Throwable

loadDefaultProperties

public java.util.Properties loadDefaultProperties()
Description copied from interface: ModulePropertyInterface

Method which returns the factory default properties for the module.

Specified by:
loadDefaultProperties in interface ModulePropertyInterface
Overrides:
loadDefaultProperties in class ModuleProperties
Returns:
Default properties.
See Also:
ModulePropertyInterface.loadDefaultProperties()

applyProperties

public void applyProperties()
                     throws BadPropertyValueException
Description copied from interface: ModulePropertyInterface

Applies current properties for the module.

Specified by:
applyProperties in interface ModulePropertyInterface
Overrides:
applyProperties in class ModuleProperties
Throws:
BadPropertyValueException - In this case exception is thrown only if either the given parser or heuristic does not exist.
See Also:
ModulePropertyInterface.applyProperties()

getFileExtension

public java.lang.String getFileExtension()
Description copied from interface: OutputInterface
Returns the output's valid file extension without the leading dot.

Specified by:
getFileExtension in interface OutputInterface
Returns:
Adapter's accepted file extension.