Class CustomFacetsLoaderConfig

java.lang.Object
io.jmix.flowui.sys.registration.CustomFacetsLoaderConfig
All Implemented Interfaces:
FacetLoaderConfig

@Order(110) @Component("flowui_CustomFacetsLoaderConfig") public class CustomFacetsLoaderConfig extends Object implements FacetLoaderConfig
Configuration for custom FacetLoader implementations from add-ons and project configurations.
  • Field Details

  • Constructor Details

    • CustomFacetsLoaderConfig

      public CustomFacetsLoaderConfig()
  • Method Details

    • supports

      public boolean supports(org.dom4j.Element element)
      Description copied from interface: FacetLoaderConfig
      Checks whether the config contains a loader that supports the given element.
      Specified by:
      supports in interface FacetLoaderConfig
      Parameters:
      element - element to check
      Returns:
      true if the config contains suitable loader, false otherwise
    • getLoader

      public Class<? extends FacetLoader<?>> getLoader(org.dom4j.Element element)
      Specified by:
      getLoader in interface FacetLoaderConfig
      Parameters:
      element - element to load
      Returns:
      FacetLoader instance for loading the given element
    • registerLoader

      protected void registerLoader(String tagName, Class<? extends FacetLoader<?>> loaderClass)