com.bankframe.ei.channel.codec
Class DPTPDOMCodec

java.lang.Object
  extended by com.bankframe.ei.channel.codec.XMLDOMCodec
      extended by com.bankframe.ei.channel.codec.DPTPDOMCodec
All Implemented Interfaces:
Codec
Direct Known Subclasses:
XMLXSLCodec

public class DPTPDOMCodec
extends XMLDOMCodec


Field Summary
static String NAME_ATTRIBUTE
           
 
Constructor Summary
DPTPDOMCodec()
          Constructor for DPTPDomCodec
 
Method Summary
 Vector decode(Document xml)
          Override this method to convert a DOM tree to a Vector of DataPackets
 Document encodeXml(Vector dps)
          Override this method to convert a Vector of DataPackets to a DOM tree
 String getName()
          This method gets the name of the codec.
static void main(String[] args)
           
 
Methods inherited from class com.bankframe.ei.channel.codec.XMLDOMCodec
decode, encode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_ATTRIBUTE

public static final String NAME_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

DPTPDOMCodec

public DPTPDOMCodec()
Constructor for DPTPDomCodec

Method Detail

encodeXml

public Document encodeXml(Vector dps)
Description copied from class: XMLDOMCodec
Override this method to convert a Vector of DataPackets to a DOM tree

Parameters:
dps - Vector of DataPackets
Returns:
DOM tree representation of the Vector of DataPackets
See Also:
XMLDOMCodec.encodeXml(Vector)

decode

public Vector decode(Document xml)
Description copied from class: XMLDOMCodec
Override this method to convert a DOM tree to a Vector of DataPackets

Returns:
Vector of DataPackets
See Also:
XMLDOMCodec.decode(Document)

getName

public String getName()
Description copied from interface: Codec
This method gets the name of the codec.

Returns:
the codec name
See Also:
Codec.getName()

main

public static void main(String[] args)


Copyright © 2005, 2007, Oracle. All rights reserved.