Class AbstractLayerLoader<L extends Layer>

java.lang.Object
io.jmix.mapsflowui.component.loader.layer.AbstractLayerLoader<L>
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
ImageLayerLoader, TileLayerLoader, VectorLayerLoader

public abstract class AbstractLayerLoader<L extends Layer> extends Object implements org.springframework.context.ApplicationContextAware
  • Field Details

    • loaderSupport

      protected LoaderSupport loaderSupport
    • mapLoaderSupport

      protected MapLoaderSupport mapLoaderSupport
    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
    • context

      protected ComponentLoader.Context context
    • layer

      protected L extends Layer layer
    • element

      protected org.dom4j.Element element
  • Constructor Details

    • AbstractLayerLoader

      public AbstractLayerLoader(ComponentLoader.Context context, org.dom4j.Element layerElement)
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • createLayer

      protected abstract L createLayer()
    • loadLayer

      public L loadLayer()
    • loadBaseLayerAttributes

      protected void loadBaseLayerAttributes()
    • loadSpecificLayerTypeAttributes

      protected abstract void loadSpecificLayerTypeAttributes()
    • loadSource

      protected void loadSource()
    • createSourceElementByName

      protected abstract Source createSourceElementByName(String sourceName)
    • loadSourceAttributes

      protected abstract void loadSourceAttributes(Source source, org.dom4j.Element element)
    • mapLoaderSupport

      protected MapLoaderSupport mapLoaderSupport()
    • loaderSupport

      protected LoaderSupport loaderSupport()