Package io.jmix.dynmodelflowui.impl
Class DynamicAttributeComponentXmlFactory
java.lang.Object
io.jmix.dynmodelflowui.impl.DynamicAttributeComponentXmlFactory
@Component("dynmod_DynamicAttributeComponentXmlFactory")
public class DynamicAttributeComponentXmlFactory
extends Object
Builds dom4j elements (columns and form components) for dynamic attributes of a static entity,
driven by the Admin-UI
DynamicAttributeModel rather than runtime MetaProperty.
Mirrors io.jmix.flowui.view.template.impl.ComponentXmlFactory's datatype-to-component
mapping. New elements are created in the parent element's namespace so the serialized extension
XML stays in the view namespace without redundant xmlns declarations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected org.dom4j.Elementorg.dom4j.ElementaddColumn(org.dom4j.Element columnsElement, DynamicAttributeModel attribute) org.dom4j.ElementaddComponent(org.dom4j.Element parentElement, DynamicAttributeModel attribute) componentName(DynamicAttributeModel attribute) datatypeComponentName(@Nullable String javaClassName, boolean lob) protected @Nullable Class<?>
-
Constructor Details
-
DynamicAttributeComponentXmlFactory
public DynamicAttributeComponentXmlFactory()
-
-
Method Details
-
addColumn
public org.dom4j.Element addColumn(org.dom4j.Element columnsElement, DynamicAttributeModel attribute) -
addComponent
public org.dom4j.Element addComponent(org.dom4j.Element parentElement, DynamicAttributeModel attribute) -
componentName
-
datatypeComponentName
-
loadClass
-
addAction
-
addChild
-