mappings

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FDD

type FDD struct {
	ID         string     `xml:"id,attr"`
	Name       string     `xml:"titleName,attr"`
	LongName   string     `xml:"identificationAndDescription>fullName"`
	Extensions []string   `xml:"fileTypeSignifiers>signifiersGroup>filenameExtension>sigValues>sigValue"`
	MIMEs      []string   `xml:"fileTypeSignifiers>signifiersGroup>internetMediaType>sigValues>sigValue"`
	Magics     []string   `xml:"fileTypeSignifiers>signifiersGroup>magicNumbers>sigValues>sigValue"`
	Others     []Other    `xml:"fileTypeSignifiers>signifiersGroup>other"`
	Relations  []Relation `xml:"identificationAndDescription>relationships>relationship"`
	Updates    []string   `xml:"properties>updates>date"`
	Links      []string   `xml:"usefulReferences>urls>url>urlReference>link"`
}

func (FDD) PUIDs

func (f FDD) PUIDs() []string

func (FDD) String

func (f FDD) String() string

type Other

type Other struct {
	Tag    string   `xml:"tag"`
	Values []string `xml:"values>sigValues>sigValue"`
}

func (Other) String

func (o Other) String() string

type Relation

type Relation struct {
	Typ   string `xml:"typeOfRelationship"`
	Value string `xml:"relatedTo>id"`
}

func (Relation) String

func (r Relation) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL