terms

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Box

type Box struct {
}

func NewBox

func NewBox() *Box

func (*Box) MarshalXML

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

func (*Box) UnmarshalXML

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

func (*Box) Validate

func (m *Box) Validate() error

Validate validates the Box and its children

func (*Box) ValidateWithPath

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

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

type DCMIType

type DCMIType struct {
}

func NewDCMIType

func NewDCMIType() *DCMIType

func (*DCMIType) MarshalXML

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

func (*DCMIType) UnmarshalXML

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

func (*DCMIType) Validate

func (m *DCMIType) Validate() error

Validate validates the DCMIType and its children

func (*DCMIType) ValidateWithPath

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

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

type DDC

type DDC struct {
}

func NewDDC

func NewDDC() *DDC

func (*DDC) MarshalXML

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

func (*DDC) UnmarshalXML

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

func (*DDC) Validate

func (m *DDC) Validate() error

Validate validates the DDC and its children

func (*DDC) ValidateWithPath

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

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

type ElementOrRefinementContainer

type ElementOrRefinementContainer struct {
	Choice []*ElementsAndRefinementsGroupChoice
}

func NewElementOrRefinementContainer

func NewElementOrRefinementContainer() *ElementOrRefinementContainer

func (*ElementOrRefinementContainer) MarshalXML

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

func (*ElementOrRefinementContainer) UnmarshalXML

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

func (*ElementOrRefinementContainer) Validate

func (m *ElementOrRefinementContainer) Validate() error

Validate validates the ElementOrRefinementContainer and its children

func (*ElementOrRefinementContainer) ValidateWithPath

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

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

type ElementsAndRefinementsGroup

type ElementsAndRefinementsGroup struct {
	Choice []*ElementsAndRefinementsGroupChoice
}

func NewElementsAndRefinementsGroup

func NewElementsAndRefinementsGroup() *ElementsAndRefinementsGroup

func (*ElementsAndRefinementsGroup) MarshalXML

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

func (*ElementsAndRefinementsGroup) UnmarshalXML

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

func (*ElementsAndRefinementsGroup) Validate

func (m *ElementsAndRefinementsGroup) Validate() error

Validate validates the ElementsAndRefinementsGroup and its children

func (*ElementsAndRefinementsGroup) ValidateWithPath

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

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

type ElementsAndRefinementsGroupChoice

type ElementsAndRefinementsGroupChoice struct {
	Any []*elements.Any
}

func NewElementsAndRefinementsGroupChoice

func NewElementsAndRefinementsGroupChoice() *ElementsAndRefinementsGroupChoice

func (*ElementsAndRefinementsGroupChoice) MarshalXML

func (*ElementsAndRefinementsGroupChoice) UnmarshalXML

func (*ElementsAndRefinementsGroupChoice) Validate

Validate validates the ElementsAndRefinementsGroupChoice and its children

func (*ElementsAndRefinementsGroupChoice) ValidateWithPath

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

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

type IMT

type IMT struct {
}

func NewIMT

func NewIMT() *IMT

func (*IMT) MarshalXML

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

func (*IMT) UnmarshalXML

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

func (*IMT) Validate

func (m *IMT) Validate() error

Validate validates the IMT and its children

func (*IMT) ValidateWithPath

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

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

type ISO3166

type ISO3166 struct {
}

func NewISO3166

func NewISO3166() *ISO3166

func (*ISO3166) MarshalXML

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

func (*ISO3166) UnmarshalXML

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

func (*ISO3166) Validate

func (m *ISO3166) Validate() error

Validate validates the ISO3166 and its children

func (*ISO3166) ValidateWithPath

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

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

type ISO639_2

type ISO639_2 struct {
}

func NewISO639_2

func NewISO639_2() *ISO639_2

func (*ISO639_2) MarshalXML

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

func (*ISO639_2) UnmarshalXML

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

func (*ISO639_2) Validate

func (m *ISO639_2) Validate() error

Validate validates the ISO639_2 and its children

func (*ISO639_2) ValidateWithPath

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

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

type LCC

type LCC struct {
}

func NewLCC

func NewLCC() *LCC

func (*LCC) MarshalXML

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

func (*LCC) UnmarshalXML

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

func (*LCC) Validate

func (m *LCC) Validate() error

Validate validates the LCC and its children

func (*LCC) ValidateWithPath

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

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

type LCSH

type LCSH struct {
}

func NewLCSH

func NewLCSH() *LCSH

func (*LCSH) MarshalXML

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

func (*LCSH) UnmarshalXML

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

func (*LCSH) Validate

func (m *LCSH) Validate() error

Validate validates the LCSH and its children

func (*LCSH) ValidateWithPath

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

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

type MESH

type MESH struct {
}

func NewMESH

func NewMESH() *MESH

func (*MESH) MarshalXML

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

func (*MESH) UnmarshalXML

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

func (*MESH) Validate

func (m *MESH) Validate() error

Validate validates the MESH and its children

func (*MESH) ValidateWithPath

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

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

type Period

type Period struct {
}

func NewPeriod

func NewPeriod() *Period

func (*Period) MarshalXML

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

func (*Period) UnmarshalXML

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

func (*Period) Validate

func (m *Period) Validate() error

Validate validates the Period and its children

func (*Period) ValidateWithPath

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

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

type Point

type Point struct {
}

func NewPoint

func NewPoint() *Point

func (*Point) MarshalXML

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

func (*Point) UnmarshalXML

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

func (*Point) Validate

func (m *Point) Validate() error

Validate validates the Point and its children

func (*Point) ValidateWithPath

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

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

type RFC1766

type RFC1766 struct {
}

func NewRFC1766

func NewRFC1766() *RFC1766

func (*RFC1766) MarshalXML

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

func (*RFC1766) UnmarshalXML

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

func (*RFC1766) Validate

func (m *RFC1766) Validate() error

Validate validates the RFC1766 and its children

func (*RFC1766) ValidateWithPath

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

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

type RFC3066

type RFC3066 struct {
}

func NewRFC3066

func NewRFC3066() *RFC3066

func (*RFC3066) MarshalXML

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

func (*RFC3066) UnmarshalXML

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

func (*RFC3066) Validate

func (m *RFC3066) Validate() error

Validate validates the RFC3066 and its children

func (*RFC3066) ValidateWithPath

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

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

type TGN

type TGN struct {
}

func NewTGN

func NewTGN() *TGN

func (*TGN) MarshalXML

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

func (*TGN) UnmarshalXML

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

func (*TGN) Validate

func (m *TGN) Validate() error

Validate validates the TGN and its children

func (*TGN) ValidateWithPath

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

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

type UDC

type UDC struct {
}

func NewUDC

func NewUDC() *UDC

func (*UDC) MarshalXML

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

func (*UDC) UnmarshalXML

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

func (*UDC) Validate

func (m *UDC) Validate() error

Validate validates the UDC and its children

func (*UDC) ValidateWithPath

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

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

type URI

type URI struct {
}

func NewURI

func NewURI() *URI

func (*URI) MarshalXML

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

func (*URI) UnmarshalXML

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

func (*URI) Validate

func (m *URI) Validate() error

Validate validates the URI and its children

func (*URI) ValidateWithPath

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

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

type W3CDTF

type W3CDTF struct {
}

func NewW3CDTF

func NewW3CDTF() *W3CDTF

func (*W3CDTF) MarshalXML

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

func (*W3CDTF) UnmarshalXML

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

func (*W3CDTF) Validate

func (m *W3CDTF) Validate() error

Validate validates the W3CDTF and its children

func (*W3CDTF) ValidateWithPath

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

ValidateWithPath validates the W3CDTF 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