IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.format.impl
Class JSONTagProcessor

java.lang.Object
  extended by com.ibm.btt.format.impl.JSONTagProcessor
All Implemented Interfaces:
ElementProcessor

public class JSONTagProcessor
extends java.lang.Object
implements ElementProcessor


Constructor Summary
JSONTagProcessor()
           
 
Method Summary
protected  void addDecorator(Tag des, int size, int current)
           
 void addTagName(java.lang.String tagName)
           
 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.
protected  Tag getTag(Tag tag)
           
protected  void processTag(Tag src, Tag des)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONTagProcessor

public JSONTagProcessor()
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

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

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

getTag

protected Tag getTag(Tag tag)

processTag

protected void processTag(Tag src,
                          Tag des)

addDecorator

protected void addDecorator(Tag des,
                            int size,
                            int current)

addTagName

public void addTagName(java.lang.String tagName)

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008