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.
  • Field Details

    • resources

      @Autowired protected Resources resources
    • screenXmlParser

      @Autowired protected ScreenXmlParser screenXmlParser
    • applicationContext

      @Autowired protected org.springframework.context.ApplicationContext applicationContext
  • Constructor Details

    • XmlInheritanceProcessor

      public XmlInheritanceProcessor(org.dom4j.Document document, Map<String,Object> params)
  • Method Details

    • getResultRoot

      public org.dom4j.Element getResultRoot()
    • getAncestorStream

      protected InputStream getAncestorStream(String ancestorTemplate)
    • 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)