Skip navigation links


com.fatwire.transformer.common
Class Transformer

java.lang.Object
  extended by com.fatwire.transformer.common.Transformer


public class Transformer
extends java.lang.Object

This represent the definitions of a transformer used. A transformer can be defined in an xml file and CS can use that. Each transformer-format will have transform options which allow to use different implementation. So it transformer can be used 2 ways. 1. specify the implementation class and type of input file extension this has to be used. 2. Or specify the FilterName to be used for this transform. FilterNames are used by open office conversions implementation.. It will be not be used by any other implementations


Constructor Summary
Transformer()
          Default constructor.

 

Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getExportOptions()
          This method returns a map of properties which are used with the file exported.
 java.util.Map<java.lang.String,java.lang.Object> getImportOptions()
          This method returns a map of properties which are used with the file imported.
 java.lang.String getName()
          Get the name of the transformer
 com.fatwire.transformer.common.TransformerProperty getProperty(java.lang.String name)
          This method returns the properties associated with the transformer.
 void setName(java.lang.String name)
           

 

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

 

Constructor Detail

Transformer

public Transformer()
Default constructor. Create the transformer object..

Method Detail

getName

public java.lang.String getName()
Get the name of the transformer
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getProperty

public com.fatwire.transformer.common.TransformerProperty getProperty(java.lang.String name)
This method returns the properties associated with the transformer.
Returns:
the transformer property needed by the transformer

getExportOptions

public java.util.Map<java.lang.String,java.lang.Object> getExportOptions()
This method returns a map of properties which are used with the file exported.
Returns:
map -containing the name/value map of properties

getImportOptions

public java.util.Map<java.lang.String,java.lang.Object> getImportOptions()
This method returns a map of properties which are used with the file imported.
Returns:
map -containing the name/value map of properties

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.