NAME

XML::APML::ExplicitData - ExplicitData markup

SYNOPSIS

DESCRIPTION

Class that represents ExplicitData mark-up for APML

METHODS

new

Constructor

concepts

Get all concepts. Returns as array in list context.

my @concepts = $explicit->concepts;

Or returns as array reference.

my $concepts = $explicit->concepts;

Also, you can set multiple concepts at once.

$explicit->concepts($concept1, $concept2, $concept3);

add_concept

Add concept

$explicit->add_concept($concept);

sources

Get all sources. Returns as array in list context.

my @sources = $explicit->sources;

Or returns as array reference.

my $sources = $explicit->sources;

Also, you can set multiple sources at once.

$explicit->sources($source1, $source2, $source3);

add_source

Add source

$explicit->add_source($source);