Class FragmentDescriptorLoader

java.lang.Object
io.jmix.flowui.xml.layout.loader.FragmentDescriptorLoader

@Component("flowui_FragmentDescriptorLoader") public class FragmentDescriptorLoader extends Object
  • Field Details

    • CACHE_DESCRIPTORS_COUNT

      protected static final int CACHE_DESCRIPTORS_COUNT
      See Also:
    • resources

      protected final Resources resources
    • cache

      protected com.google.common.cache.Cache<String,org.dom4j.Document> cache
  • Constructor Details

    • FragmentDescriptorLoader

      public FragmentDescriptorLoader(Resources resources)
  • Method Details

    • load

      public org.dom4j.Element load(String path)
    • loadTemplate

      protected String loadTemplate(String resourcePath)
    • getDocument

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

      protected org.dom4j.Document createDocument(String descriptor)