NAME

XML::APML::Profile - profile markup

SYNOPSIS

my $home = XML::APML::Profile->new( name => 'Home' );
my $work = XML::APML::Profile->new;
$work->name('Work');

print $work->name;

my $implicit = $work->implicit_data;
my $explicit = $work->explicit_data;

DESCRIPTION

Class that represents Profile mark-up for APML.

METHODS

new

Constructor

my $p = XML::APML::Profile->new;
$p->name('Name');

my $p = XML::APML::Profile->new( name => 'Name' );

name

accessor for name

my $p = XML::APML::Profile->new;
$p->name('ProfileName');
print $p->name;

implicit_data

returns XML::APML::ImplicitData object.

my $implicit = $p->implicit_data;
my @concepts = $implicit->concepts;

implicit

alias for implicit_data

explicit_data

returns XML::APML::ExplicitData object.

my $explicit = $p->explicit_data;
my @concepts = $explicit->concepts;

explicit

alias for explicit_data