Package io.jmix.flowui.sys
Class ViewXmlLoader
java.lang.Object
io.jmix.flowui.sys.ViewXmlLoader
Loads view XML descriptors.
-
Field Summary
Modifier and TypeFieldDescriptionprotected 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
setResources
(Resources resources) void
setViewXmlDocumentCache
(ViewXmlDocumentCache viewXmlDocumentCache) void
setViewXmlParser
(ViewXmlParser viewXmlParser)
-
Field Details
-
resources
-
viewXmlDocumentCache
-
viewXmlParser
-
-
Constructor Details
-
ViewXmlLoader
public ViewXmlLoader()
-
-
Method Details
-
setResources
-
setViewXmlDocumentCache
-
setViewXmlParser
-
load
Loads a descriptor.- Parameters:
resourcePath
- path to the resource containing the XML- Returns:
- root XML element
-
getDocument
-
createDocument
-