|
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.Objectoracle.jdeveloper.jsp.utils.JSPTagUtils
public final class JSPTagUtils
The JSPTagUtils class is a utility class to insert/remove tags and their associated
taglib declarations into the CodeEditor.
| Nested Class Summary | |
|---|---|
static class |
JSPTagUtils.JspLibraryComparator
|
| Method Summary | |
|---|---|
static void |
addTaglibDefinitionToActiveProject(java.lang.String uri,
java.lang.String archiveLocation)
Deprecated. |
static void |
addTagLibMap(Project prj,
oracle.jdeveloper.xml.j2ee.war.WebAppNode webAppNode,
java.lang.String taglibUri,
java.lang.String taglibLocation)
Inserts new explicit tag-lib entry in the web.xml file. |
static void |
addTld(JspLibrary jspLib,
Project prj)
Deprecated. use updateProjectWithTagLibrary() method to add tag library to the project. It will do all needed actions. |
static JspLibrary |
getJspLibrary(java.lang.String libraryName)
Returns the latest version of the system tag library with the given name. |
static JspLibrary |
getJspLibrary(java.lang.String libraryName,
Project project)
If a tag library with given name is used in the project, returns that library. |
static JspLibrary |
getJspLibraryByPrefix(java.lang.String prefix,
Context context)
|
static JspLibrary |
getJspLibraryByURI(java.lang.String uri)
Returns the latest version of the system tag library with the given URI. |
static JspLibrary |
getJspLibraryByURI(java.lang.String uri,
Project project)
If a tag library with given URI is used in the project, returns that library. |
static java.io.InputStream |
getLibraryInputStream(java.lang.String tldURL)
Retrieve InputStream for Tag Library |
static java.net.URL |
getTaglibDescriptorArchiveURL(java.lang.String tldURL)
Returns URL of the archive file containing TLD file. |
static java.net.URL |
getTaglibDescriptorArchiveURL(java.net.URL tldLocation)
|
static java.net.URL |
getTaglibDescriptorURL(java.lang.String tldURL)
Returns a URL pointing to the TLD file given by the tldURL. |
static java.net.URL |
getTaglibJarURL(java.net.URL tldLocation)
|
static java.net.URL |
getWebInfLibURL(Project project)
Returns the current WEB-INF/lib directory of the project. |
static java.net.URL |
getWebInfURL(Project project)
Returns the current WEB-INF directory of the project. |
static void |
removeTagLibMap(oracle.jdeveloper.xml.j2ee.war.WebAppNode webAppNode,
java.lang.String taglibUri)
Removes explicit tag-lib entry from the web.xml file. |
static boolean |
unregisterTagLibrary(Context context,
java.lang.String libraryName)
Deprecated. |
static void |
updateProjectWithTagLibraries(JspLibrary[] jspLibs,
Project project)
|
static void |
updateProjectWithTagLibrary(JspLibrary jspLib,
Project project)
Updates project with the current Jsplibrary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final java.net.URL getWebInfURL(Project project)
project - The current project
public static final java.net.URL getWebInfLibURL(Project project)
project - The current project
public static final JspLibrary getJspLibrary(java.lang.String libraryName)
libraryName -
public static final JspLibrary getJspLibrary(java.lang.String libraryName,
Project project)
libraryName - project -
public static final JspLibrary getJspLibraryByURI(java.lang.String uri)
uri -
public static final JspLibrary getJspLibraryByURI(java.lang.String uri,
Project project)
uri - project -
public static final JspLibrary getJspLibraryByPrefix(java.lang.String prefix,
Context context)
public static java.net.URL getTaglibDescriptorURL(java.lang.String tldURL)
public static java.io.InputStream getLibraryInputStream(java.lang.String tldURL)
public static java.net.URL getTaglibDescriptorArchiveURL(java.lang.String tldURL)
public static java.net.URL getTaglibJarURL(java.net.URL tldLocation)
tldLocation -
public static java.net.URL getTaglibDescriptorArchiveURL(java.net.URL tldLocation)
tldLocation -
public static final void updateProjectWithTagLibrary(JspLibrary jspLib,
Project project)
jspLib - - the Jsplibary to add to projectproject - - the project to add Jsplibrary to.
public static final void updateProjectWithTagLibraries(JspLibrary[] jspLibs,
Project project)
public static final void addTld(JspLibrary jspLib,
Project prj)
jspLib - The JSP Tag Library to add to the projectprj - The project to update.
public static boolean unregisterTagLibrary(Context context,
java.lang.String libraryName)
public static void addTaglibDefinitionToActiveProject(java.lang.String uri,
java.lang.String archiveLocation)
public static void addTagLibMap(Project prj,
oracle.jdeveloper.xml.j2ee.war.WebAppNode webAppNode,
java.lang.String taglibUri,
java.lang.String taglibLocation)
public static void removeTagLibMap(oracle.jdeveloper.xml.j2ee.war.WebAppNode webAppNode,
java.lang.String taglibUri)
|
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 | |||||||||