org.appng.api.validation.contraints

## Annotation Type RichtextSize

-     @Target(value={METHOD,FIELD})
       @Retention(value=RUNTIME)
       @Constraint(validatedBy=RichtextSizeValidator.class)
      public @interface RichtextSize

  A validation constraint for checking the plain text length of a string that contains HTML markup.
  Author:
    Matthias Müller

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `long` | `max`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `Class<?>[]` | `groups`
    `String` | `message`
    `long` | `min`
    `Class<? extends javax.validation.Payload>[]` | `payload`

- - ### Element Detail

    - #### max

          public abstract long max

  - - #### message

          public abstract String message

      Default:
        "{validation.string.max}"

  - - #### groups

          public abstract Class<?>[] groups

      Default:
        {}

  - - #### min

          public abstract long min

      Default:
        0L

  - - #### payload

          public abstract Class<? extends javax.validation.Payload>[] payload

      Default:
        {}

Copyright © 2011–2023 aiticon GmbH. All rights reserved.