com.ibm.btt.element.impl
Class ElementProcessorChain
java.lang.Object
com.ibm.btt.element.impl.ElementProcessorChain
- All Implemented Interfaces:
- Initializer, ElementProcessor
public class ElementProcessorChain
- extends java.lang.Object
- implements ElementProcessor, Initializer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementProcessorChain
public ElementProcessorChain()
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
(c) Copyright IBM Corporation 1998, 2008