public ESearchType getSearchType(Attributes attributes) { String string = attributes.getValue(SEARCH); if (string == null) { return null; } else { try { return ESearchType.valueOf(string); } catch (IllegalArgumentException e) { return null; } } }
public ESearchType getSearchType(Attributes attributes) { String string = attributes.getValue(SEARCH); if (string == null) { return null; } else { try { return ESearchType.valueOf(string); } catch (IllegalArgumentException e) { return null; } } }