Interface Resource


public interface Resource
The Resource interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.emf.common.util.URI
    Returns the EMF URI of the resource.
    Returns a text source based on the current resource.
    Returns the URL of the resource.
  • Method Details

    • asTextSource

      TextSource asTextSource()
      Returns a text source based on the current resource.
      Returns:
      a text source based on the current resource
    • asURL

      URL asURL()
      Returns the URL of the resource.
      Returns:
      the URL of the resource
    • asEMFURI

      org.eclipse.emf.common.util.URI asEMFURI()
      Returns the EMF URI of the resource.
      Returns:
      the EMF URI of the resource