public static interface Resource.Factory
A factory is implemented to create
a specialized type of resource
and is typically registered in registry
.
ResourceSet.createResource(URI)
Modifier and Type | Interface and Description |
---|---|
static interface |
Resource.Factory.Descriptor
A descriptor used by a resource factory registry to defer factory creation.
|
static interface |
Resource.Factory.Registry
A registry of resource factories.
|
Modifier and Type | Method and Description |
---|---|
Resource |
createResource(URI uri)
Creates a resource with the given URI and returns it.
|
Resource createResource(URI uri)
Clients will typically not call this directly themselves;
it's called by the resource set to create
a resource.
uri
- the URI.ResourceSet.createResource(URI)