Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/WaterlevelExporter.java @ 6576:c59a23183bc0
Doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 17 Jul 2013 09:59:41 +0200 |
parents | a0078e5e3b39 |
children | 5ecc6d4d73f2 |
comparison
equal
deleted
inserted
replaced
6575:b810dd804323 | 6576:c59a23183bc0 |
---|---|
181 } | 181 } |
182 } | 182 } |
183 | 183 |
184 | 184 |
185 /** | 185 /** |
186 * This method is used to prepare the column titles of waterlevel exports. | 186 * Prepare the column titles of waterlevel exports. |
187 * Titles in this export include the Q value. If a Q value matches a named | 187 * Titles in this export include the Q value. If a Q value matches a named |
188 * main value (as HQ100 or MNQ) this named main value should be used as | 188 * main value (as HQ100 or MNQ) this named main value should be used as |
189 * title. This method resets the name of the <i>wqkms</i> object if such | 189 * title. This method resets the name of the <i>wqkms</i> object if such |
190 * named main value fits to the chosen Q. | 190 * named main value fits to the chosen Q. |
191 * | 191 * |
691 } | 691 } |
692 } | 692 } |
693 | 693 |
694 | 694 |
695 /** | 695 /** |
696 * This method is used to register a new column at <i>writer</i>. The name / | 696 * Register a new column at <i>writer</i>. The name / |
697 * title of the column depends on the Q or W value of <i>wqkms</i>. If a Q | 697 * title of the column depends on the Q or W value of <i>wqkms</i>. If a Q |
698 * was selected and the Q fits to a named main value, the title is set to | 698 * was selected and the Q fits to a named main value, the title is set to |
699 * the named main value. Otherwise, the name returned by | 699 * the named main value. Otherwise, the name returned by |
700 * <i>WQKms.getName()</i> is set. | 700 * <i>WQKms.getName()</i> is set. |
701 * | 701 * |
713 writer.addColumn(wqkms.getName()); | 713 writer.addColumn(wqkms.getName()); |
714 } | 714 } |
715 } | 715 } |
716 | 716 |
717 | 717 |
718 /** | |
719 * | |
720 */ | |
721 @Override | 718 @Override |
722 protected void writePDF(OutputStream out) { | 719 protected void writePDF(OutputStream out) { |
723 logger.debug("write PDF"); | 720 logger.debug("write PDF"); |
724 WKmsJRDataSource source = createJRData(); | 721 WKmsJRDataSource source = createJRData(); |
725 | 722 |