Class AbstractFormat

    • Constructor Detail

      • AbstractFormat

        public AbstractFormat​(String name,
                              String errorMessageDescription)
        Constructor.
        Parameters:
        name - the name
        errorMessageDescription - the error message description
    • Method Detail

      • matches

        public boolean matches​(ExecutionContext executionContext,
                               String value)
        Description copied from interface: Format
        Determines if the value matches the format.
        Parameters:
        executionContext - the execution context
        value - to match
        Returns:
        true if matches
      • matches

        public abstract boolean matches​(String value)