Class ViewXmlLoader

java.lang.Object
io.jmix.flowui.sys.ViewXmlLoader

@Component("flowui_ViewXmlLoader") public class ViewXmlLoader extends Object
Loads view XML descriptors.
  • Field Details

    • resources

      protected Resources resources
    • viewXmlDocumentCache

      protected ViewXmlDocumentCache viewXmlDocumentCache
    • viewXmlParser

      protected ViewXmlParser viewXmlParser
    • applicationContext

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

    • ViewXmlLoader

      public ViewXmlLoader()
  • Method Details

    • setResources

      @Autowired public void setResources(Resources resources)
    • setViewXmlDocumentCache

      @Autowired public void setViewXmlDocumentCache(ViewXmlDocumentCache viewXmlDocumentCache)
    • setViewXmlParser

      @Autowired public void setViewXmlParser(ViewXmlParser viewXmlParser)
    • setApplicationContext

      @Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
    • load

      public org.dom4j.Element load(String resourcePath)
      Loads a descriptor.
      Parameters:
      resourcePath - path to the resource containing the XML
      Returns:
      root XML element
    • getDocument

      protected org.dom4j.Document getDocument(String template)
    • createDocument

      protected org.dom4j.Document createDocument(String template)