Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.composite
Class CompositeFileElementRegistry

java.lang.Object
  extended by oracle.ide.composite.CompositeFileElementRegistry


public class CompositeFileElementRegistry
extends java.lang.Object

The registry class for composite file element proxies, which enable element instances to be associated with arbitrary URLs.


Method Summary
static void addCompositeListener(CompositeFileElementListener l)
          Adds a listener to receive composite file element event notification.
static void deregisterCompositeProxy(CompositeFileElementProxy compositeProxy)
          Deregisters a proxy object for a composite file element type.
static void fireCompositeStateChanged(java.lang.Class compositeElementClass)
          Fires a state change event for the given composite element class.
static void fireCompositeStateChanged(Element compositeElement)
          Fires a state change event for the given composite element instance.
static void fireCompositeStateChanged(Element[] compositeElements)
          Fires a state change event for the given composite element instances.
static Element[] getCachedCompositeElements(java.net.URL[] urls)
          Gets the cached composite elements representing the given file URLs.
static java.net.URL[] getCompositeFileURLs(Element compositeElement)
          Gets the file URLs for the given composite element instance.
static java.net.URL[] getCompositeFileURLs(Element compositeElement, java.lang.String viewType)
          Gets the file URLs for the given composite element instance.
static boolean isCompositeElement(Element element)
          Asks whether the given element instance is a composite file element type.
static boolean isCompositeElement(Element element, java.lang.String viewType)
          Asks whether the given element instance is a composite file element type.
static void registerCompositeProxy(CompositeFileElementProxy compositeProxy)
          Registers a proxy object for a composite file element type.
static void removeCompositeListener(CompositeFileElementListener l)
          Removes a listener to receive composite file element event notification.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

registerCompositeProxy

public static final void registerCompositeProxy(CompositeFileElementProxy compositeProxy)
Registers a proxy object for a composite file element type.
Parameters:
compositeProxy - the proxy object.

deregisterCompositeProxy

public static final void deregisterCompositeProxy(CompositeFileElementProxy compositeProxy)
Deregisters a proxy object for a composite file element type.
Parameters:
compositeProxy - the proxy object.

fireCompositeStateChanged

public static final void fireCompositeStateChanged(Element compositeElement)
Fires a state change event for the given composite element instance.
Parameters:
compositeElement - the composite element instance.

fireCompositeStateChanged

public static final void fireCompositeStateChanged(java.lang.Class compositeElementClass)
Fires a state change event for the given composite element class.
Parameters:
compositeElementClass - the composite element class.

fireCompositeStateChanged

public static final void fireCompositeStateChanged(Element[] compositeElements)
Fires a state change event for the given composite element instances.
Parameters:
compositeElements - the composite element instances.

addCompositeListener

public static final void addCompositeListener(CompositeFileElementListener l)
Adds a listener to receive composite file element event notification.
Parameters:
l - the listener.

removeCompositeListener

public static final void removeCompositeListener(CompositeFileElementListener l)
Removes a listener to receive composite file element event notification.
Parameters:
l - the listener.

isCompositeElement

public static final boolean isCompositeElement(Element element)
Asks whether the given element instance is a composite file element type.
Parameters:
element - the element instance.
Returns:
a verdict on whether the element is a composite.

isCompositeElement

public static final boolean isCompositeElement(Element element,
                                               java.lang.String viewType)
Asks whether the given element instance is a composite file element type.
Parameters:
element - the element instance.
viewType - the view type.
Returns:
a verdict on whether the element is a composite.

getCompositeFileURLs

public static final java.net.URL[] getCompositeFileURLs(Element compositeElement)
Gets the file URLs for the given composite element instance.
Parameters:
compositeElement - the composite element instance.
Returns:
the file URLs.

getCompositeFileURLs

public static final java.net.URL[] getCompositeFileURLs(Element compositeElement,
                                                        java.lang.String viewType)
Gets the file URLs for the given composite element instance.
Parameters:
compositeElement - the composite element instance.
viewType - the view type.
Returns:
the file URLs.

getCachedCompositeElements

public static final Element[] getCachedCompositeElements(java.net.URL[] urls)
Gets the cached composite elements representing the given file URLs.
Parameters:
urls - the file URLs.
Returns:
the cached composite elements.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


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