Package io.jmix.flowui.xml.facet
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends FacetLoader<?>>getLoader(org.dom4j.Element element) protected voidbooleansupports(org.dom4j.Element element) Checks whether the config contains a loader that supports the givenelement.
-
Field Details
-
loaders
-
-
Constructor Details
-
DefaultFacetLoaderConfig
public DefaultFacetLoaderConfig()
-
-
Method Details
-
supports
public boolean supports(org.dom4j.Element element) Description copied from interface:FacetLoaderConfigChecks whether the config contains a loader that supports the givenelement.- Specified by:
supportsin interfaceFacetLoaderConfig- Parameters:
element- element to check- Returns:
trueif the config contains suitable loader,falseotherwise
-
getLoader
- Specified by:
getLoaderin interfaceFacetLoaderConfig- Parameters:
element- element to load- Returns:
FacetLoaderinstance for loading the givenelement
-
initDefaultLoaders
protected void initDefaultLoaders()
-