Package io.jmix.flowui.xml.layout
Interface LoaderConfig
- All Known Implementing Classes:
CustomComponentsLoaderConfig
,LayoutLoaderConfig
public interface LoaderConfig
Marker interface for component loaders.
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends ComponentLoader>
getLoader
(org.dom4j.Element element) Class<? extends ComponentLoader>
getViewLoader
(org.dom4j.Element root) boolean
supports
(org.dom4j.Element element) Checks whether the config contains a loader that supports the givenelement
.
-
Method Details
-
supports
boolean supports(org.dom4j.Element element) Checks whether the config contains a loader that supports the givenelement
.- Parameters:
element
- element- Returns:
- true if the config contains suitable loader, of false otherwise
-
getLoader
- Parameters:
element
- element to load- Returns:
ComponentLoader
instance
-
getViewLoader
- Parameters:
root
- view's root element- Returns:
- loader class for view or
null
if config does not support givenroot
-