Extension SDK 10.1.2


oracle.jdeveloper.library
Class LibraryTagHandler

java.lang.Object
  extended byoracle.jdeveloper.library.LibraryTagHandler

All Implemented Interfaces:
ExtensionTagHandler

public class LibraryTagHandler
extends java.lang.Object
implements ExtensionTagHandler

Class to handle the "library" xml tag when read by the extension manager.


Constructor Summary
LibraryTagHandler()

Method Summary
boolean load(org.w3c.dom.Element elm, java.net.URL url, boolean quiet)
Called by the Extension (Addin) Manager when the registered xml tag is read.
boolean unload(org.w3c.dom.Element elm, java.net.URL url, boolean quiet)
Called by the Extension (Addin) Manager when the extension which "owns" the xml tag is deinitialized

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

Constructor Detail

LibraryTagHandler

public LibraryTagHandler()

Method Detail

load

public boolean load(org.w3c.dom.Element elm,
                    java.net.URL url,
                    boolean quiet)
             throws ExtensionTagException
Called by the Extension (Addin) Manager when the registered xml tag is read.
Specified by:
load in interface ExtensionTagHandler
Parameters:
elm - xml element that corresponds to he registered xml tag
url - location of the jar file that the element has been read from
quiet - if true then a diagnostic message using the Assert class should be displayed with the class name.
Returns:
true if element is loaded
Throws:
ExtensionTagException

unload

public boolean unload(org.w3c.dom.Element elm,
                      java.net.URL url,
                      boolean quiet)
               throws ExtensionTagException
Called by the Extension (Addin) Manager when the extension which "owns" the xml tag is deinitialized
Specified by:
unload in interface ExtensionTagHandler
Parameters:
elm - xml element that corresponds to he registered xml tag
url - location of the jar file that the element has been read from
quiet - if true then a diagnostic message using the Assert class should be displayed with the class name.
Returns:
true if element is unloaded
Throws:
ExtensionTagException

Extension SDK


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