schemaLibrary

package
v1.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: AGPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CT_Schema

type CT_Schema struct {
	UriAttr              *string
	ManifestLocationAttr *string
	SchemaLocationAttr   *string
	SchemaLanguageAttr   *string
}

func NewCT_Schema

func NewCT_Schema() *CT_Schema

func (*CT_Schema) MarshalXML

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

func (*CT_Schema) UnmarshalXML

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

func (*CT_Schema) Validate

func (m *CT_Schema) Validate() error

Validate validates the CT_Schema and its children

func (*CT_Schema) ValidateWithPath

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

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

type CT_SchemaLibrary

type CT_SchemaLibrary struct {
	Schema []*CT_Schema
}

func NewCT_SchemaLibrary

func NewCT_SchemaLibrary() *CT_SchemaLibrary

func (*CT_SchemaLibrary) MarshalXML

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

func (*CT_SchemaLibrary) UnmarshalXML

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

func (*CT_SchemaLibrary) Validate

func (m *CT_SchemaLibrary) Validate() error

Validate validates the CT_SchemaLibrary and its children

func (*CT_SchemaLibrary) ValidateWithPath

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

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

type SchemaLibrary

type SchemaLibrary struct {
	CT_SchemaLibrary
}

func NewSchemaLibrary

func NewSchemaLibrary() *SchemaLibrary

func (*SchemaLibrary) MarshalXML

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

func (*SchemaLibrary) UnmarshalXML

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

func (*SchemaLibrary) Validate

func (m *SchemaLibrary) Validate() error

Validate validates the SchemaLibrary and its children

func (*SchemaLibrary) ValidateWithPath

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

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