okapi.tools
Class OkapiToolErrorList

java.lang.Object
  extended by okapi.tools.OkapiToolErrorList
Direct Known Subclasses:
OkapiToolWarningList

public class OkapiToolErrorList
extends java.lang.Object

Class OkapiToolErrorList Keeps a list of errors which should each be well-formed xhtml, and outputs them as an xhtml list for an error page

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

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

Constructor Detail

OkapiToolErrorList

public OkapiToolErrorList()
Constructor OkapiToolErrorList

Method Detail

add

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

Parameters:
error -

getXml

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

Returns:
String

size

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



Copyright ? 2001-2009 MIT. All Rights Reserved.