biouml.plugins.gxl
Class GxlTransformer

java.lang.Object
  extended byru.biosoft.access.AbstractTransformer
      extended bybiouml.plugins.gxl.GxlTransformer
All Implemented Interfaces:
Transformer

public class GxlTransformer
extends AbstractTransformer


Field Summary
 
Fields inherited from class ru.biosoft.access.AbstractTransformer
lineSep, primaryCollection, transformedCollection
 
Constructor Summary
GxlTransformer()
           
 
Method Summary
 java.lang.Class getInputType()
          Return class of input data element.
 java.lang.Class getOutputType()
          Return class of output data element.
 DataElement transformInput(DataElement input)
          Transform input data element to output data element.
 DataElement transformOutput(DataElement output)
          Writes Diagram model into GXL file.
 
Methods inherited from class ru.biosoft.access.AbstractTransformer
getPrimaryCollection, getTransformedCollection, init, isInputType, isOutputType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GxlTransformer

public GxlTransformer()
Method Detail

getInputType

public java.lang.Class getInputType()
Return class of input data element. Input data element stored in primary data collection.

Returns:
Class of input data element.

getOutputType

public java.lang.Class getOutputType()
Return class of output data element. Output data element stored in transformed data collection.

Returns:
Class of output data element.

transformOutput

public DataElement transformOutput(DataElement output)
                            throws java.lang.Exception
Writes Diagram model into GXL file. Validates that file have .xml extension

Returns:
Primary data element.
Throws:
java.lang.Exception - If error occured.

transformInput

public DataElement transformInput(DataElement input)
                           throws java.lang.Exception
Transform input data element to output data element.

Returns:
Transformed data element.
Throws:
java.lang.Exception - If error occured.


Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.