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

E13403-03

oracle.jdeveloper.jsp.libraries
Class JspLibrariesHandler

java.lang.Object
  extended by javax.ide.extension.ElementVisitor
      extended by javax.ide.extension.ExtensionHook
          extended by oracle.jdeveloper.jsp.libraries.JspLibrariesHandler
All Implemented Interfaces:
java.util.EventListener, IdeListener

public class JspLibrariesHandler
extends ExtensionHook
implements IdeListener


Field Summary
 
Fields inherited from class javax.ide.extension.ExtensionHook
KEY_EXTENSION, KEY_RSBUNDLE_CLASS, MANIFEST_XMLNS
 
Fields inherited from class javax.ide.extension.ElementVisitor
KEY_LOCATOR
 
Constructor Summary
JspLibrariesHandler()
           
 
Method Summary
 void addinsLoaded(IdeEvent e)
          Called in the Ide startup sequence after all the addins are loaded.
static boolean checkJar(java.net.URL absWarLibraryURL, java.lang.String tldfileJarName)
          checks whether the jar file is contained in the war library.
 void end(ElementEndContext context)
          Visit the end tag of an xml element.
static java.util.Map<java.lang.String,WarInfo> getSharedWLLibraries()
           
static java.lang.String getTldFileJarName(java.net.URL tldLocation)
          Returns the the jar file name which contains the tld file
 void mainWindowClosing(IdeEvent e)
          Called in the Ide shutdown sequence just before the UI is dismissed
 void mainWindowOpened(IdeEvent e)
          Called in the Ide startup sequence after the UI is shown.
 void start(ElementStartContext context)
          Handle the start of an XML element.
 
Methods inherited from class javax.ide.extension.ExtensionHook
findPath, getExtension, getProvider, getRSBundleClass, getSchemaLocation, resolvePath, setProvider, setSchemaLocation
 
Methods inherited from class javax.ide.extension.ElementVisitor
getClassLoader, getResourceBundle, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspLibrariesHandler

public JspLibrariesHandler()
Method Detail

start

public void start(ElementStartContext context)
Handle the start of an XML element.

Overrides:
start in class ElementVisitor
Parameters:
context - a context object.

end

public void end(ElementEndContext context)
Description copied from class: ElementVisitor
Visit the end tag of an xml element.

This implementation does nothing.

Overrides:
end in class ElementVisitor
Parameters:
context - information about the xml end tag.

addinsLoaded

public void addinsLoaded(IdeEvent e)
Called in the Ide startup sequence after all the addins are loaded.

Specified by:
addinsLoaded in interface IdeListener
Parameters:
e - the event

mainWindowOpened

public void mainWindowOpened(IdeEvent e)
Called in the Ide startup sequence after the UI is shown.

Specified by:
mainWindowOpened in interface IdeListener
Parameters:
e - the event

mainWindowClosing

public void mainWindowClosing(IdeEvent e)
Called in the Ide shutdown sequence just before the UI is dismissed

Specified by:
mainWindowClosing in interface IdeListener
Parameters:
e - the event

getSharedWLLibraries

public static java.util.Map<java.lang.String,WarInfo> getSharedWLLibraries()

getTldFileJarName

public static java.lang.String getTldFileJarName(java.net.URL tldLocation)
Returns the the jar file name which contains the tld file

Parameters:
tldLocation - the location of the tld file .

checkJar

public static boolean checkJar(java.net.URL absWarLibraryURL,
                               java.lang.String tldfileJarName)
checks whether the jar file is contained in the war library.

Parameters:
absWarLibraryURL - absulote URL of war library.
tldfileJarName - the Jar file name .

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

E13403-03

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