|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.jsp.libraries.JspLibraryManager
public final class JspLibraryManager
Restrictions imposed by the library manager:
Method Summary | |
---|---|
void |
addJspLibraryEventListener(JspLibraryEventListener listener) Add a JspLibraryEventListener to the JspLibraryManager. |
void |
addJspLibraryListener(JspLibraryListener listener) Add a JspLibraryListener to the JspLibraryManager. |
void |
addJspLibraryURLClassesProvider(JspLibraryURLClassesProvider urlProvider) |
JspLibrary |
addLibrary(JspLibrary library) Add a JspLibrary to the current model. |
JspLibrary |
addLibrary(JspLibrary library, boolean isUserLibrary) Adds library and marks it (non)editable for user via GUI. |
boolean |
containsLibrary(JspLibrary library) Checks if library instance is already added to the manager. |
void |
copyTo(JspLibraryManager target) |
java.util.Collection<JspLibrary> |
getAllLibraries() Return all installed Tag Libraries. |
JspLibraryManager |
getCopy() |
JspLibrary |
getFirstLibraryFromPrefix(java.lang.String prefix) Finds a JspLibrary that has preffered prefix equal to the given prefix. |
static java.util.Collection<java.net.URL> |
getIndexingMetadata() |
static JspLibraryManager |
getInstance() Retrieve the current instance of the JspLibraryManager |
java.util.Collection<JspLibraryURLClassesProvider> |
getJspLibraryURLClassesProviders() |
static java.net.URL |
getKnownLibraryAnnotations(JspLibrary library) |
static java.net.URL |
getKnownLibrarySchema(JspLibrary library) |
java.util.Collection<JspLibrary> |
getLatestLibraryVersions() Return latest versions of all installed Tag Libraries. |
java.util.Collection<JspLibrary> |
getLibraries(java.lang.String libraryName) Return all versions of the installed Tag Libraries with a given name. |
java.util.Collection<JspLibrary> |
getLibrariesFromPrefix(java.lang.String prefix) Returns all libraries that have given preffered prefix. |
java.util.Collection<JspLibrary> |
getLibrariesFromURI(java.lang.String uri) Finds all versions of the library with the given URI. |
JspLibrary |
getLibrary(java.lang.String libraryName) Return latest versions of the installed Tag Libraries with a given name. |
JspLibrary |
getLibrary(java.lang.String libraryName, java.lang.String version) Finds specified version of the installed Tag Library with a given name. |
JspLibrary |
getLibraryFromURI(java.lang.String uri) Finds a latest version of the library with the given URI. |
JspLibrary |
getLibraryFromURI(java.lang.String uri, java.lang.String version) Finds a given version of the library with the given URI. |
static java.net.URL |
getLibraryIndexingMetadata(java.lang.String tagLibUri) |
java.util.Collection<JspLibrary> |
getPackagedLibraries(java.net.URL archiveURL) Returns all tag libraries registered with the manager that are packaged in the given archive. |
java.lang.String |
getPrefixFromURI(java.lang.String uri) Given a JSP tag library URI returns preffered prefix for its latest version. |
JspLibrary |
getUnpackagedLibrary(java.net.URL tldURL) |
MutableLibraryList |
getUserLibraries() |
boolean |
isEditable(JspLibrary library) |
void |
notifyObservers(JspLibrary library, java.util.List changes) If library is changed in a way that it colides with others it will be removed. |
void |
notifyObservers(JspLibrary library, oracle.bali.xml.share.PropertyChange change) If library is changed in a way that it colides with others it will be removed. |
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 JspLibraryEventListener from the JspLibraryManager. |
void |
removeJspLibraryListener(JspLibraryListener listener) Remove a JspLibraryListener from the JspLibraryManager. |
boolean |
removeLibrary(JspLibrary library) Remove a JspLibrary from the current model. |
void |
removeLibrary(java.lang.String uri) Remove a latest version of the tag library with giver URI. |
void |
setUserLibraries(MutableLibraryList userLibs) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JspLibraryManager getCopy()
public void copyTo(JspLibraryManager target)
public static JspLibraryManager getInstance()
public MutableLibraryList getUserLibraries()
public void setUserLibraries(MutableLibraryList userLibs)
public void addJspLibraryURLClassesProvider(JspLibraryURLClassesProvider urlProvider)
public void removedJspLibraryURLClassesProvider(JspLibraryURLClassesProvider urlProvider)
public java.util.Collection<JspLibraryURLClassesProvider> getJspLibraryURLClassesProviders()
public void addJspLibraryListener(JspLibraryListener listener)
JspLibraryListener
to the JspLibraryManager.listener
- the listener to add.public void removeJspLibraryListener(JspLibraryListener listener)
JspLibraryListener
from the JspLibraryManager.listener
- the listener to remove.public void notifyObservers(JspLibrary library, oracle.bali.xml.share.PropertyChange change)
public void notifyObservers(JspLibrary library, java.util.List changes)
public JspLibrary addLibrary(JspLibrary library)
library
- JspLibrary to add.public JspLibrary addLibrary(JspLibrary library, boolean isUserLibrary)
isUserLibrary
- false is library is added by an extensionaddLibrary( JspLibrary )
public boolean containsLibrary(JspLibrary library)
public boolean removeLibrary(JspLibrary library)
library
- JspLibrary to remove.public void removeLibrary(java.lang.String uri)
uri
- URI of the tag library.public JspLibrary getFirstLibraryFromPrefix(java.lang.String prefix)
prefix
- Prefix of tag library.public java.util.Collection<JspLibrary> getLibrariesFromPrefix(java.lang.String prefix)
prefix
- Prefix of tag library.public JspLibrary getLibrary(java.lang.String libraryName)
libraryName
-public java.util.Collection<JspLibrary> getLibraries(java.lang.String libraryName)
public JspLibrary getLibrary(java.lang.String libraryName, java.lang.String version)
public JspLibrary getLibraryFromURI(java.lang.String uri)
uri
-public JspLibrary getLibraryFromURI(java.lang.String uri, java.lang.String version)
uri
-public java.util.Collection<JspLibrary> getLibrariesFromURI(java.lang.String uri)
uri
-public java.util.Collection<JspLibrary> getAllLibraries()
public java.util.Collection<JspLibrary> getLatestLibraryVersions()
public java.lang.String getPrefixFromURI(java.lang.String uri)
uri
-public boolean isEditable(JspLibrary library)
public java.util.Collection<JspLibrary> getPackagedLibraries(java.net.URL archiveURL)
archiveURL
- URL of the archive filepublic JspLibrary getUnpackagedLibrary(java.net.URL tldURL)
public static java.net.URL getKnownLibraryAnnotations(JspLibrary library)
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 java.net.URL getKnownLibrarySchema(JspLibrary library)
public static void registerKnownLibrarySchema(java.lang.String tagLibUri, java.net.URL url)
public static void registerKnownLibrarySchema(java.lang.String tagLibUri, java.lang.String libVersion, java.net.URL url)
public static void registerLibraryIndexingMetadata(java.lang.String tagLibUri, java.net.URL url)
public static java.net.URL getLibraryIndexingMetadata(java.lang.String tagLibUri)
public static java.util.Collection<java.net.URL> getIndexingMetadata()
public void addJspLibraryEventListener(JspLibraryEventListener listener)
JspLibraryEventListener
to the JspLibraryManager.listener
- the listener to add.public void removeJspLibraryEventListener(JspLibraryEventListener listener)
JspLibraryEventListener
from the JspLibraryManager.listener
- the listener to remove.public void notifyObserversJspLibraryCreateEvents(oracle.jdevimpl.webapp.jsp.libraries.model.JspLibraryListWrapper jspLibraryListWrapper, JspLibrary library)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |