Interface FormatFactoryInterface

    • Method Detail

      • supportedClasses

        Collection<Class<?>> supportedClasses()
        Returns the list of supported classes. When the list doesn't contain elements the factory is supposed to support all kinds of classes. The factory must decide on other criteria whether it can build a Format.
        Returns:
        the list of supported classes
      • canBuild

        boolean canBuild​(FormattingOptions formattingOptions)
        Can it build a Format. Answers the question about whether it can build a Format.
        Parameters:
        formattingOptions -
        Returns:
        can build