public abstract class ResourceNodeFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static ResourceNodeFactory |
INSTANCE |
Modifier | Constructor and Description |
---|---|
protected |
ResourceNodeFactory() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String[] |
decodeURL(java.net.URL url)
Extracts the repository id and repository path from a jdev.rc URL.
|
abstract DirContextNode |
findOrCreateDirContextNode(RescatContext rescatContext,
oracle.adf.rc.core.CatalogContext catalogContext,
DirContextNode parent)
Create the DirContextNode that corresponds to the CatalogContext.
|
abstract Element |
findOrCreateElement(RescatContext rescatContext,
oracle.adf.rc.resource.Resource resource)
Create the Element that corresponds to the resource.
|
abstract java.net.URL |
getCatalogContextURL(RescatContext rescatContext,
oracle.adf.rc.core.CatalogContext catalogContext)
Build a unique internal URL (jdev.rc://...) to that catalog context.
|
static ResourceNodeFactory |
getInstance() |
abstract oracle.adf.rc.core.CatalogItem |
resolveCatalogItemURL(java.net.URL url)
Finds the CatalogItem (resource or context) associated with the URL.
|
abstract oracle.adf.rc.resource.Resource |
resolveURL(java.net.URL url)
Finds the Resource associated with the URL.
|
protected static ResourceNodeFactory INSTANCE
public static ResourceNodeFactory getInstance()
public abstract oracle.adf.rc.resource.Resource resolveURL(java.net.URL url)
url
- an internal "jdev.rc://..." urlpublic abstract oracle.adf.rc.core.CatalogItem resolveCatalogItemURL(java.net.URL url)
url
- an internal "jdev.rc://..." urlpublic abstract java.lang.String[] decodeURL(java.net.URL url)
public abstract java.net.URL getCatalogContextURL(RescatContext rescatContext, oracle.adf.rc.core.CatalogContext catalogContext)
public abstract Element findOrCreateElement(RescatContext rescatContext, oracle.adf.rc.resource.Resource resource)
public abstract DirContextNode findOrCreateDirContextNode(RescatContext rescatContext, oracle.adf.rc.core.CatalogContext catalogContext, DirContextNode parent)