com.bankframe.ei.channel.codec
Class DPTPPaddingCodec

java.lang.Object
  extended bycom.bankframe.ei.channel.codec.DPTPCodec
      extended bycom.bankframe.ei.channel.codec.DPTPPaddingCodec
All Implemented Interfaces:
Codec

public class DPTPPaddingCodec
extends DPTPCodec

This class converts DataPackets or Vectors of DataPackets to/from a compact XML representation. The aim of this class is to define a standard means of representing a DataPacket as a String. Secondly the class is designed to be lightweight and fast, therefore this class does all the xml encoding and decoding itself, it does not rely on third party XML packages such as Xerces or JAXP. This class is not as robust as fully fledged XML parsers, it can only handle the defined DataPacket xml reprensentation and it cannot handle xml strings that are not well formed. Since < > and the corresponding entity references are special characters for the codec. This codec will pad < and > entity references with the supplied padding string.

Author:
Foundation Services

Field Summary
 
Fields inherited from class com.bankframe.ei.channel.codec.DPTPCodec
CLOSE_TAG_BEGIN, CLOSE_TAG_END, DATAPACKET_END_TAG, DATAPACKET_ENTITY, DATAPACKET_START_TAG, GT_TOKEN, LT_TOKEN, NAME_TOKEN, OPEN_TAG_BEGIN, OPEN_TAG_END, OPEN_TAG_MIDDLE, ROOT_NODE_NAME, VALUE_END_TAG, VALUE_ENTITY, VALUE_START_TAG, VECTOR_END_TAG, VECTOR_ENTITY, VECTOR_START_TAG, XML_PI
 
Constructor Summary
DPTPPaddingCodec()
          Constructor for DPTPPaddingCodec.
 
Methods inherited from class com.bankframe.ei.channel.codec.DPTPCodec
decode, encode, getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DPTPPaddingCodec

public DPTPPaddingCodec()
Constructor for DPTPPaddingCodec.



Copyright © 2004 Siebel Systems, Inc. All rights reserved.