Interface NamingStrategyLocator

All Known Subinterfaces:
Deserializer.DecoderContext, SerdeRegistry, Serializer.EncoderContext
All Known Implementing Classes:
DefaultSerdeRegistry

public interface NamingStrategyLocator
Locator interface for a naming strategy.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    findNamingStrategy(@NonNull Class<? extends D> namingStrategyClass)
    Gets a naming strategy.
  • Method Details

    • findNamingStrategy

      @NonNull <D extends PropertyNamingStrategy> D findNamingStrategy(@NonNull @NonNull Class<? extends D> namingStrategyClass) throws SerdeException
      Gets a naming strategy.
      Type Parameters:
      D - The naming strategy type
      Parameters:
      namingStrategyClass - The naming strategy class, should not be null
      Returns:
      The naming strategy
      Throws:
      SerdeException - if no naming strategy is found