public class CmsUrlNameValidator extends java.lang.Object implements I_CmsValidator
构造器和说明 |
---|
CmsUrlNameValidator(java.lang.String parentPath,
CmsUUID id)
Creates a new URL name validator.
|
限定符和类型 | 方法和说明 |
---|---|
void |
validate(I_CmsFormField field,
I_CmsValidationController controller)
If this method is called, the object should either validate the form field and report the result to the
validation controller, or request asynchronous validation of the field from the validation controller.
|
public CmsUrlNameValidator(java.lang.String parentPath, CmsUUID id)
parentPath
- the parent path of the resource for which the URL name is being validatedid
- the id of the resource whose URL name is being validatedpublic void validate(I_CmsFormField field, I_CmsValidationController controller)
I_CmsValidator
validate
在接口中 I_CmsValidator
field
- the form field to be validatedcontroller
- the validation controllerI_CmsValidator.validate(org.opencms.gwt.client.ui.input.I_CmsFormField, org.opencms.gwt.client.validation.I_CmsValidationController)