cfa.vo.sed.io
Class DisplayUtil

java.lang.Object
  extended by cfa.vo.sed.io.DisplayUtil

public class DisplayUtil
extends java.lang.Object


Constructor Summary
DisplayUtil()
           
 
Method Summary
 java.lang.String displaySEDAsHTMLTable(SED sed)
          This is the public method to call to put the data in HTML table format.
 java.lang.String displaySEDAsHTMLTable(SED sed, int tableNum)
          This is the public method to call to put the requested Segment's data in HTML table format.
 void displaySEDAsTable(SED sed)
          This is the public method to call to put the data in table format.
 void displaySEDAsTable(SED sed, int tableNum)
           
 void displaySEDMetadata(SED sed)
           
 java.lang.String displaySEDMetadataHTML(SED sed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayUtil

public DisplayUtil()
Method Detail

displaySEDAsTable

public void displaySEDAsTable(SED sed)
This is the public method to call to put the data in table format. This method prints directly to standard out.

Parameters:
sed - cfa.vo.sed.SED

displaySEDAsHTMLTable

public java.lang.String displaySEDAsHTMLTable(SED sed)
This is the public method to call to put the data in HTML table format. Note the tags are NOT in this class, this only formats the row data and returns the String.

Parameters:
sed - cfa.vo.sed.SED
Returns:
possible objects are String

displaySEDAsTable

public void displaySEDAsTable(SED sed,
                              int tableNum)

displaySEDAsHTMLTable

public java.lang.String displaySEDAsHTMLTable(SED sed,
                                              int tableNum)
This is the public method to call to put the requested Segment's data in HTML table format. Note the
tags are NOT in this class, this only formats the row data and returns the String.

Parameters:
sed - cfa.vo.sed.SED
tableNum - int
Returns:
possible objects are String

displaySEDMetadata

public void displaySEDMetadata(SED sed)

displaySEDMetadataHTML

public java.lang.String displaySEDMetadataHTML(SED sed)