HomeUniDoc
HomeUniDoc
...

Package relationships

Overview ▾

Index ▾

type CT_Relationship
    func NewCT_Relationship() *CT_Relationship
    func (m *CT_Relationship) MarshalXML(e *xml.Encoder, start xml.StartElement) error
    func (m *CT_Relationship) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
    func (m *CT_Relationship) Validate() error
    func (m *CT_Relationship) ValidateWithPath(path string) error
type CT_Relationships
    func NewCT_Relationships() *CT_Relationships
    func (m *CT_Relationships) MarshalXML(e *xml.Encoder, start xml.StartElement) error
    func (m *CT_Relationships) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
    func (m *CT_Relationships) Validate() error
    func (m *CT_Relationships) ValidateWithPath(path string) error
type Relationship
    func NewRelationship() *Relationship
    func (m *Relationship) MarshalXML(e *xml.Encoder, start xml.StartElement) error
    func (m *Relationship) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
    func (m *Relationship) Validate() error
    func (m *Relationship) ValidateWithPath(path string) error
type Relationships
    func NewRelationships() *Relationships
    func (m *Relationships) MarshalXML(e *xml.Encoder, start xml.StartElement) error
    func (m *Relationships) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
    func (m *Relationships) Validate() error
    func (m *Relationships) ValidateWithPath(path string) error
type ST_TargetMode
    func (m ST_TargetMode) MarshalXML(e *xml.Encoder, start xml.StartElement) error
    func (e ST_TargetMode) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
    func (m ST_TargetMode) String() string
    func (m *ST_TargetMode) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
    func (e *ST_TargetMode) UnmarshalXMLAttr(attr xml.Attr) error
    func (m ST_TargetMode) Validate() error
    func (m ST_TargetMode) ValidateWithPath(path string) error

Package files

CT_Relationship.go CT_Relationships.go Relationship.go Relationships.go common.go

type CT_Relationship

type CT_Relationship struct {
    TargetModeAttr ST_TargetMode
    TargetAttr     string
    TypeAttr       string
    IdAttr         string
    Content        string
}

func NewCT_Relationship

func NewCT_Relationship() *CT_Relationship

func (*CT_Relationship) MarshalXML

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

func (*CT_Relationship) UnmarshalXML

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

func (*CT_Relationship) Validate

func (m *CT_Relationship) Validate() error

Validate validates the CT_Relationship and its children

func (*CT_Relationship) ValidateWithPath

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

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

type CT_Relationships

type CT_Relationships struct {
    Relationship []*Relationship
}

func NewCT_Relationships

func NewCT_Relationships() *CT_Relationships

func (*CT_Relationships) MarshalXML

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

func (*CT_Relationships) UnmarshalXML

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

func (*CT_Relationships) Validate

func (m *CT_Relationships) Validate() error

Validate validates the CT_Relationships and its children

func (*CT_Relationships) ValidateWithPath

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

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

type Relationship

type Relationship struct {
    CT_Relationship
}

func NewRelationship

func NewRelationship() *Relationship

func (*Relationship) MarshalXML

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

func (*Relationship) UnmarshalXML

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

func (*Relationship) Validate

func (m *Relationship) Validate() error

Validate validates the Relationship and its children

func (*Relationship) ValidateWithPath

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

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

type Relationships

type Relationships struct {
    CT_Relationships
}

func NewRelationships

func NewRelationships() *Relationships

func (*Relationships) MarshalXML

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

func (*Relationships) UnmarshalXML

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

func (*Relationships) Validate

func (m *Relationships) Validate() error

Validate validates the Relationships and its children

func (*Relationships) ValidateWithPath

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

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

type ST_TargetMode

type ST_TargetMode byte
const (
    ST_TargetModeUnset    ST_TargetMode = 0
    ST_TargetModeExternal ST_TargetMode = 1
    ST_TargetModeInternal ST_TargetMode = 2
)

func (ST_TargetMode) MarshalXML

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

func (ST_TargetMode) MarshalXMLAttr

func (e ST_TargetMode) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

func (ST_TargetMode) String

func (m ST_TargetMode) String() string

func (*ST_TargetMode) UnmarshalXML

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

func (*ST_TargetMode) UnmarshalXMLAttr

func (e *ST_TargetMode) UnmarshalXMLAttr(attr xml.Attr) error

func (ST_TargetMode) Validate

func (m ST_TargetMode) Validate() error

func (ST_TargetMode) ValidateWithPath

func (m ST_TargetMode) ValidateWithPath(path string) error