IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.element.impl
Class ElementProcessorChain

java.lang.Object
  extended by com.ibm.btt.element.impl.ElementProcessorChain
All Implemented Interfaces:
Initializer, ElementProcessor

public class ElementProcessorChain
extends java.lang.Object
implements ElementProcessor, Initializer


Constructor Summary
ElementProcessorChain()
           
 
Method Summary
 void addElementProcessor(ElementProcessor processor)
           
 java.lang.Object afterInitializeElement(Tag tag, java.lang.Object element)
          this method will be called after the ElementFactory populate all the properties of the Element.
 Tag beforeCreateElement(Tag tag)
          this method will be called before the ElementFactory to create the element from Tag.
 java.lang.Object beforeInitializeElement(Tag tag, java.lang.Object element)
          this method will be called before the ElementFactory to populate the properties of the Element.
 void cleanup(KeyedCollection config)
           
 java.util.List<ElementProcessor> getElementProcessors()
           
 void initialize(KeyedCollection config)
           
 void setElementProcessors(java.util.List<ElementProcessor> processors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementProcessorChain

public ElementProcessorChain()
Method Detail

afterInitializeElement

public java.lang.Object afterInitializeElement(Tag tag,
                                               java.lang.Object element)
                                        throws ElementException
Description copied from interface: ElementProcessor
this method will be called after the ElementFactory populate all the properties of the Element.

Specified by:
afterInitializeElement in interface ElementProcessor
Parameters:
tag - the tag from which the element is created.
element - the element
Returns:
Throws:
ElementException

beforeInitializeElement

public java.lang.Object beforeInitializeElement(Tag tag,
                                                java.lang.Object element)
                                         throws ElementException
Description copied from interface: ElementProcessor
this method will be called before the ElementFactory to populate the properties of the Element.

Specified by:
beforeInitializeElement in interface ElementProcessor
Parameters:
tag - the Tag from which the element is created.
element - the element
Returns:
the element
Throws:
ElementException

getElementProcessors

public java.util.List<ElementProcessor> getElementProcessors()

addElementProcessor

public void addElementProcessor(ElementProcessor processor)

setElementProcessors

public void setElementProcessors(java.util.List<ElementProcessor> processors)

beforeCreateElement

public Tag beforeCreateElement(Tag tag)
                        throws ElementException
Description copied from interface: ElementProcessor
this method will be called before the ElementFactory to create the element from Tag.

Specified by:
beforeCreateElement in interface ElementProcessor
Parameters:
tag - the Tag from which to create the Element.
Returns:
Throws:
ElementException

initialize

public void initialize(KeyedCollection config)
                throws BTTInitException
Specified by:
initialize in interface Initializer
Throws:
BTTInitException

cleanup

public void cleanup(KeyedCollection config)
             throws BTTCleanUpException
Specified by:
cleanup in interface Initializer
Throws:
BTTCleanUpException

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008