org.opengts.war.tools
Class HTMLOutput

java.lang.Object
  extended by org.opengts.war.tools.HTMLOutput

public class HTMLOutput
extends java.lang.Object


Field Summary
static HTMLOutput NOOP
           
 
Constructor Summary
HTMLOutput()
          Constructor
HTMLOutput(java.lang.String[] cssClassNames, java.lang.String tableMessage)
          Constructor
 
Method Summary
 java.lang.String getCellClass()
          Returns the CSS class for the table cell element (TD)
 java.lang.String getTableClass()
          Returns the CSS class for the table element
 java.lang.String getTableMessage()
          Returns the table message
 void write(javax.servlet.jsp.JspWriter out)
          Writes data to the specified JspWriter.
 void write(java.io.PrintWriter out)
          Writes data to the specified PrintWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOOP

public static final HTMLOutput NOOP
Constructor Detail

HTMLOutput

public HTMLOutput()
Constructor


HTMLOutput

public HTMLOutput(java.lang.String[] cssClassNames,
                  java.lang.String tableMessage)
Constructor

Parameters:
cssClassNames - The default table/cell css class names
tableMessage - The table message to display
Method Detail

getTableClass

public java.lang.String getTableClass()
Returns the CSS class for the table element

Returns:
The CSS class for the table element

getCellClass

public java.lang.String getCellClass()
Returns the CSS class for the table cell element (TD)

Returns:
The CSS class for the table cell element (TD)

getTableMessage

public java.lang.String getTableMessage()
Returns the table message

Returns:
The table message

write

public void write(java.io.PrintWriter out)
           throws java.io.IOException
Writes data to the specified PrintWriter. This method is intended to be overridden. The default implementation does nothing.

Parameters:
out - The PrintWriter
Throws:
java.io.IOException

write

public void write(javax.servlet.jsp.JspWriter out)
           throws java.io.IOException
Writes data to the specified JspWriter. This method may be overridden to provide Custom behavior. The default implementation calls "write(PrintWriter)".

Parameters:
out - The JspWriter
Throws:
java.io.IOException