Class ViewXmlLoader

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

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

  • 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)
    • 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)