Class MessageFactory


  • public final class MessageFactory
    extends Object
    • Constructor Detail

      • MessageFactory

        public MessageFactory()
    • Method Detail

      • createMessage

        public static Message createMessage​(String msgName,
                                            Document document)
        Parameters:
        msgName - The name (i.e. XML-identifier for a MSGdef-node) of the message to be generated.
        document - hbci-definition xml document
        Returns:
        A new MSG object representing the generated message.

        The document description for the message to be generated is taken from an XML node @c MSGdef where the attribute @c id equals @p msgName.

        To build the message the values stored in @c clientValues will be used.