src/org/ohmage/validator/ClassValidators.java
public static Set<String> validateDescriptionSearch(
			final String value)
			throws ValidationException {
		
		if(StringUtils.isEmptyOrWhitespaceOnly(value)) {
			return null;
		}
		
		return StringUtils.decodeSearchString(value);
	}
/**
	 * Tokenizes the description search string into search tokens. No real 
	 * validation is performed as the search tokens are allowed to be anything.
	 * 
	 * @param value The value to validate.
	 * 
	 * @return The set of search tokens or null if the string was null or only
	 * 		   whitespace.
	 * 
	 * @throws ValidationException Never thrown.
	 */
Tokenizes the description search string into search tokens. No real
validation is performed as the search tokens are allowed to be anything.

@param value The value to validate.

@return The set of search tokens or null if the string was null or only
whitespace.

@throws ValidationException Never thrown.
Tokenizes the description search string into search tokens . No real validation is performed as the search tokens are allowed to be anything . @param value The value to validate . @return The set of search tokens or null if the string was null or only whitespace . @throws ValidationException Never thrown .
public static Set<String> validateDescriptionSearch(
			final String value)
			throws ValidationException {
		if(StringUtils.isEmptyOrWhitespaceOnly(value)) {
			return null;
		}
		return StringUtils.decodeSearchString(value);
	}
public static Set < String > validateDescriptionSearch ( final String value ) throws ValidationException { if ( StringUtils . isEmptyOrWhitespaceOnly ( value ) ) { return null ; } return StringUtils . decodeSearchString ( value ) ; }
Tokenizes the description search string into search tokens.
Tokenizes the description search string into search tokens .