class BooleanValueConverter extends AbstractValueConverter<Boolean> {

	@Override
	public Boolean convert(String s) {
		if (TRUE.equals(s) || FALSE.equals(s)) {
			return Boolean.valueOf(s);
		}
		throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean.");
	}

}