Package io.jmix.ui.sys
Class ScreenXmlLoader
java.lang.Object
io.jmix.ui.sys.ScreenXmlLoader
Loads screen XML descriptors.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected io.micrometer.core.instrument.MeterRegistryprotected Resourcesprotected ScreenXmlDocumentCacheprotected ScreenXmlParser
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
ScreenXmlLoaderpublic ScreenXmlLoader()
 
- 
- 
Method Details- 
loadLoads a descriptor.- Parameters:
- resourcePath- path to the resource containing the XML
- id- screen ID
- params- screen parameters
- Returns:
- root XML element
 
- 
loadTemplate
- 
getDocument
- 
createDocument
 
-