Documentation
¶
Index ¶
- func CheckValidate(v interface{}) error
- type AdditionalField
- type AdditionalFields
- type AdditionalFieldsType
- type AnyHolder
- type ComplexType1
- type MModel
- type NodeID
- type SCL
- type TAcsiName
- type TAnyName
- type TBaseElement
- type TIEDName
- type TIEDNameIsNone
- type TIEDNameOrNone
- type UnionContent
- type UnsignedInt
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckValidate ¶
func CheckValidate(v interface{}) error
Types ¶
type AdditionalField ¶
func (*AdditionalField) MarshalXMLAttr ¶
func (*AdditionalField) UnmarshalXMLAttr ¶
func (a *AdditionalField) UnmarshalXMLAttr(attr xml.Attr) error
type AdditionalFields ¶
type AdditionalFields struct { AdditionalFields AdditionalFieldsType `xml:",any,attr"` CustomElements []AnyHolder `xml:",any"` }
type AdditionalFieldsType ¶
type AdditionalFieldsType []AdditionalField
type AnyHolder ¶
type AnyHolder struct {
MModel
}
func (*AnyHolder) MarshalXML ¶
func (*AnyHolder) UnmarshalXML ¶
type ComplexType1 ¶
type ComplexType1 struct { NodeID *TIEDNameOrNone `xml:",chardata" json:",omitempty"` TypeAttr TAnyName `xml:"type,attr" json:"type"` Type2Attr *TIEDNameOrNone `xml:"type2,attr,omitempty" json:"type2,omitempty"` }
"ComplexType" ComplexType1 ...
func (*ComplexType1) Validate ¶
func (t *ComplexType1) Validate() error
type SCL ¶
type SCL struct { TBaseElement ComplexType1 []ComplexType1 `xml:"ComplexType1" json:"ComplexType1"` }
"ComplexType" SCL ...
type TBaseElement ¶
type TBaseElement struct { NodeID AdditionalFields AdditionalFieldsType `xml:",any,attr"` CustomElements []AnyHolder `xml:",any"` Text *string `xml:"Text" json:"Text"` }
"Element"// "Element"// "ComplexType" TBaseElement ...
func (*TBaseElement) Validate ¶
func (t *TBaseElement) Validate() error
type TIEDNameIsNone ¶
type TIEDNameIsNone string
"SimpleType" base:"tAcsiName" TIEDNameIsNone ...
func (*TIEDNameIsNone) Validate ¶
func (t *TIEDNameIsNone) Validate() error
type TIEDNameOrNone ¶
type TIEDNameOrNone struct { UnionContent // contains filtered or unexported fields }
"SimpleType" TIEDNameOrNone is UNION type
func (*TIEDNameOrNone) IsEmpty ¶
func (t *TIEDNameOrNone) IsEmpty() bool
func (*TIEDNameOrNone) MarshalXMLAttr ¶
func (*TIEDNameOrNone) UnmarshalXMLAttr ¶
func (t *TIEDNameOrNone) UnmarshalXMLAttr(attr xml.Attr) error
func (*TIEDNameOrNone) Validate ¶
func (t *TIEDNameOrNone) Validate() error
type UnionContent ¶ added in v1.0.2
type UnionContent struct {
Content string `xml:",chardata" json:",omitempty"`
}
func (UnionContent) MarshalJSON ¶ added in v1.0.2
func (u UnionContent) MarshalJSON() ([]byte, error)
func (UnionContent) String ¶ added in v1.0.2
func (u UnionContent) String() string
func (*UnionContent) UnmarshalJSON ¶ added in v1.0.2
func (u *UnionContent) UnmarshalJSON(v []byte) error
type UnsignedInt ¶
type UnsignedInt string
func (*UnsignedInt) Validate ¶
func (u *UnsignedInt) Validate() error
Click to show internal directories.
Click to hide internal directories.