interface: Transformation

public abstract <<interface>> interface: Transformation
Author: kleinfe1 (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1953 $ $LastChangedDate: 2009-05-07 10:; 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: {0C274767-CFE1-4397-AEE3-6D012041E924}
The transformations interface.
 

Goto: Fields, Methods

See also: CitationTransformationInterface, CommonTransformationInterface, FeedTransformationInterface, MicroTransformationInterface, EDocImport, EndNoteTransformation, RISTransformation, OtherFormatsTransformationInterface, ThirdPartyTransformationInterface, IdentityTransformation, TransformationBean

Appears in: transformation

Connections
 
Transformation Attributes
Attribute Details
public static const String
  SERVICE_NAME
Initial: "ejb/de/mpg/escidoc/services/transformation/TransformationBean"
Notes: The name of the EJB service.
 
Transformation Methods
Operation Details
public
getSourceFormats():Format
Sequential
Tags: throws=RuntimeException
Notes: Get all possible source formats.
@return Format[]: list of possible source formats as value object
public
getSourceFormats(
   Format trg):Format
Sequential
Tags: throws=RuntimeException
Notes: Get all possible source formats for a target format.
@param Format : the target format
@return Format[]: list of possible source formats as value object
public
getSourceFormatsAsXml():String
Sequential
Tags: throws=RuntimeException
Notes: Get all possible source formats.
@return String: list of possible source formats as xml
public
getTargetFormats(
   Format src):Format
Sequential
Tags: throws=RuntimeException
Notes: Get all possible target formats for a source format.
@return Format[]: list of possible target formats as value object
public
getTargetFormatsAsXml(
   String srcFormatName,
   String srcType,
   String srcEncoding):String
Sequential
Tags: throws=RuntimeException
Notes: Get all possible target formats for a source format.
@return String: list of possible target formats as xml
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: Transforms a source object into a target object.
@return byte[] target object
public
transform(
   byte[] src,
   Format srcFormat,
   Format trgFormat,
   String service):byte
Sequential
Tags: throws=TransformationNotSupportedException,RuntimeException
Notes: Transforms a source object into a target object.
@return byte [] target object