Package io.jmix.ui.sys
Class XmlInheritanceProcessor
java.lang.Object
io.jmix.ui.sys.XmlInheritanceProcessor
@Component("ui_XmlInheritanceProcessor")
@Scope("prototype")
public class XmlInheritanceProcessor
extends Object
Provides inheritance of screen XML descriptors.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
protected static interface
protected static class
protected static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected Resources
protected ScreenXmlParser
-
Constructor Summary
ConstructorDescriptionXmlInheritanceProcessor
(org.dom4j.Document document, Map<String, Object> params) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addNewElement
(org.dom4j.Element resultElem, org.dom4j.Element element, Set<org.dom4j.Element> justAdded) protected InputStream
getAncestorStream
(String ancestorTemplate) org.dom4j.Element
protected void
process
(org.dom4j.Element resultElem, org.dom4j.Element extElem)
-
Field Details
-
resources
-
screenXmlParser
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
XmlInheritanceProcessor
-
-
Method Details
-
getResultRoot
public org.dom4j.Element getResultRoot() -
getAncestorStream
-
process
protected void process(org.dom4j.Element resultElem, org.dom4j.Element extElem) -
addNewElement
protected void addNewElement(org.dom4j.Element resultElem, org.dom4j.Element element, Set<org.dom4j.Element> justAdded)
-