org.tubo.resource.component.transform
Class SimpleTransformComponent

java.lang.Object
  extended by org.tubo.resource.component.BaseComponentImpl
      extended by org.tubo.resource.component.transform.SimpleTransformComponent
All Implemented Interfaces:
Component, Resource

public class SimpleTransformComponent
extends BaseComponentImpl

Simple Transformation Component

This component rename (or move) item properties to another names, one by one, in the same order as they are defined in component node in flow configuration. For example:

      <component-node refId="simple-transform">
         <property>
             <prop-name>t0</prop-name>
             <prop-value>SSLINEREADER_SAY_HELO->ECHO_SAY_HELO</prop-value>
         </property>
         <property>
             <prop-name>t1</prop-name>
             <prop-value>SSLINEREADER_INPUT->ECHO_INPUT</prop-value>
         </property>
     </component-node>
 

Created: Nov 8, 2006, 12:30:24 AM
Last Modification Date: $Date: 2006-12-15 18:37:36 -0300 (Fri, 15 Dec 2006) $

Version:
$Revision: 78 $
Author:
maldito_orco (maldito_orco@users.sourceforge.net)

Field Summary
static java.lang.String RCS_ID
           
 
Constructor Summary
SimpleTransformComponent()
           
 
Method Summary
 void execute(FlowContext flowContext)
           
 
Methods inherited from class org.tubo.resource.component.BaseComponentImpl
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID
See Also:
Constant Field Values
Constructor Detail

SimpleTransformComponent

public SimpleTransformComponent()
Method Detail

execute

public void execute(FlowContext flowContext)
             throws TuboException
Specified by:
execute in interface Component
Overrides:
execute in class BaseComponentImpl
Throws:
TuboException


Copyright © 2004-2007 Tubo. All Rights Reserved.