...
Documentation
Documentation

# Package elements

## Overview ▹

## Overview ▾

## Index ▹

## Index ▾

### Package files

Any.go ElementContainer.go ElementsGroup.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 {
        Any *Any
    }

### 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 {
        Any *Any
    }

### 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 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