Changeset 12628
- Timestamp:
- 2006-08-31T14:03:55+12:00 (18 years ago)
- Location:
- trunk/gsdl/perllib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/downloaders/BasDownload.pm
r12546 r12628 99 99 my $self = shift(@_); 100 100 my $header = shift(@_); 101 my $high_level_information_only = shift(@_); 101 102 102 103 # XML output is always in UTF-8 … … 106 107 &PrintUsage::print_xml_header("download"); 107 108 } 108 $self->print_xml( );109 $self->print_xml($high_level_information_only); 109 110 } 110 111 … … 113 114 { 114 115 my $self = shift(@_); 116 my $high_level_information_only = shift(@_); 117 115 118 my $optionlistref = $self->{'option_list'}; 116 119 my @optionlist = @$optionlistref; … … 126 129 gsprintf(STDERR, " <Abstract>$downloadoptions->{'abstract'}</Abstract>\n"); 127 130 gsprintf(STDERR, " <Inherits>$downloadoptions->{'inherits'}</Inherits>\n"); 128 gsprintf(STDERR, " <Arguments>\n"); 129 if (defined($downloadoptions->{'args'})) { 130 &PrintUsage::print_options_xml($downloadoptions->{'args'}); 131 } 132 gsprintf(STDERR, " </Arguments>\n"); 133 # Recurse up the download hierarchy 134 $self->print_xml(); 131 unless (defined($high_level_information_only)) { 132 gsprintf(STDERR, " <Arguments>\n"); 133 if (defined($downloadoptions->{'args'})) { 134 &PrintUsage::print_options_xml($downloadoptions->{'args'}); 135 } 136 gsprintf(STDERR, " </Arguments>\n"); 137 138 # Recurse up the download hierarchy 139 $self->print_xml(); 140 } 135 141 gsprintf(STDERR, "</DownloadInfo>\n"); 136 142 } -
trunk/gsdl/perllib/plugouts/BasPlugout.pm
r12618 r12628 140 140 my $self = shift(@_); 141 141 my $header = shift(@_); 142 my $high_level_information_only = shift(@_); 142 143 143 144 # XML output is always in UTF-8 … … 147 148 &PrintUsage::print_xml_header("plugout"); 148 149 } 149 $self->print_xml( );150 $self->print_xml($high_level_information_only); 150 151 } 151 152 … … 154 155 { 155 156 my $self = shift(@_); 157 my $high_level_information_only = shift(@_); 158 156 159 my $optionlistref = $self->{'option_list'}; 157 160 my @optionlist = @$optionlistref; … … 167 170 gsprintf(STDERR, " <Abstract>$plugoutoptions->{'abstract'}</Abstract>\n"); 168 171 gsprintf(STDERR, " <Inherits>$plugoutoptions->{'inherits'}</Inherits>\n"); 169 gsprintf(STDERR, " <Arguments>\n"); 170 171 if (defined($plugoutoptions->{'args'})) { 172 &PrintUsage::print_options_xml($plugoutoptions->{'args'}); 173 } 174 175 gsprintf(STDERR, " </Arguments>\n"); 176 # Recurse up the plugout hierarchy 177 $self->print_xml(); 172 unless (defined($high_level_information_only)) { 173 gsprintf(STDERR, " <Arguments>\n"); 174 if (defined($plugoutoptions->{'args'})) { 175 &PrintUsage::print_options_xml($plugoutoptions->{'args'}); 176 } 177 gsprintf(STDERR, " </Arguments>\n"); 178 179 # Recurse up the plugout hierarchy 180 $self->print_xml(); 181 } 178 182 gsprintf(STDERR, "</PlugoutInfo>\n"); 179 183 }
Note:
See TracChangeset
for help on using the changeset viewer.