Package io.jmix.dynattrflowui.facet
Class DynAttrFacetProvider
java.lang.Object
io.jmix.dynattrflowui.facet.DynAttrFacetProvider
- All Implemented Interfaces:
FacetProvider<DynAttrFacet>
@Component("dynat_DynamicAttributeFacetProvider")
public class DynAttrFacetProvider
extends Object
implements FacetProvider<DynAttrFacet>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AttributeDefaultValues
protected final DynAttrEmbeddingStrategies
-
Constructor Summary
ConstructorDescriptionDynAttrFacetProvider
(DynAttrEmbeddingStrategies embeddingStrategies, AttributeDefaultValues attributeDefaultValues) -
Method Summary
Modifier and TypeMethodDescriptioncreate()
void
loadFromXml
(DynAttrFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.
-
Field Details
-
embeddingStrategies
-
attributeDefaultValues
-
-
Constructor Details
-
DynAttrFacetProvider
public DynAttrFacetProvider(DynAttrEmbeddingStrategies embeddingStrategies, AttributeDefaultValues attributeDefaultValues)
-
-
Method Details
-
getFacetClass
- Specified by:
getFacetClass
in interfaceFacetProvider<DynAttrFacet>
- Returns:
- facet interface
-
create
- Specified by:
create
in interfaceFacetProvider<DynAttrFacet>
- Returns:
- new instance of the facet class
-
getFacetTag
- Specified by:
getFacetTag
in interfaceFacetProvider<DynAttrFacet>
- Returns:
- facet XML tag
-
loadFromXml
public void loadFromXml(DynAttrFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Description copied from interface:FacetProvider
Loads properties of the facet from XML.- Specified by:
loadFromXml
in interfaceFacetProvider<DynAttrFacet>
- Parameters:
facet
- facetelement
- XML elementcontext
- loading context
-