| 1 | package WebService::SOS::SensorDescription; | ||
| 2 | 1 | ▶ | use XML::Rabbit::Root 0.1.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | 1 | add_xpath_namespace sml => 'http://www.opengis.net/sensorML/1.0.1'; | |
| 5 | |||
| 6 | 1 | has_xpath_value id => '/sml:SensorML/sml:member/sml:System/@gml:id'; | |
| 7 | 1 | has_xpath_value description => '/sml:SensorML/sml:member/sml:System/gml:description'; | |
| 8 | 1 | has_xpath_value_list keywords => '/sml:SensorML/sml:member/sml:System/sml:keywords/sml:KeywordList/sml:keyword'; | |
| 9 | |||
| 10 | 1 | has_xpath_object_list identifiers => '/sml:SensorML/sml:member/sml:System/sml:identification/sml:IdentifierList/sml:identifier' => 'WebService::SOS::SensorDescription::Identifiers'; | |
| 11 | |||
| 12 | 1 | has_xpath_object_list classifiers => '/sml:SensorML/sml:member/sml:System/sml:classification/sml:ClassifierList/sml:classifier' => 'WebService::SOS::SensorDescription::Classifiers'; | |
| 13 | |||
| 14 | 1 | has_xpath_value beginPosition => '/sml:SensorML/sml:member/sml:System/sml:validTime/gml:TimePeriod/gml:beginPosition'; | |
| 15 | 1 | has_xpath_value endPosition => '/sml:SensorML/sml:member/sml:System/sml:validTime/gml:TimePeriod/gml:endPosition'; | |
| 16 | |||
| 17 | 1 | has_xpath_value characteristics => '/sml:SensorML/sml:member/sml:System/sml:characteristics'; | |
| 18 | |||
| 19 | 1 | has_xpath_value individualName => '/sml:SensorML/sml:member/sml:System/sml:contact/sml:ResponsibleParty/sml:individualName'; | |
| 20 | 1 | has_xpath_value organizationName => '/sml:SensorML/sml:member/sml:System/sml:contact/sml:ResponsibleParty/sml:organizationName'; | |
| 21 | 1 | has_xpath_value electronicMailAddress => '/sml:SensorML/sml:member/sml:System/sml:contact/sml:ResponsibleParty/sml:contactInfo/sml:address/sml:electronicMailAddress'; | |
| 22 | 1 | has_xpath_value onlineResource => '/sml:SensorML/sml:member/sml:System/sml:contact/sml:ResponsibleParty/sml:contactInfo/@xlink:href'; | |
| 23 | |||
| 24 | 1 | has_xpath_value location => '/sml:SensorML/sml:member/sml:System/sml:location/gml:Point/gml:coordinates'; | |
| 25 | |||
| 26 | 1 | has_xpath_object_list fields => '/sml:SensorML/sml:member/sml:System/sml:outputs/sml:OutputList/sml:output/swe:DataArray/swe:elementType/swe:DataRecord/swe:field' => 'WebService::SOS::SWEField'; | |
| 27 | |||
| 28 | 1 | finalize_class(); | |