Interface ElementProvider


  • public interface ElementProvider
    Provides a method to load an XML element with progress information and the ability to cancel it.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.jdom.Element getElement​(jebl.util.ProgressListener progressListener)
      Get an XML element with progress information and the ability to cancel it.
    • Method Detail

      • getElement

        org.jdom.Element getElement​(jebl.util.ProgressListener progressListener)
                             throws java.io.IOException
        Get an XML element with progress information and the ability to cancel it.
        Parameters:
        progressListener - a progress listener for notifying about the progress and providing that ability to cancel.
        Returns:
        the element loaded. Must not be null.
        Throws:
        java.io.IOException - if the element can not be loaded or if the progressListener cancels the request.