com.jivesoftware.community
Interface DocumentFieldValidator
public interface DocumentFieldValidator
Document field validators validate a document field value as entered or selected by the end
user.
validate
String validate(String value,
User user)
- Performs field validation on user supplied input. Returns null if validation succeeds or an
error string if validation fails.
- Parameters:
value - the user supplied value. If no value has been provided by the user then the
value should be null.user - the user supplying the value, or null if anonymous.
- Returns:
- null if validation succeeds or an error string if validation fails.
Copyright © 1999-2007 Jive Software.