src/org/ohmage/validator/DocumentValidators.java
public static Set<String> validateDescriptionSearch(
			final String value) 
			throws ValidationException {
		
		if(StringUtils.isEmptyOrWhitespaceOnly(value)) {
			return null;
		}
		
		return StringUtils.decodeSearchString(value);
	}
/**
	 * Tokenizes a string based on whitespace while respecting quoted sections
	 * of the string.
	 * 
	 * @param value The search string to be tokenized.
	 * 
	 * @return The set of tokens.
	 * 
	 * @throws ValidationException Never thrown.
	 */
Tokenizes a string based on whitespace while respecting quoted sections
of the string.

@param value The search string to be tokenized.

@return The set of tokens.

@throws ValidationException Never thrown.
Tokenizes a string based on whitespace while respecting quoted sections of the string . @param value The search string to be tokenized . @return The set of tokens . @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 a string based on whitespace while respecting quoted sections
 of the string.
Tokenizes a string based on whitespace while respecting quoted sections of the string .