@Test public void testExtractFromHref() { String href = "<a style=\"color: red;\" href=\"inquiry.do?businessObjectClassName=org.kuali.rice.krad.bo.Options&amp;universityFiscalYear=2004&amp;methodToCall=start\" target=\"blank\">needle</a>"; Cell cell = new Cell(href); assertEquals(CellComparatorHelper.getSanitizedStaticValue(cell), "needle"); }
static public String getSanitizedStaticValue(Cell cell) { if (null == cell) { return null; } return null == cell.getStaticValue() ? null : getSanitizedStaticValue(cell.getStaticValue().toString()); }
CellComparatorHelper { static public String getSanitizedStaticValue(Cell cell) { if (null == cell) { return null; } return null == cell.getStaticValue() ? null : getSanitizedStaticValue(cell.getStaticValue().toString()); } }
CellComparatorHelper { static public String getSanitizedStaticValue(Cell cell) { if (null == cell) { return null; } return null == cell.getStaticValue() ? null : getSanitizedStaticValue(cell.getStaticValue().toString()); }  }
CellComparatorHelper { static public String getSanitizedStaticValue(Cell cell) { if (null == cell) { return null; } return null == cell.getStaticValue() ? null : getSanitizedStaticValue(cell.getStaticValue().toString()); }  static String getSanitizedStaticValue(Cell cell); static String getSanitizedStaticValue(String staticValue); static Comparator getAppropriateComparatorForPropertyClass(Class propClass); static Comparator getAppropriateValueComparatorForPropertyClass(Class propClass); }
CellComparatorHelper { static public String getSanitizedStaticValue(Cell cell) { if (null == cell) { return null; } return null == cell.getStaticValue() ? null : getSanitizedStaticValue(cell.getStaticValue().toString()); }  static String getSanitizedStaticValue(Cell cell); static String getSanitizedStaticValue(String staticValue); static Comparator getAppropriateComparatorForPropertyClass(Class propClass); static Comparator getAppropriateValueComparatorForPropertyClass(Class propClass);  }