|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.webapp.libraries.TagLibraryManager<JspLibrary>
oracle.jdeveloper.jsp.libraries.JspLibraryManager
public final class JspLibraryManager
Restrictions imposed by the library manager:
TagLibraryManager
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.jdeveloper.webapp.libraries.TagLibraryManager |
---|
TagLibraryManager.RegistrationInfo |
Field Summary | |
---|---|
static java.lang.String |
LIBRARY_SETTINGS_FILE_NAME |
Fields inherited from class oracle.jdeveloper.webapp.libraries.TagLibraryManager |
---|
history |
Method Summary | |
---|---|
void |
addJspLibraryEventListener(JspLibraryEventListener listener) Add a TEventListener to the library manager. |
void |
addJspLibraryListener(JspLibraryListener listener) Add a listener to the library manager. |
void |
addJspLibraryURLClassesProvider(JspLibraryURLClassesProvider urlProvider) |
JspLibraryManager |
getCopy() |
static java.util.Collection<java.net.URL> |
getIndexingMetadata() |
static JspLibraryManager |
getInstance() Retrieve the current instance of the JspLibraryManager |
java.util.Collection<JspLibraryURLClassesProvider> |
getJspLibraryURLClassesProviders() Deprecated. use TagLibraryManager.getTagLibraryURLClassesProviders() instead. |
static java.util.Collection<java.net.URL> |
getKnownLibraryAnnotations(JspLibrary library) |
static java.net.URL |
getKnownLibrarySchema(JspLibrary library) |
protected java.net.URL |
getLibraryFileLocation() |
static java.net.URL |
getLibraryIndexingMetadata(java.lang.String tagLibUri) |
static java.net.URL |
getLibrarySettingsFileLocation() Returns settings file location in the current jdev. |
protected TagLibraryManager |
getSingletonInstance() |
protected void |
initFromHistoryFile() Loads jsp-libraries.xml file from the extension System Directory |
protected void |
loadExtensionLibraries() |
protected void |
loadExtensionLibrariesExtraInfo() |
protected void |
loadMigratedLibraries() |
protected void |
loadTagLibraryURLClassesProviders() Do whatever is necessary to load the URL providers. |
protected TagLibraryManager |
newInstance() |
protected JspLibrary |
newTagLibrary(JspLibrary library) |
protected JspLibraryChangeEvent |
newTagLibraryChangeEvent(java.lang.Object source, JspLibrary library, int event) |
protected JspLibraryChangeEvent |
newTagLibraryChangeEvent(java.lang.Object source, JspLibrary library, java.util.List events) |
protected java.util.Comparator<JspLibrary> |
newTagLibraryNameComparator() |
protected java.util.Comparator<JspLibrary> |
newTagLibraryUriComparator() |
void |
notifyObserversJspLibraryCreateEvents(oracle.jdevimpl.webapp.jsp.libraries.model.JspLibraryListWrapper jspLibraryListWrapper, JspLibrary library) If library is created, notification is sent to Observers before its added |
static void |
registerKnownLibraryAnnotations(java.lang.String tagLibUri, java.lang.String libVersion, java.net.URL url) |
static void |
registerKnownLibraryAnnotations(java.lang.String tagLibUri, java.net.URL url) Registers location of the standalone metadata annotation file that contains metadata for tag library identified by the URI. |
static void |
registerKnownLibrarySchema(java.lang.String tagLibUri, java.lang.String libVersion, java.net.URL url) |
static void |
registerKnownLibrarySchema(java.lang.String tagLibUri, java.net.URL url) Registers location of the schema file that contains grammar definition for tag library identified by the URI. |
static void |
registerLibraryIndexingMetadata(java.lang.String tagLibUri, java.net.URL url) |
void |
removedJspLibraryURLClassesProvider(JspLibraryURLClassesProvider urlProvider) |
void |
removeJspLibraryEventListener(JspLibraryEventListener listener) Remove a library event listener from the library manager. |
void |
removeJspLibraryListener(JspLibraryListener listener) Remove a listener from the library manager. |
protected void |
saveToFile() |
protected void |
saveToHistory(JspLibrary library) |
protected boolean |
validateTaglibURL(JspLibrary library) Checks that tldURL points to the TLD file located or packaged in a way that it can work with the JSP version library says it is compatible with. |
protected boolean |
validateURI(JspLibrary library) Checks that if libraries URI is already mapped the library name is same, and that if the URI is a resource path to the TLD file (i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LIBRARY_SETTINGS_FILE_NAME
Method Detail |
---|
@Deprecated
public java.util.Collection<JspLibraryURLClassesProvider> getJspLibraryURLClassesProviders()
TagLibraryManager.getTagLibraryURLClassesProviders()
instead.public void addJspLibraryURLClassesProvider(JspLibraryURLClassesProvider urlProvider)
public void removedJspLibraryURLClassesProvider(JspLibraryURLClassesProvider urlProvider)
public static JspLibraryManager getInstance()
public JspLibraryManager getCopy()
getCopy
in class TagLibraryManager<JspLibrary>
public static java.util.Collection<java.net.URL> getIndexingMetadata()
protected JspLibraryChangeEvent newTagLibraryChangeEvent(java.lang.Object source, JspLibrary library, int event)
newTagLibraryChangeEvent
in class TagLibraryManager<JspLibrary>
protected JspLibraryChangeEvent newTagLibraryChangeEvent(java.lang.Object source, JspLibrary library, java.util.List events)
newTagLibraryChangeEvent
in class TagLibraryManager<JspLibrary>
protected TagLibraryManager newInstance()
newInstance
in class TagLibraryManager<JspLibrary>
protected void saveToHistory(JspLibrary library)
saveToHistory
in class TagLibraryManager<JspLibrary>
protected JspLibrary newTagLibrary(JspLibrary library)
newTagLibrary
in class TagLibraryManager<JspLibrary>
protected void saveToFile() throws java.io.IOException
saveToFile
in class TagLibraryManager<JspLibrary>
java.io.IOException
protected boolean validateTaglibURL(JspLibrary library)
validateTaglibURL
in class TagLibraryManager<JspLibrary>
protected boolean validateURI(JspLibrary library)
validateURI
in class TagLibraryManager<JspLibrary>
public static java.util.Collection<java.net.URL> getKnownLibraryAnnotations(JspLibrary library)
public static java.net.URL getKnownLibrarySchema(JspLibrary library)
protected TagLibraryManager getSingletonInstance()
getSingletonInstance
in class TagLibraryManager<JspLibrary>
protected final java.net.URL getLibraryFileLocation()
getLibraryFileLocation
in class TagLibraryManager<JspLibrary>
public static java.net.URL getLibrarySettingsFileLocation()
protected void loadTagLibraryURLClassesProviders()
TagLibraryManager
loadTagLibraryURLClassesProviders
in class TagLibraryManager<JspLibrary>
public void addJspLibraryListener(JspLibraryListener listener)
listener
- the listener to add.protected void loadMigratedLibraries()
loadMigratedLibraries
in class TagLibraryManager<JspLibrary>
protected void loadExtensionLibraries()
loadExtensionLibraries
in class TagLibraryManager<JspLibrary>
protected void loadExtensionLibrariesExtraInfo()
loadExtensionLibrariesExtraInfo
in class TagLibraryManager<JspLibrary>
protected void initFromHistoryFile()
initFromHistoryFile
in class TagLibraryManager<JspLibrary>
public void addJspLibraryEventListener(JspLibraryEventListener listener)
TEventListener
to the library manager.listener
- the listener to add.public void notifyObserversJspLibraryCreateEvents(oracle.jdevimpl.webapp.jsp.libraries.model.JspLibraryListWrapper jspLibraryListWrapper, JspLibrary library)
public void removeJspLibraryEventListener(JspLibraryEventListener listener)
listener
- the listener to remove.public void removeJspLibraryListener(JspLibraryListener listener)
listener
- the listener to remove.public static java.net.URL getLibraryIndexingMetadata(java.lang.String tagLibUri)
public static void registerLibraryIndexingMetadata(java.lang.String tagLibUri, java.net.URL url)
public static void registerKnownLibraryAnnotations(java.lang.String tagLibUri, java.net.URL url)
public static void registerKnownLibraryAnnotations(java.lang.String tagLibUri, java.lang.String libVersion, java.net.URL url)
public static void registerKnownLibrarySchema(java.lang.String tagLibUri, java.lang.String libVersion, java.net.URL url)
public static void registerKnownLibrarySchema(java.lang.String tagLibUri, java.net.URL url)
protected java.util.Comparator<JspLibrary> newTagLibraryUriComparator()
newTagLibraryUriComparator
in class TagLibraryManager<JspLibrary>
protected java.util.Comparator<JspLibrary> newTagLibraryNameComparator()
newTagLibraryNameComparator
in class TagLibraryManager<JspLibrary>
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |