Class Validation

java.lang.Object
org.patternfly.core.Validation

public final class Validation extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <E extends Enum<E>>
    boolean
    verifyEnum(elemental2.dom.Element element, String property, E value, E firstAllowedValue, E... otherAllowedValues)
     
    static boolean
    verifyRange(elemental2.dom.Element element, String property, int value, int min, int max)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Validation

      public Validation()
  • Method Details

    • verifyRange

      public static boolean verifyRange(elemental2.dom.Element element, String property, int value, int min, int max)
    • verifyEnum

      @SafeVarargs public static <E extends Enum<E>> boolean verifyEnum(elemental2.dom.Element element, String property, E value, E firstAllowedValue, E... otherAllowedValues)