Documentation
¶
Index ¶
- type Iso20022Document
- type Iso20022DocumentObject
- func (doc *Iso20022DocumentObject) GetAttrs() []xml.Attr
- func (doc *Iso20022DocumentObject) GetXmlName() *xml.Name
- func (doc *Iso20022DocumentObject) InspectMessage() Iso20022Message
- func (doc Iso20022DocumentObject) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (doc Iso20022DocumentObject) NameSpace() string
- func (doc Iso20022DocumentObject) Validate() error
- type Iso20022Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iso20022Document ¶
type Iso20022Document interface { // Validate will be process validation check of document Validate() error // NameSpace check will return xmlns of document NameSpace() string // GetXmlName returns xml name of document GetXmlName() *xml.Name // GetAttrs returns attributes of document GetAttrs() []xml.Attr // InspectMessage returns message InspectMessage() Iso20022Message }
Document interface for ISO 20022
func NewDocument ¶
func NewDocument(space string) (doc Iso20022Document, err error)
func ParseIso20022Document ¶
func ParseIso20022Document(buf []byte) (Iso20022Document, error)
ParseIso20022Document will return a interface of ISO 20022 document after pass buffer
type Iso20022DocumentObject ¶
type Iso20022DocumentObject struct { XMLName xml.Name Attrs []xml.Attr `xml:",any,attr,omitempty" json:",omitempty"` Message Iso20022Message `xml:",any"` }
func (*Iso20022DocumentObject) GetAttrs ¶
func (doc *Iso20022DocumentObject) GetAttrs() []xml.Attr
func (*Iso20022DocumentObject) GetXmlName ¶
func (doc *Iso20022DocumentObject) GetXmlName() *xml.Name
func (*Iso20022DocumentObject) InspectMessage ¶
func (doc *Iso20022DocumentObject) InspectMessage() Iso20022Message
func (Iso20022DocumentObject) MarshalXML ¶
func (doc Iso20022DocumentObject) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (Iso20022DocumentObject) NameSpace ¶
func (doc Iso20022DocumentObject) NameSpace() string
func (Iso20022DocumentObject) Validate ¶
func (doc Iso20022DocumentObject) Validate() error
type Iso20022Message ¶
type Iso20022Message interface { // Validate will be process validation check of document Validate() error }
Element interface for ISO 20022
Click to show internal directories.
Click to hide internal directories.