Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.db
Class DBURLFactory

java.lang.Object
  extended by oracle.ide.db.DBURLFactory

public final class DBURLFactory
extends java.lang.Object

In the IDE SchemaObjects have navigator nodes which use URLs as identifiers. Given a provider and object a unique URL can be created to use to find or create that Node. This factory is used to create urls for SchemaObjects. Different provider implementations (or navigator implementations) can register to be the provider of URLs.

Since:
11

Nested Class Summary
static interface DBURLFactory.Helper
          Deprecated. replaced by URLHelper
static class DBURLFactory.URLHelper
          Helper registered with the DBURLFactory using the appropriate extension.xml trigger-hook.
 
Method Summary
static java.net.URL getURL(DBObjectProvider pro, SchemaObject obj, java.lang.String subType)
          Deprecated. use getURL(DBObjectProvider,SystemObject)
static java.net.URL getURL(DBObjectProvider pro, SystemObject obj)
           
static void registerHelper(DBURLFactory.Helper h)
          Deprecated. for permenant helpers, use the extension.xml mechanism instead
static void registerTemporaryHelper(DBURLFactory.Helper h)
           
static void removeHelper(DBURLFactory.Helper h)
          Removes the registered Helper from the factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerHelper

@Deprecated
public static void registerHelper(DBURLFactory.Helper h)
Deprecated. for permenant helpers, use the extension.xml mechanism instead

Register a Helper class that provides URLs for provider objects.

Parameters:
h - the helper to add to the list of registered helpers

registerTemporaryHelper

public static void registerTemporaryHelper(DBURLFactory.Helper h)

removeHelper

public static void removeHelper(DBURLFactory.Helper h)
Removes the registered Helper from the factory.

Parameters:
h - the helper to remove from the registered list
See Also:
registerHelper(oracle.ide.db.DBURLFactory.Helper)

getURL

public static java.net.URL getURL(DBObjectProvider pro,
                                  SystemObject obj)

getURL

@Deprecated
public static java.net.URL getURL(DBObjectProvider pro,
                                             SchemaObject obj,
                                             java.lang.String subType)
Deprecated. use getURL(DBObjectProvider,SystemObject)

The subType is no longer used because PACKAGE_BODY and TYPE_BODY are now object types in their own right.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.