src/org/ohmage/validator/SurveyResponseValidators.java
public static Boolean validatePrettyPrint(final String prettyPrint) 
			throws ValidationException {
		
		return validateOptionalBoolean(
				prettyPrint, 
				ErrorCode.SURVEY_INVALID_PRETTY_PRINT_VALUE, 
				"The pretty print value is invalid: ");
	}
/**
	 * Validates the optional prettyPrint boolean.
	 * 
	 * @param returnId  The value to validate.
	 * @return  the Boolean equivalent of prettyPrint 
	 * @throws ValidationException if prettyPrint is not null and non-boolean.
	 */
Validates the optional prettyPrint boolean.

@param returnId  The value to validate.
@return  the Boolean equivalent of prettyPrint
@throws ValidationException if prettyPrint is not null and non-boolean.
Validates the optional prettyPrint boolean . @param returnId The value to validate . @return the Boolean equivalent of prettyPrint @throws ValidationException if prettyPrint is not null and non - boolean .
public static Boolean validatePrettyPrint(final String prettyPrint) 
			throws ValidationException {
		return validateOptionalBoolean(
				prettyPrint, 
				ErrorCode.SURVEY_INVALID_PRETTY_PRINT_VALUE, 
				"The pretty print value is invalid: ");
	}
public static Boolean validatePrettyPrint ( final String prettyPrint ) throws ValidationException { return validateOptionalBoolean ( prettyPrint , ErrorCode . SURVEY_INVALID_PRETTY_PRINT_VALUE , "The pretty print value is invalid: " ) ; }
Validates the optional prettyPrint boolean.
Validates the optional prettyPrint boolean .