oracle.ide
Interface ExtensionTagHandler
- All Known Implementing Classes:
- GalleryTagHandler, JspLibraryTagHandler, LibraryTagHandler
- public interface ExtensionTagHandler
Enables handlers to register their own xml tag element with the AddinManager, enabling them to be called when the addin manager reads the xml tag.
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 |
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.
-
- 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
-
- 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
Copyright © 1997, 2004, Oracle. All rights reserved.