Documentation
¶
Index ¶
- func DetectMessageType(xmlData []byte) (messageType, version, messageName string, err error)
- func GetAvailableTypes() []string
- func GetRegisteredTypes() map[string]MessageTypeInfo
- func IsRegistered(messageType, version string) bool
- func New(messageType, version string) (interface{}, error)
- func NewByMessageName(messageType, version, messageName string) (interface{}, error)
- func Parse(xmlData []byte, messageType, version string) (interface{}, error)
- func ParseAny(xmlData []byte) (message interface{}, messageType, version string, err error)
- type MessageTypeInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectMessageType ¶
DetectMessageType attempts to detect the message type, version, and message name from XML data
func GetAvailableTypes ¶
func GetAvailableTypes() []string
GetAvailableTypes returns a list of all available message types and versions
func GetRegisteredTypes ¶
func GetRegisteredTypes() map[string]MessageTypeInfo
GetRegisteredTypes returns all registered message types
func IsRegistered ¶
IsRegistered checks if a message type and version combination is registered
func New ¶
New creates a new instance of the specified message type and version For message types with multiple root messages, uses the first one found
func NewByMessageName ¶
NewByMessageName creates a new instance of a specific message by name
Types ¶
Click to show internal directories.
Click to hide internal directories.