Package org.kapott.hbci.manager
Class MessageFactory
- java.lang.Object
-
- org.kapott.hbci.manager.MessageFactory
-
public final class MessageFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description MessageFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessagecreateAnonymousDialogInit(HBCIPassportInternal passport)static MessagecreateDialogEnd(boolean anonymous, HBCIPassportInternal passport, String dialogid, long msgNumber)static MessagecreateDialogInit(String dialogName, String syncMode, HBCIPassportInternal passport, boolean withHktan, String orderSegCode)static MessagecreateMessage(String msgName, Document document)
-
-
-
Method Detail
-
createDialogInit
public static Message createDialogInit(String dialogName, String syncMode, HBCIPassportInternal passport, boolean withHktan, String orderSegCode)
-
createAnonymousDialogInit
public static Message createAnonymousDialogInit(HBCIPassportInternal passport)
-
createDialogEnd
public static Message createDialogEnd(boolean anonymous, HBCIPassportInternal passport, String dialogid, long msgNumber)
-
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.
-
-