Interface Unmatched

All Known Implementing Classes:
Unmatched.Absent, Unmatched.Computed, Unmatched.Delegate, Unmatched.Fail, Unmatched.Fixed, Unmatched.Identity

What a Mapping answers with when the requested key has no entry.

Every mode but Unmatched.Delegate answers on its own; Unmatched.Delegate hands the question to another mapping, whose own fallback then decides.

This replaces the (ELSE) clause of the Groovy mapping DSL, whose value could be any Groovy expression. The vocabulary here is closed and therefore exhaustively checkable: a mapping file can only declare one of the modes below, and Unmatched.Computed can only name a function that a MappingFunctionRegistry knows about.

Since:
6.0