Class EMFUtil.ExtResourceSet

All Implemented Interfaces:
Notifier, ResourceSet
Enclosing class:
EMFUtil

public static class EMFUtil.ExtResourceSet extends ResourceSetImpl
An extension of ResourceSetImpl that allows demandLoading of resources and delegation of resource lookups, to be switched on/off as desired.
Since:
4.0
  • Constructor Details

    • ExtResourceSet

      public ExtResourceSet(boolean delegating, boolean demandLoading)
      Since:
      4.7
  • Method Details

    • isDelegating

      public boolean isDelegating()
    • setDelegating

      public void setDelegating(boolean delegating)
    • isDemandLoading

      public boolean isDemandLoading()
    • setDemandLoading

      public void setDemandLoading(boolean demandLoading)
    • demandLoad

      protected void demandLoad(Resource resource) throws IOException
      Overrides:
      demandLoad in class ResourceSetImpl
      Throws:
      IOException
    • delegatedGetResource

      protected Resource delegatedGetResource(URI uri, boolean loadOnDemand)
      Overrides:
      delegatedGetResource in class ResourceSetImpl