public final class MessageFactory extends Object
| Constructor and Description |
|---|
MessageFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Message |
createAnonymousDialogInit(HBCIPassportInternal passport) |
static Message |
createDialogEnd(boolean anonymous,
HBCIPassportInternal passport,
String dialogid,
long msgNumber) |
static Message |
createDialogInit(String dialogName,
String syncMode,
HBCIPassportInternal passport,
boolean withHktan,
String orderSegCode) |
static Message |
createMessage(String msgName,
Document document) |
public static Message createDialogInit(String dialogName, String syncMode, HBCIPassportInternal passport, boolean withHktan, String orderSegCode)
public static Message createAnonymousDialogInit(HBCIPassportInternal passport)
public static Message createDialogEnd(boolean anonymous, HBCIPassportInternal passport, String dialogid, long msgNumber)
public static Message createMessage(String msgName, Document document)
msgName - The name (i.e. XML-identifier for a MSGdef-node) of the message to be generated.document - hbci-definition xml documentThe 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.
Copyright © 2019. All rights reserved.