public interface IConversionService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFIN(java.lang.String xml)
Gets a String containing the FIN message from the XML representation
passed as a String argument.
|
java.lang.String |
getFIN(SwiftMessage msg)
Gets a String containing the FIN message from the msg object
argument, using FIN writer.
|
SwiftMessage |
getMessageFromFIN(java.lang.String fin)
Gets a message object containing the message data
from the FIN string message passed as argument.
|
SwiftMessage |
getMessageFromXML(java.lang.String xml)
Gets a message object containing the message data
from the XML representation passed as a String argument.
|
java.lang.String |
getXml(java.lang.String fin)
Gets a String containing the XML internal representation of the message
from the FIN string message passed as argument.
|
java.lang.String |
getXml(SwiftMessage msg)
Gets a String containing the XML internal representation of the message
from the msg object argument.
|
java.lang.String getFIN(SwiftMessage msg)
msg
- an object containing the message to convertjava.lang.IllegalArgumentException
- if msg is nulljava.lang.String getFIN(java.lang.String xml)
xml
- the string with the internal XML message to readjava.lang.IllegalArgumentException
- if XML is nulljava.lang.String getXml(SwiftMessage msg)
msg
- an object containing the message to convertjava.lang.IllegalArgumentException
- if msg is nulljava.lang.String getXml(java.lang.String fin)
fin
- a string containing the FIN message to convertjava.lang.IllegalArgumentException
- if fin is nullSwiftMessage getMessageFromFIN(java.lang.String fin)
fin
- a string containing the FIN message to convertjava.lang.IllegalArgumentException
- if fin is nullSwiftMessage getMessageFromXML(java.lang.String xml)
xml
- the string with the internal XML message to readjava.lang.IllegalArgumentException
- if XML is null