public interface RCContextRecognizer
CatalogContext
,
the registered RCContextRecognizers are consulted to locate one that is capable of
creating the DirContextNode.
Implementors must be careful to create DirContextNodes for only their own CatalogContexts. The order of RCContextRecognizer consultation is not specified, and overly aggressive RCContextRecognizers can incorrectly override other implementations.
Modifier and Type | Method and Description |
---|---|
boolean |
canCreate(java.net.URL url,
oracle.adf.rc.core.CatalogContext catContext)
Whether this RCContextRecognizer can create a Node for the specified
CatalogContext.
|
DirContextNode |
createNode(java.net.URL url,
oracle.adf.rc.core.CatalogContext catContext,
DirContextNode parent)
Creates an
DirContextNode to represent the specified CatalogContext. |
boolean canCreate(java.net.URL url, oracle.adf.rc.core.CatalogContext catContext)
url
- the URL of the CatalogContextcatContext
- the CatalogContext instanceDirContextNode createNode(java.net.URL url, oracle.adf.rc.core.CatalogContext catContext, DirContextNode parent)
DirContextNode
to represent the specified CatalogContext.url
- the URL of the CatalogContextcatContext
- the CatalogContext instanceparent
- this parent DirContextNode of the one to be created