Interface McpLocalizationLookup
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Thread-safe request-local lookup against one captured immutable translation
snapshot.
Lookups must be bounded, in-memory, nonblocking, and deterministic. An
operational lookup failure is represented by
McpLocalizationResult.failure() rather than thrown.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionLocalizes one framework-owned source-text field.
-
Method Details
-
localize
Localizes one framework-owned source-text field.- Parameters:
text- structured coordinate and canonical source text- Returns:
- non-null localization result
-