okapi.tools
Class OkapiToolWarningList

java.lang.Object
  extended by okapi.tools.OkapiToolErrorList
      extended by okapi.tools.OkapiToolWarningList

public class OkapiToolWarningList
extends OkapiToolErrorList

Class OkapiToolWarningList Keeps a list of warnings which should each be well-formed xhtml, and outputs them as an xhtml list for an warning page

Version:
$Revision: 31044 $, $Date: 2008-09-02 17:08:01 -0400 (Tue, 02 Sep 2008) $
Author:
MIT Stellar team

Constructor Summary
OkapiToolWarningList()
          Constructor OkapiToolWarningList
 
Method Summary
 void add(java.lang.String warning)
          Method addWarning- warning should be well formed xhtml
 java.lang.String getXml()
          Method toString- returns an xhtml list of the warnings
 int size()
          returns the number of warnings in this list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OkapiToolWarningList

public OkapiToolWarningList()
Constructor OkapiToolWarningList

Method Detail

add

public void add(java.lang.String warning)
Method addWarning- warning should be well formed xhtml

Overrides:
add in class OkapiToolErrorList
Parameters:
warning -

getXml

public java.lang.String getXml()
Method toString- returns an xhtml list of the warnings

Overrides:
getXml in class OkapiToolErrorList
Returns:
String

size

public int size()
returns the number of warnings in this list

Overrides:
size in class OkapiToolErrorList


Copyright ? 2001-2009 MIT. All Rights Reserved.