|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object project35.soa.validation.AbstractEditFieldValidationService project35.soa.validation.URLValidator
public class URLValidator
Supposed to check whether field is a valid URL. However, this became a bit complicated considering users might type in relative or absolute paths, which wouldn't necessarily be in a URL format. It could check if the URL exists but that might end up annoying the user. This class will probably be removed in the next release.
Field Summary |
---|
Fields inherited from class project35.soa.validation.AbstractEditFieldValidationService |
---|
collator |
Constructor Summary | |
---|---|
URLValidator()
|
Method Summary | |
---|---|
java.util.ArrayList |
validate(Project35FormContext project35FormContext,
java.lang.String value)
validates the field value and returns any error messages |
Methods inherited from class project35.soa.validation.AbstractEditFieldValidationService |
---|
getFieldName, getInitialisationParameters, initialiseService, isEmpty, isFieldRequired, setFieldName, setRequiredField, validateRequiredField |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URLValidator()
Method Detail |
---|
public java.util.ArrayList validate(Project35FormContext project35FormContext, java.lang.String value)
EditFieldValidationService
validate
in interface EditFieldValidationService
validate
in class AbstractEditFieldValidationService
value
- the value of the field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |