elements

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2017 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL