I am not quite sure why you think the javadocs and the online documentation are not compatible. The signature is:
Code:
<T> Set<ConstraintViolation<T>> validateProperty(T object, String propertyName, Class<?>... groups);
where
T is the object to validate,
propertyName the property name you want to validate (Java Bean notation) and
groups is a vararg argument allowing to specify the groups to validate.
In the online documentation example we leave out the
groups parameter which implicitly validated the
Default group.
I agree however, that the Hibernate Validator javadoc should be linked to a Bean Validation Javadoc.
--Hardy