Class DefaultFacetLoaderConfig

java.lang.Object
io.jmix.flowui.xml.facet.DefaultFacetLoaderConfig
All Implemented Interfaces:
FacetLoaderConfig

@Order(1000) @Component("flowui_DefaultFacetLoaderConfig") public class DefaultFacetLoaderConfig extends Object implements FacetLoaderConfig
Configuration for default FacetLoader implementations.
  • Field Details

  • Constructor Details

    • DefaultFacetLoaderConfig

      public DefaultFacetLoaderConfig()
  • 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
    • initDefaultLoaders

      protected void initDefaultLoaders()