com.bea.alsb.financial.api
Class IdentificationAPI

java.lang.Object
  extended by com.bea.alsb.financial.api.IdentificationAPI

public final class IdentificationAPI
extends Object

Facade API for identifying a message.


Method Summary
static DataObjectDocument identifyFIXMessage(String message)
          Identifies [the type of] a String message for a FIX message.
static SwiftHeaderDocument identifyStringMessage(String message)
          Deprecated. in Version 3.0. Please use identifySWIFTMessage(String) . deprecated APIs are removed in the subsequent major release.
static SwiftHeaderDocument identifySWIFTMessage(String message)
          Identifies [the type of] a String message for ISO 15022.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

identifyStringMessage

public static SwiftHeaderDocument identifyStringMessage(String message)
                                                 throws IdentificationException
Deprecated. in Version 3.0. Please use identifySWIFTMessage(String) . deprecated APIs are removed in the subsequent major release.

Identifies [the type of] a String message for ISO 15022. This returns an xml containing information about the message SWIFT headers including the MT message number. To distinguish between NAK and ACK, parsing the message is necessary. For more details about the xml structure refers to the schemas provided with the facade Jar file.

Parameters:
message - the message to identify [the type of].
Returns:
the meta-data about the message.
Throws:
IdentificationException - for identification problems.

identifySWIFTMessage

public static SwiftHeaderDocument identifySWIFTMessage(String message)
                                                throws IdentificationException
Identifies [the type of] a String message for ISO 15022. This returns an xml containing information about the message SWIFT headers including the MT message number. To distinguish between NAK and ACK, parsing the message is necessary. For more details about the xml structure refers to the schemas provided with the facade Jar file.

Parameters:
message - the message to identify [the type of].
Returns:
the meta-data about the message.
Throws:
IdentificationException - for identification problems.

identifyFIXMessage

public static DataObjectDocument identifyFIXMessage(String message)
                                             throws IdentificationException
Identifies [the type of] a String message for a FIX message. This returns an xml containing information about the message FIX headers including the message number. For more details about the xml structure refers to the schemas provided with the facade Jar file.

Parameters:
message - the message to identify [the type of].
Returns:
the meta-data about the message.
Throws:
IdentificationException - for identification problems.