@Test public void testExtractFromHrefAndRemoveNbsp() { String href = "<a href=\"haystack\">needle&nbsp;</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);  }