public class NormeValidator extends AbstractContentValidator
Constructor and Description |
---|
NormeValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(Content content,
Errors errors)
Validates a content.
|
void |
validate(Content content,
Form form,
MetadataSet metadataSet,
Errors errors)
Validates a content with the edited form.
|
getContentType, setContentType
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public NormeValidator()
public void validate(Content content, Errors errors)
ContentValidator
content
- the content to validateerrors
- the structure to populate if the validation failed.public void validate(Content content, Form form, MetadataSet metadataSet, Errors errors)
ContentValidator
content
- the content to validateform
- the form to validatemetadataSet
- the edited metadata seterrors
- the structure to populate if the validation failed.