HomeUniDoc
...

Package schemaLibrary

Overview ▾

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