Package io.jmix.flowui.sys
Class ViewXmlLoader
java.lang.Object
io.jmix.flowui.sys.ViewXmlLoader
Loads view XML descriptors.
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected Resources
protected ViewXmlDocumentCache
protected ViewXmlParser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.dom4j.Document
createDocument
(String template) protected org.dom4j.Document
getDocument
(String template) org.dom4j.Element
Loads a descriptor.void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setResources
(Resources resources) void
setViewXmlDocumentCache
(ViewXmlDocumentCache viewXmlDocumentCache) void
setViewXmlParser
(ViewXmlParser viewXmlParser)
-
Field Details
-
resources
-
viewXmlDocumentCache
-
viewXmlParser
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
ViewXmlLoader
public ViewXmlLoader()
-
-
Method Details
-
setResources
-
setViewXmlDocumentCache
-
setViewXmlParser
-
setApplicationContext
@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) -
load
Loads a descriptor.- Parameters:
resourcePath
- path to the resource containing the XML- Returns:
- root XML element
-
getDocument
-
createDocument
-