Package io.jmix.dynattrui.facet
Class DynAttrFacetProvider
java.lang.Object
io.jmix.dynattrui.facet.DynAttrFacetProvider
- All Implemented Interfaces:
FacetProvider<DynAttrFacet>
@Component("dynat_DynamicAttributeFacetProvider")
public class DynAttrFacetProvider
extends Object
implements FacetProvider<DynAttrFacet>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AttributeDefaultValues
protected DynAttrEmbeddingStrategies
-
Constructor Summary
-
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()
-
-
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
-