class RemiAudio::Xspf::Attribution

Overview

An Attribution contains additional information that can be used to satisfy attribution requirements for licenses.

Included Modules

Defined in:

remiaudio/xspf/xspf.cr

Constructors

Instance Method Summary

Constructor Detail

def self.fromXML(parent : XML::Node, ns : XML::Namespace | Nil) : Attribution #

Creates a new Attribution instance by parsing XML starting at parent. The parent node should be the <attribution> element itself.


[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new #

Creates a new, empty Attribution instance.


[View source]

Instance Method Detail

def identifiers : Array(URI) #

[View source]
def identifiers=(identifiers : Array(URI)) #

[View source]
def locations : Array(URI) #

[View source]
def locations=(locations : Array(URI)) #

[View source]
def write(xml : XML::Builder) : Nil #

Writes this instance to an XML::Builder for serialization.


[View source]