Documentation ¶
Overview ¶
Package xmprights implements the XMP Rights management namespace as defined by XMP Specification Part 1.
Index ¶
- Variables
- func NewModel(name string) xmp.Model
- type XmpRights
- func (x XmpRights) Can(nsName string) bool
- func (x *XmpRights) CanTag(tag string) bool
- func (x *XmpRights) GetTag(tag string) (string, error)
- func (x XmpRights) Namespaces() xmp.NamespaceList
- func (x *XmpRights) SetTag(tag, value string) error
- func (x *XmpRights) SyncFromXMP(d *xmp.Document) error
- func (x *XmpRights) SyncModel(d *xmp.Document) error
- func (x XmpRights) SyncToXMP(d *xmp.Document) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NsXmpRights = xmp.NewNamespace("xmpRights", "http://ns.adobe.com/xap/1.0/rights/", NewModel)
)
Functions ¶
Types ¶
type XmpRights ¶
type XmpRights struct { Certificate string `xmp:"xmpRights:Certificate"` Marked xmp.Bool `xmp:"xmpRights:Marked"` Owner xmp.StringArray `xmp:"xmpRights:Owner"` UsageTerms xmp.AltString `xmp:"xmpRights:UsageTerms"` WebStatement string `xmp:"xmpRights:WebStatement"` }
func (XmpRights) Namespaces ¶
func (x XmpRights) Namespaces() xmp.NamespaceList
Click to show internal directories.
Click to hide internal directories.