DisplayPaperComments Class Reference

List of all members.


Package Functions

void renderMessage (MarkupWriter writer)

Detailed Description

Definition at line 7 of file DisplayPaperComments.java.


Member Function Documentation

void renderMessage ( MarkupWriter  writer  )  [package]

Definition at line 10 of file DisplayPaperComments.java.

00010                                             {
00011 
00012         if(_dataset != null){
00013           _paper = _dataset.getPaper();
00014         }
00015 
00016         if(_yaxis != null){
00017           _dataset = _yaxis.getDataset();
00018           _paper = _dataset.getPaper();
00019         }
00020 
00021         if(_reaction != null){
00022           _yaxis = _reaction.getYAxis();
00023           _dataset = _yaxis.getDataset();
00024           _paper = _dataset.getPaper();
00025         }
00026 
00027         if ( _paper != null) {
00028             for (String comment : _paper.getComments()) {
00029                 writer.element("p");
00030                 writer.write(comment);
00031                 writer.end();
00032             }
00033         }
00034     }


The documentation for this class was generated from the following file:


Generated on Tue Apr 21 15:55:02 2009 for HepData Web servlets by  doxygen 1.5.5