Interface KeywordFactory

  • All Known Implementing Classes:
    DisallowUnknownKeywordFactory, UnknownKeywordFactory
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface KeywordFactory
    Factory for Keyword.
    • Method Detail

      • getKeyword

        Keyword getKeyword​(java.lang.String value,
                           ValidationContext validationContext)
        Gets the keyword given the keyword value.
        Parameters:
        value - the keyword value
        validationContext - the validationContext
        Returns:
        the keyword