com.bankframe.ei.channel.codec
Class DPTPDOMCodec

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

public class DPTPDOMCodec
extends XMLDOMCodec


Field Summary
static java.lang.String NAME_ATTRIBUTE
           
 
Constructor Summary
DPTPDOMCodec()
          Constructor for DPTPDomCodec
 
Method Summary
 java.util.Vector decode(org.w3c.dom.Document xml)
           
 org.w3c.dom.Document encodeXml(java.util.Vector dps)
           
 java.lang.String getName()
          This method gets the name of the codec.
static void main(java.lang.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 java.lang.String NAME_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

DPTPDOMCodec

public DPTPDOMCodec()
Constructor for DPTPDomCodec

Method Detail

encodeXml

public org.w3c.dom.Document encodeXml(java.util.Vector dps)
Parameters:
dps - Vector of DataPackets
Returns:
DOM tree representation of the Vector of DataPackets
See Also:
XmlDomCodec#encodeXml(Vector)

decode

public java.util.Vector decode(org.w3c.dom.Document xml)
Returns:
Vector of DataPackets
See Also:
XmlDomCodec#decode(Document)

getName

public java.lang.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(java.lang.String[] args)


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