@Override
	public boolean validate(final Problems problems, final String compName, final String model) {
		final Matcher m = this.pattern.matcher(model);
		final boolean result = this.acceptPartialMatches ? m.lookingAt() : m.matches();
		if (!result) {
			String prb = this.message;
			prb = MessageFormat.format(prb, new Object[] { compName, model });
			problems.add(prb);
		}
		return result;
	}
@ Override public boolean validate ( final Problems problems , final String compName , final String model ) { final Matcher m = this . pattern . matcher ( model ) ; final boolean result = this . acceptPartialMatches ? m . lookingAt ( ) : m . matches ( ) ; if ( ! result ) { String prb = this . message ; prb = MessageFormat . format ( prb , new Object [ ] { compName , model } ) ; problems . add ( prb ) ; } return result ; }
/*
(non-Javadoc)

@see
com.fs.commons.desktop.validation.Validator#validate(com.fs.commons.desktop.
validation.Problems, java.lang.String, java.lang.Object)