Overview | Package | Class | Use | Tree | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ru.biosoft.access
Class XMLTransformer

    java.lang.Object
      ru.biosoft.access.AbstractTransformer
          ru.biosoft.access.XMLTransformer

All Implemented Interfaces:
  Transformer

public class XMLTransformer
extends AbstractTransformer

Converts `FileDataElement` to the `Object` and back This transformer is used for Embl file format converting

Version:
  1.0
Author:
  DevelopmentOnTheEdge
See Also:
  `TransformedDataCollection`

Field Summary

Fields inherited from class ru.biosoft.access.AbstractTransformer
`lineSep, primaryCollection, transformedCollection`

Constructor Summary
`XMLTransformer()`

Method Summary
`static java.lang.Object` | `getClone(java.lang.Object bean)`
`java.lang.Class` | `getInputType()` Return class of input data element.
`java.lang.Class` | `getOutputType()` Return class of output data element.
`boolean` | `isOutputType(java.lang.Class type)` Returns is specified class accepted as output type.
`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`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XMLTransformer

    public XMLTransformer()

Method Detail

### getInputType

    public java.lang.Class getInputType()

  Description copied from interface: `Transformer`
  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()

  Description copied from interface: `Transformer`
  Return class of output data element. Output data element stored in transformed data collection.

  Returns:
    Class of output data element.

### isOutputType

    public boolean isOutputType(java.lang.Class type)

  Description copied from interface: `Transformer`
  Returns is specified class accepted as output type.

  Specified by:
    `isOutputType` in interface `Transformer`
  Overrides:
    `isOutputType` in class `AbstractTransformer`

### transformInput

    public DataElement transformInput(DataElement input)
                               throws java.lang.Exception

  Description copied from interface: `Transformer`
  Transform input data element to output data element.

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

### transformOutput

    public DataElement transformOutput(DataElement output)
                                throws java.lang.Exception

  Description copied from interface: `Transformer`
  Transform output data element to input data element.

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

### getClone

    public static java.lang.Object getClone(java.lang.Object bean)
                                     throws java.lang.Exception

  Throws:
    `java.lang.Exception`

Overview | Package | Class | Use | Tree | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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