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 |
NAME_ATTRIBUTE
public static final String NAME_ATTRIBUTE
- See Also:
- Constant Field Values
DPTPDOMCodec
public DPTPDOMCodec()
- Constructor for DPTPDomCodec
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.