Class CellComparatorHelper

java.lang.Object
org.kuali.rice.kns.web.comparator.CellComparatorHelper

@Deprecated public class CellComparatorHelper extends Object
Deprecated.
KNS Struts deprecated, use KRAD and the Spring MVC framework.
This class...
  • Constructor Details

    • CellComparatorHelper

      public CellComparatorHelper()
      Deprecated.
  • Method Details

    • getSanitizedStaticValue

      public static String getSanitizedStaticValue(org.displaytag.model.Cell cell)
      Deprecated.
      This method is intended to be used in conjunction with displaytag.
      Parameters:
      cell -
      Returns:
      a sanitized version of cell.getStaticValue().toString().
      See Also:
    • getSanitizedStaticValue

      public static String getSanitizedStaticValue(String staticValue)
      Deprecated.
      Remove all end-of-line and tab characters (\r, \n, \t). If the value is enclosed in an html anchor tag, strip the html anchor tag. If the value ends in one or many " "s, strip them off. Return the modified String.
      Parameters:
      staticValue -
      Returns:
      a sanitized version of staticValue
    • getAppropriateComparatorForPropertyClass

      public static Comparator getAppropriateComparatorForPropertyClass(Class propClass)
      Deprecated.
      This method returns a comparator to be used for comparing the contents of cells, that is the compareTo method will be invoked w/ displaytag Cell objects
      Parameters:
      propClass -
      Returns:
    • getAppropriateValueComparatorForPropertyClass

      public static Comparator getAppropriateValueComparatorForPropertyClass(Class propClass)
      Deprecated.
      This method returns a comparator to be used for comparing propertyValues (in String form)
      Parameters:
      propClass -
      Returns: