| 1 | package XML::Parser::ClinicalTrials::Study::Facility; | ||
| 2 | { | ||
| 3 | 1 | $XML::Parser::ClinicalTrials::Study::Facility::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 name => './name'; | |
| 12 | 1 | has_xpath_value city => './address/city'; | |
| 13 | 1 | has_xpath_value state => './address/state'; | |
| 14 | 1 | has_xpath_value zip => './address/zip'; | |
| 15 | 1 | has_xpath_value country => './address/country'; | |
| 16 | |||
| 17 | 1 | finalize_class(); | |
| 18 | |||
| 19 | __END__ | ||
| 20 | =pod | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | XML::Parser::ClinicalTrials::Study::Facility - XML representation of ClinicalTrials study facility data | ||
| 25 | |||
| 26 | =head1 SYNOPSIS and DESCRIPTION | ||
| 27 | |||
| 28 | See L<XML::Parser::ClinicalTrials::Study>. | ||
| 29 | |||
| 30 | =head1 ACCESSORS | ||
| 31 | |||
| 32 | Facility instances have several simple value accessors. | ||
| 33 | |||
| 34 | =head2 Value Accessors | ||
| 35 | |||
| 36 | These accessors provide simple values. When a value is not present in the XML | ||
| 37 | file, this accessor will return the empty string. | ||
| 38 | |||
| 39 | =over 4 | ||
| 40 | |||
| 41 | =item * name | ||
| 42 | |||
| 43 | =item * city | ||
| 44 | |||
| 45 | =item * state | ||
| 46 | |||
| 47 | =item * zip | ||
| 48 | |||
| 49 | =item * country | ||
| 50 | |||
| 51 | =back | ||
| 52 | |||
| 53 | =head1 AUTHOR | ||
| 54 | |||
| 55 | chromatic E<lt>chromatic@cpan.orgE<gt>, sponsored by Golden Guru | ||
| 56 | (L<http://goldenguru.com/>). | ||
| 57 | |||
| 58 | =head1 LICENSE | ||
| 59 | |||
| 60 | This library is free software; you can redistribute it and/or modify it under | ||