Class AttachValidator

    • Constructor Detail

      • AttachValidator

        public AttachValidator()
    • Method Detail

      • validate

        public void validate​(Attach target)
                      throws ValidationException
        Description copied from interface: Validator
        Validates the target content by applying validation rules. When content fails validation the validator may throw an exception depending on the implementation.
        Specified by:
        validate in interface Validator<Attach>
        Throws:
        ValidationException - indicates validation failure (implementation-specific)