class: TransformationBean

public class: TransformationBean
Author: Friederike Kleinfercher (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 2120 $ $LastChangedDate: 2009-06-22 16:; Complexity: 1
Dates: Created: 16.07.2009 15:21:05; Modified: 16.07.2009 15:21:05;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {E92DB93F-CF1D-4cbc-9B04-D9A8BBD64619}
Implementation of the Transformation Service.
 

Goto: Custom Properties, Fields, Methods

Implements: Transformation

See also: Util, Util, Transformation, EndNoteImportTest, TransformationTest

Appears in: transformation

Connections
 
Custom Properties
 
TransformationBean Attributes
Attribute Details
private const Logger
  logger
Initial: Logger.getLogger(TransformationBean.class)
private Vector
  transformationClasses
Initial: new Vector()
private Util
  util
 
TransformationBean Methods
Operation Details
private
callMethodOnTransformationModules(
   String methodName,
   Format param):Format
Sequential
Tags: throws=RuntimeException
private
escidocTransformService(
   byte[] src,
   Format srcFormat,
   Format trgFormat,
   String service):byte
Sequential
Tags: throws=TransformationNotSupportedException,RuntimeException
public
getSourceFormats():Format
Sequential
Tags: throws=RuntimeException
Notes: {@inheritDoc}
public
getSourceFormats(
   Format trg):Format
Sequential
Tags: throws=RuntimeException
Notes: {@inheritDoc}
public
getSourceFormatsAsXml():String
Sequential
Tags: throws=RuntimeException
Notes: {@inheritDoc}
public
getTargetFormats(
   Format src):Format
Sequential
Tags: throws=RuntimeException
Notes: {@inheritDoc}
public
getTargetFormatsAsXml(
   String srcFormatName,
   String srcType,
   String srcEncoding):String
Sequential
Tags: throws=RuntimeException
Notes: {@inheritDoc}
private
getTransformationClassForTransformation(
   Format source,
   Format target):Class
Sequential
Tags: throws=RuntimeException
public
initialize():void
Sequential
Tags: annotations=@Init
Notes: Initializes the Transformation service
private
initializeTransformationModules():void
Sequential
Tags: throws=RuntimeException
public
transform(
   byte[] src,
   String srcFormatName,
   String srcType,
   String srcEncoding,
   String trgFormatName,
   String trgType,
   String trgEncoding,
   String service):byte
Sequential
Tags: throws=TransformationNotSupportedException,RuntimeException
Notes: {@inheritDoc}
public
transform(
   byte[] src,
   Format srcFormat,
   Format trgFormat,
   String service):byte
Sequential
Tags: throws=TransformationNotSupportedException,RuntimeException
Notes: {@inheritDoc}
public
TransformationBean():
Sequential
Notes: Public constructor.