com.bankframe.ei.channel.codec
Class DPTPDOMCodec
java.lang.Object
com.bankframe.ei.channel.codec.XMLDOMCodec
com.bankframe.ei.channel.codec.DPTPDOMCodec
- All Implemented Interfaces:
- Codec
- Direct Known Subclasses:
- XMLXSLCodec
- public class DPTPDOMCodec
- extends XMLDOMCodec
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME_ATTRIBUTE
public static final java.lang.String NAME_ATTRIBUTE
- See Also:
- Constant Field Values
DPTPDOMCodec
public DPTPDOMCodec()
- Constructor for DPTPDomCodec
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.