Package io.jmix.ui.sys
Class ScreenXmlLoader
java.lang.Object
io.jmix.ui.sys.ScreenXmlLoader
Loads screen XML descriptors.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected io.micrometer.core.instrument.MeterRegistryprotected Resourcesprotected ScreenXmlDocumentCacheprotected ScreenXmlParser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.dom4j.DocumentcreateDocument(String template, Map<String, Object> params) protected org.dom4j.DocumentgetDocument(String template, Map<String, Object> params) org.dom4j.ElementLoads a descriptor.protected StringloadTemplate(String resourcePath)
-
Field Details
-
resources
-
screenXmlCache
-
screenXmlParser
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext -
meterRegistry
@Autowired protected io.micrometer.core.instrument.MeterRegistry meterRegistry
-
-
Constructor Details
-
ScreenXmlLoader
public ScreenXmlLoader()
-
-
Method Details
-
load
Loads a descriptor.- Parameters:
resourcePath- path to the resource containing the XMLid- screen IDparams- screen parameters- Returns:
- root XML element
-
loadTemplate
-
getDocument
-
createDocument
-