Package io.jmix.ui.sys
Class ScreenXmlLoader
java.lang.Object
io.jmix.ui.sys.ScreenXmlLoader
Loads screen XML descriptors.
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected io.micrometer.core.instrument.MeterRegistry
protected Resources
protected ScreenXmlDocumentCache
protected ScreenXmlParser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.dom4j.Document
createDocument
(String template, Map<String, Object> params) protected org.dom4j.Document
getDocument
(String template, Map<String, Object> params) org.dom4j.Element
Loads a descriptor.protected String
loadTemplate
(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
-