|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConversionService
This interface provides a general conversion service between three different formats:
Method Summary | |
---|---|
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. |
Method Detail |
---|
java.lang.String getFIN(SwiftMessage msg)
msg
- an object containing the message to convert
java.lang.IllegalArgumentException
- if msg is null
java.lang.String getFIN(java.lang.String xml)
xml
- the string with the internal XML message to read
java.lang.IllegalArgumentException
- if XML is null
java.lang.String getXml(SwiftMessage msg)
msg
- an object containing the message to convert
java.lang.IllegalArgumentException
- if msg is null
java.lang.String getXml(java.lang.String fin)
fin
- a string containing the FIN message to convert
java.lang.IllegalArgumentException
- if fin is null
SwiftMessage getMessageFromFIN(java.lang.String fin)
fin
- a string containing the FIN message to convert
java.lang.IllegalArgumentException
- if fin is null
SwiftMessage getMessageFromXML(java.lang.String xml)
xml
- the string with the internal XML message to read
java.lang.IllegalArgumentException
- if XML is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |