Documentation
¶
Index ¶
- type Annotation
- type Any
- type AnyAttribute
- type Attribute
- type AttributeGroup
- type Choice
- type ComplexContent
- type ComplexType
- type Element
- type Enumeration
- type Extension
- type Import
- type Length
- type List
- type MaxInclusive
- type MinInclusive
- type Pattern
- type Restriction
- type Schema
- type Sequence
- type SimpleContent
- type SimpleType
- type Union
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type AnyAttribute ¶
type AttributeGroup ¶
type Choice ¶
type Choice struct {
MaxOccurs *string `xml:"maxOccurs,attr"`
MinOccurs *int `xml:"minOccurs,attr"`
Annotation *Annotation `xml:"annotation"`
Element []Element `xml:"element"`
}
type ComplexContent ¶
type ComplexType ¶
type ComplexType struct {
Abstract *bool `xml:"abstract,attr"`
Final *string `xml:"final,attr"`
Mixed *bool `xml:"mixed,attr"`
Name string `xml:"name,attr"`
Annotation *Annotation `xml:"annotation"`
Attribute []Attribute `xml:"attribute"`
AttributeGroup *AttributeGroup `xml:"attributeGroup"`
Choice *Choice `xml:"choice"`
ComplexContent *ComplexContent `xml:"complexContent"`
Sequence *Sequence `xml:"sequence"`
SimpleContent *SimpleContent `xml:"simpleContent"`
}
type Element ¶
type Element struct {
Abstract *bool `xml:"abstract,attr"`
Default *string `xml:"default,attr"`
MaxOccurs *string `xml:"maxOccurs,attr"`
MinOccurs *int `xml:"minOccurs,attr"`
Name *string `xml:"name,attr"`
Ref *string `xml:"ref,attr"`
SubstitutionGroup *string `xml:"substitutionGroup,attr"`
Type *string `xml:"type,attr"`
Annotation *Annotation `xml:"annotation"`
}
type Enumeration ¶
type Enumeration struct {
Value string `xml:"value,attr"`
}
type Extension ¶
type Extension struct {
Base string `xml:"base,attr"`
AnyAttribute *AnyAttribute `xml:"anyAttribute"`
Attribute []Attribute `xml:"attribute"`
Sequence *Sequence `xml:"sequence"`
}
type MaxInclusive ¶
type MaxInclusive struct {
Value float64 `xml:"value,attr"`
}
type MinInclusive ¶
type MinInclusive struct {
Value float64 `xml:"value,attr"`
}
type Restriction ¶
type Restriction struct {
Base string `xml:"base,attr"`
Enumeration []Enumeration `xml:"enumeration"`
Length *Length `xml:"length"`
MaxInclusive *MaxInclusive `xml:"maxInclusive"`
MinInclusive *MinInclusive `xml:"minInclusive"`
Pattern Pattern `xml:"pattern"`
}
type Schema ¶
type Schema struct {
Annotation *Annotation `xml:"annotation"`
AttributeGroup *AttributeGroup `xml:"attributeGroup"`
ComplexType []ComplexType `xml:"complexType"`
Element []Element `xml:"element"`
Import []Import `xml:"import"`
SimpleType []SimpleType `xml:"simpleType"`
}
type SimpleContent ¶
type SimpleContent struct {
Extension Extension `xml:"extension"`
}
type SimpleType ¶
type SimpleType struct {
Name string `xml:"name,attr"`
Annotation *Annotation `xml:"annotation"`
List *List `xml:"list"`
Restriction *Restriction `xml:"restriction"`
Union *Union `xml:"union"`
}
Click to show internal directories.
Click to hide internal directories.