IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.format.impl
Class JSONFormat

java.lang.Object
  extended by com.ibm.btt.format.AbstractFormatElement
      extended by com.ibm.btt.format.impl.FormatDefine
          extended by com.ibm.btt.format.impl.JSONFormat
All Implemented Interfaces:
FormatElement

public class JSONFormat
extends FormatDefine


Field Summary
static java.lang.String DECORATOR_NAME
           
static java.lang.String DELIM_NAME
           
static java.lang.String NULL_CHECK
           
 
Fields inherited from class com.ibm.btt.format.impl.FormatDefine
id, rootFormat
 
Fields inherited from class com.ibm.btt.format.AbstractFormatElement
dataName, tagName, TOSTRINGS_MARGIN
 
Constructor Summary
JSONFormat()
           
 
Method Summary
 Message format(ReadAdapter dataAdapter)
          This method is attended to be called by client code of FormatElement
 void unformat(Message message, WriteAdapter dataAdapter)
          This method is attended to be called by client code of FormatElement
 
Methods inherited from class com.ibm.btt.format.impl.FormatDefine
addChild, extract, getId, getRootFormat, isContainer, setId, toStrings
 
Methods inherited from class com.ibm.btt.format.AbstractFormatElement
attributes, getDataName, rootDecorated, setDataName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DECORATOR_NAME

public static final java.lang.String DECORATOR_NAME
See Also:
Constant Field Values

DELIM_NAME

public static final java.lang.String DELIM_NAME
See Also:
Constant Field Values

NULL_CHECK

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

JSONFormat

public JSONFormat()
Method Detail

format

public Message format(ReadAdapter dataAdapter)
               throws FormatException
Description copied from interface: FormatElement
This method is attended to be called by client code of FormatElement

Specified by:
format in interface FormatElement
Overrides:
format in class FormatDefine
Returns:
Throws:
FormatException

unformat

public void unformat(Message message,
                     WriteAdapter dataAdapter)
              throws UnformatException
Description copied from interface: FormatElement
This method is attended to be called by client code of FormatElement

Specified by:
unformat in interface FormatElement
Overrides:
unformat in class FormatDefine
Throws:
UnformatException

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008