biouml.model.util
Class DiagramXmlTransformer

java.lang.Object
  extended byru.biosoft.access.AbstractTransformer
      extended bybiouml.model.util.DiagramXmlTransformer
All Implemented Interfaces:
Transformer

public class DiagramXmlTransformer
extends AbstractTransformer


Field Summary
 
Fields inherited from class ru.biosoft.access.AbstractTransformer
lineSep, primaryCollection, transformedCollection
 
Constructor Summary
DiagramXmlTransformer()
           
 
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)
          Transform output data element to input data element.
 
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

DiagramXmlTransformer

public DiagramXmlTransformer()
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
Transform output data element to input data element.

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.