HomeUniDoc
...

Package elements

Overview ▾

Index ▾

type Any
    func NewAny() *Any
    func (m *Any) MarshalXML(e *xml.Encoder, start xml.StartElement) error
    func (m *Any) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
    func (m *Any) Validate() error
    func (m *Any) ValidateWithPath(path string) error
type ElementContainer
    func NewElementContainer() *ElementContainer
    func (m *ElementContainer) MarshalXML(e *xml.Encoder, start xml.StartElement) error
    func (m *ElementContainer) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
    func (m *ElementContainer) Validate() error
    func (m *ElementContainer) ValidateWithPath(path string) error
type ElementsGroup
    func NewElementsGroup() *ElementsGroup
    func (m *ElementsGroup) MarshalXML(e *xml.Encoder, start xml.StartElement) error
    func (m *ElementsGroup) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
    func (m *ElementsGroup) Validate() error
    func (m *ElementsGroup) ValidateWithPath(path string) error
type ElementsGroupChoice
    func NewElementsGroupChoice() *ElementsGroupChoice
    func (m *ElementsGroupChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error
    func (m *ElementsGroupChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
    func (m *ElementsGroupChoice) Validate() error
    func (m *ElementsGroupChoice) ValidateWithPath(path string) error
type SimpleLiteral
    func NewSimpleLiteral() *SimpleLiteral
    func (m *SimpleLiteral) MarshalXML(e *xml.Encoder, start xml.StartElement) error
    func (m *SimpleLiteral) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
    func (m *SimpleLiteral) Validate() error
    func (m *SimpleLiteral) ValidateWithPath(path string) error

Package files

Any.go ElementContainer.go ElementsGroup.go ElementsGroupChoice.go SimpleLiteral.go common.go

type Any

type Any struct {
    SimpleLiteral
}

func NewAny

func NewAny() *Any

func (*Any) MarshalXML

func (m *Any) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*Any) UnmarshalXML

func (m *Any) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*Any) Validate

func (m *Any) Validate() error

Validate validates the Any and its children

func (*Any) ValidateWithPath

func (m *Any) ValidateWithPath(path string) error

ValidateWithPath validates the Any and its children, prefixing error messages with path

type ElementContainer

type ElementContainer struct {
    Choice []*ElementsGroupChoice
}

func NewElementContainer

func NewElementContainer() *ElementContainer

func (*ElementContainer) MarshalXML

func (m *ElementContainer) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*ElementContainer) UnmarshalXML

func (m *ElementContainer) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*ElementContainer) Validate

func (m *ElementContainer) Validate() error

Validate validates the ElementContainer and its children

func (*ElementContainer) ValidateWithPath

func (m *ElementContainer) ValidateWithPath(path string) error

ValidateWithPath validates the ElementContainer and its children, prefixing error messages with path

type ElementsGroup

type ElementsGroup struct {
    Choice []*ElementsGroupChoice
}

func NewElementsGroup

func NewElementsGroup() *ElementsGroup

func (*ElementsGroup) MarshalXML

func (m *ElementsGroup) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*ElementsGroup) UnmarshalXML

func (m *ElementsGroup) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*ElementsGroup) Validate

func (m *ElementsGroup) Validate() error

Validate validates the ElementsGroup and its children

func (*ElementsGroup) ValidateWithPath

func (m *ElementsGroup) ValidateWithPath(path string) error

ValidateWithPath validates the ElementsGroup and its children, prefixing error messages with path

type ElementsGroupChoice

type ElementsGroupChoice struct {
    Any []*Any
}

func NewElementsGroupChoice

func NewElementsGroupChoice() *ElementsGroupChoice

func (*ElementsGroupChoice) MarshalXML

func (m *ElementsGroupChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*ElementsGroupChoice) UnmarshalXML

func (m *ElementsGroupChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*ElementsGroupChoice) Validate

func (m *ElementsGroupChoice) Validate() error

Validate validates the ElementsGroupChoice and its children

func (*ElementsGroupChoice) ValidateWithPath

func (m *ElementsGroupChoice) ValidateWithPath(path string) error

ValidateWithPath validates the ElementsGroupChoice and its children, prefixing error messages with path

type SimpleLiteral

type SimpleLiteral struct {
}

func NewSimpleLiteral

func NewSimpleLiteral() *SimpleLiteral

func (*SimpleLiteral) MarshalXML

func (m *SimpleLiteral) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*SimpleLiteral) UnmarshalXML

func (m *SimpleLiteral) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*SimpleLiteral) Validate

func (m *SimpleLiteral) Validate() error

Validate validates the SimpleLiteral and its children

func (*SimpleLiteral) ValidateWithPath

func (m *SimpleLiteral) ValidateWithPath(path string) error

ValidateWithPath validates the SimpleLiteral and its children, prefixing error messages with path