Package | Description |
---|---|
oracle.jdeveloper.jsp.libraries | |
oracle.jdeveloper.jsp.utils | |
oracle.jdeveloper.webapp.utils |
Modifier and Type | Method and Description |
---|---|
JspLibrary[] |
JspLibraryChangeEvent.getLibraries() |
static JspLibrary |
JspLibraryUtils.getTagLibrary(java.lang.String uri,
Project project) |
static JspLibrary |
JspLibraryUtils.getTagLibrary(java.net.URL tldURL,
Project project) |
protected JspLibrary |
JspLibraryManager.newTagLibrary(JspLibrary library) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<JspLibrary> |
JspLibraryUtils.getPackagedLibraries(Project project)
Gets all JspLibraries whose corresponding TLD file is packaged in a JAR file.
|
static java.util.List<JspLibrary> |
JspLibraryUtils.getTagLibraries(Project project)
Gets all JspLibraries available in the project.
|
static java.util.List<JspLibrary> |
JspLibraryUtils.getTagLibraries(java.lang.String uri,
Project project) |
static java.util.List<JspLibrary> |
JspLibraryUtils.getTldLibraries(Project project)
Gets all JspLibraries available in the project defined by TLD files.
|
protected java.util.Comparator<JspLibrary> |
JspLibraryManager.newTagLibraryNameComparator() |
protected java.util.Comparator<JspLibrary> |
JspLibraryManager.newTagLibraryUriComparator() |
Modifier and Type | Method and Description |
---|---|
void |
JspLibraryUtils.addTagLibrary(JspLibrary library,
Project project) |
int |
JspLibraryUtils.JspLibraryNameComparator.compare(JspLibrary lib1,
JspLibrary lib2) |
int |
JspLibraryUtils.JspLibraryUriComparator.compare(JspLibrary lib1,
JspLibrary lib2) |
static void |
JspLibrary.copy(JspLibrary src,
JspLibrary dst)
Copy utility method.
|
static java.util.Collection<java.net.URL> |
JspLibraryManager.getKnownLibraryAnnotations(JspLibrary library) |
static java.net.URL |
JspLibraryManager.getKnownLibrarySchema(JspLibrary library) |
static java.util.Collection<java.net.URL> |
JspLibraryUtils.getLibraryUrls(JspLibrary lib,
Project project)
Gets the URLs of all library JARs the tag library depends on, including
the JAR containing the TLD file.
|
void |
JspLibraryEventListener.jspLibraryCreated(oracle.jdevimpl.webapp.taglib.libraries.model.TagLibraryListWrapper<JspLibrary> jspLibraryListWrapper,
JspLibrary library) |
protected JspLibrary |
JspLibraryManager.newTagLibrary(JspLibrary library) |
protected JspLibraryChangeEvent |
JspLibraryManager.newTagLibraryChangeEvent(java.lang.Object source,
JspLibrary library,
int event) |
protected JspLibraryChangeEvent |
JspLibraryManager.newTagLibraryChangeEvent(java.lang.Object source,
JspLibrary library,
java.util.List events) |
void |
JspLibraryManager.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 |
JspLibraryUtils.removeTagLibrary(JspLibrary library,
Project project)
Removing the tag library reference will not remove underlining resource.
|
protected void |
JspLibraryManager.saveToHistory(JspLibrary library) |
protected boolean |
JspLibraryManager.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 |
JspLibraryManager.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.
|
Modifier and Type | Method and Description |
---|---|
void |
JspLibraryEventListener.jspLibraryCreated(oracle.jdevimpl.webapp.taglib.libraries.model.TagLibraryListWrapper<JspLibrary> jspLibraryListWrapper,
JspLibrary library) |
Constructor and Description |
---|
JspLibrary(JspLibrary jsplibrary)
Copy constructor.
|
JspLibraryChangeEvent(java.lang.Object source,
JspLibrary[] libs,
int remove_add_type) |
JspLibraryChangeEvent(java.lang.Object source,
JspLibrary lib,
java.util.Collection changes) |
JspLibraryChangeEvent(java.lang.Object source,
JspLibrary lib,
int remove_add_type) |
JspLibraryChangeEvent(java.lang.Object source,
JspLibrary lib,
oracle.bali.xml.share.PropertyChange change) |
Modifier and Type | Method and Description |
---|---|
static JspLibrary[] |
JSPTagUtils.configureProjectWithTagLibraries(JspLibrary[] jspLibs,
Project project,
boolean ignoreExistingURIs) |
static JspLibrary[] |
JSPTagUtils.configureProjectWithTagLibrary(JspLibrary jspLib,
Project project,
boolean ignoreExistingURI)
Adds given library to the project, and setting up all required dependencies which may include:
java libraries, other tag libraries, and craation and configuration of deployment files.
|
static JspLibrary |
JSPTagUtils.getJspLibrary(java.lang.String libraryName)
Returns the latest version of the system tag library with the given name.
|
static JspLibrary |
JSPTagUtils.getJspLibrary(java.lang.String libraryName,
Project project)
If a tag library with given name is used in the project, returns that
library.
|
static JspLibrary |
JSPTagUtils.getJspLibraryByPrefix(java.lang.String prefix,
Context context) |
static JspLibrary |
JSPTagUtils.getJspLibraryByURI(java.lang.String uri)
Returns the latest version of the system tag library with the given URI.
|
static JspLibrary |
JSPTagUtils.getJspLibraryByURI(java.lang.String uri,
Project project)
If a tag library with given URI is used in the project, returns that
library.
|
Modifier and Type | Method and Description |
---|---|
static void |
JSPTagUtils.addTld(JspLibrary jspLib,
Project prj)
Deprecated.
use updateProjectWithTagLibrary() method to add tag library to
the project. It will do all needed actions.
|
static JspLibrary[] |
JSPTagUtils.configureProjectWithTagLibraries(JspLibrary[] jspLibs,
Project project,
boolean ignoreExistingURIs) |
static JspLibrary[] |
JSPTagUtils.configureProjectWithTagLibrary(JspLibrary jspLib,
Project project,
boolean ignoreExistingURI)
Adds given library to the project, and setting up all required dependencies which may include:
java libraries, other tag libraries, and craation and configuration of deployment files.
|
static void |
JSPTagUtils.updateProjectWithTagLibraries(JspLibrary[] jspLibs,
Project project) |
static void |
JSPTagUtils.updateProjectWithTagLibrary(JspLibrary jspLib,
Project project)
Updates project with the current Jsplibrary.
|
Modifier and Type | Method and Description |
---|---|
static void |
WebDocumentUtil.addTagLibrary(JspLibrary jspTagLibrary,
oracle.bali.xml.gui.jdev.JDevXmlContext xmlContext) |
static void |
WebDocumentUtil.addTagLibrary(JspLibrary jspTagLibrary,
Project project,
oracle.bali.xml.model.AbstractModel model)
Configures JSP page and the project it belongs to to use given JSP
tag library.
|