| 1 | package XML::Parser::ClinicalTrials::Study::Link; | ||
| 2 | { | ||
| 3 | 1 | $XML::Parser::ClinicalTrials::Study::Link::VERSION = '1.20140111'; | |
| 4 | } | ||
| 5 | |||
| 6 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | ▶ | use XML::Rabbit; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 1 | has_xpath_value url => './url'; | |
| 12 | 1 | has_xpath_value description => './description'; | |
| 13 | |||
| 14 | 1 | finalize_class(); | |
| 15 | |||
| 16 | __END__ | ||
| 17 | =pod | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | XML::Parser::ClinicalTrials::Study::Link - XML representation of ClinicalTrials study link data | ||
| 22 | |||
| 23 | =head1 SYNOPSIS and DESCRIPTION | ||
| 24 | |||
| 25 | See L<XML::Parser::ClinicalTrials::Study>. | ||
| 26 | |||
| 27 | =head1 ACCESSORS | ||
| 28 | |||
| 29 | Link instances have two simple value accessors. | ||
| 30 | |||
| 31 | =head2 Value Accessors | ||
| 32 | |||
| 33 | These accessors provide simple values. When a value is not present in the XML | ||
| 34 | file, this accessor will return the empty string. | ||
| 35 | |||
| 36 | =over 4 | ||
| 37 | |||
| 38 | =item * url | ||
| 39 | |||
| 40 | =item * description | ||
| 41 | |||
| 42 | =back | ||
| 43 | |||
| 44 | =head1 AUTHOR | ||
| 45 | |||
| 46 | chromatic E<lt>chromatic@cpan.orgE<gt>, sponsored by Golden Guru | ||
| 47 | (L<http://goldenguru.com/>). | ||
| 48 | |||
| 49 | =head1 LICENSE | ||
| 50 | |||
| 51 | This library is free software; you can redistribute it and/or modify it under | ||