| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.model.DefaultDisplayable
oracle.ide.model.DefaultElement
oracle.jdeveloper.webapp.libraries.TagLibrary
oracle.jdeveloper.jsp.libraries.JspLibrary
public class JspLibrary
Instances of this class represent JSP Tag Libraries avialiable within the
 JDeveloper.
 
 When JSP Tag Library is used (deployed) in a web project, associated
 libraries are added to the project and their archives are copied to the
 WEB-INF/lib folder. In case when there are no associated libraries, archive
 that contains Tag Library Descriptor (TLD) will be added to the project's class
 path, and copied to the WEB-INF/lib folder.
| Field Summary | 
|---|
| Fields inherited from class oracle.jdeveloper.webapp.libraries.TagLibrary | 
|---|
| prefferedPrefix, RUN_TAGS_IN_EDITOR_BY_DEFAULT, version | 
| Constructor Summary | |
|---|---|
| JspLibrary(JspLibrary jsplibrary)Copy constructor. | |
| JspLibrary(java.lang.String tldURL,
           java.lang.String uri,
           java.lang.String libraryName,
           java.lang.String libraries)Deprecated. | |
| JspLibrary(java.net.URL taglibURL,
           java.lang.String uri,
           java.lang.String libraryName,
           java.lang.String libraries)This creates a JspLibrary object that can be registered with JDeveloper. | |
| Method Summary | |
|---|---|
| static void | copy(JspLibrary src,
     JspLibrary dst)Copy utility method. | 
|  boolean | equals(java.lang.Object obj) | 
|  java.lang.String | getJspLibraries() | 
|  java.lang.String | getJspVersion()If JSP version is not explicitly set, it will be deduced from information in TLD file. | 
|  java.lang.String | getMaxJspVersion()If last JSP version is not explicitly set, it will return null. | 
|  oracle.jdeveloper.webapp.taglib.model.AbstractTaglib | getTaglib()Get the AbstractTaglibobject. | 
| protected  java.lang.String | getTaglibURLExt()Return default extension file for the taglib | 
|  int | hashCode() | 
| protected  void | initFromTaglib()Init the tag library fields. | 
|  void | reportMissingData() | 
|  void | setAvailableProperties(TagLibrary target)This should be avialable only to "friendly" classes. | 
|  void | setJspLibraries(java.lang.String jspLibraries)Set the JSP tag libraries that should be added to the active project whenever any tags belonging to this taglib are used. | 
|  void | setJspVersion(java.lang.String jspVersion)Sets mimimal required version of the JSP for this library to work. | 
|  void | setMaxJspVersion(java.lang.String jspVersion)Sets last version of the JSP that this library will work in. | 
|  java.lang.String | toString()This implementation delegates to DefaultDisplayable.getShortLabel(). | 
| Methods inherited from class oracle.jdeveloper.webapp.libraries.TagLibrary | 
|---|
| copy, getCustomizedRunInEditorTagNames, getIconURL, getLibraries, getLibraryIds, getName, getPrefix, getRunInEditor, getShortLabel, getShowInPalette, getTaglibURL, getTechnologyScope, getURI, getVersion, isMutable, setCustomizedRunInEditorTagNames, setIcon, setLibraries, setMutable, setName, setPrefix, setRunInEditor, setShowInPalette, setTaglibURL, setTechnologyScope, setURI, setVersion | 
| Methods inherited from class oracle.ide.model.DefaultElement | 
|---|
| getAttributes, getChildren, getData, mayHaveChildren | 
| Methods inherited from class oracle.ide.model.DefaultDisplayable | 
|---|
| getIcon, getLongLabel, getToolTipText | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface oracle.ide.model.Element | 
|---|
| getAttributes, getChildren, getData, mayHaveChildren | 
| Methods inherited from interface oracle.ide.model.Displayable | 
|---|
| getIcon, getLongLabel, getToolTipText | 
| Constructor Detail | 
|---|
public JspLibrary(java.lang.String tldURL,
                  java.lang.String uri,
                  java.lang.String libraryName,
                  java.lang.String libraries)
tldURL - - the location of the TLD file. Note that you can use macros to specify
                 relative urls to oracle home. ex. @oracle.home@/jdev/mylibraries/taglib.tld.uri - -    the namespace of this tag library.libraryName - - the name to be used to identify this taglib.libraries - -  semi-column delimited list of Java library IDs that will be
                     deployed when this tag library is used.
public JspLibrary(java.net.URL taglibURL,
                  java.lang.String uri,
                  java.lang.String libraryName,
                  java.lang.String libraries)
taglibURL - - the location of the tag library. It can be TLD file 
                 location, or the folder for implicit .tag libraries.uri - -    the namespace of this tag library.libraryName - - the name to be used to identify this taglib.libraries - -  semi-column delimited list of Java library IDs that will be
                     deployed when this tag library is used.public JspLibrary(JspLibrary jsplibrary)
| Method Detail | 
|---|
public void setAvailableProperties(TagLibrary target)
setAvailableProperties in class TagLibrarytarget - public oracle.jdeveloper.webapp.taglib.model.AbstractTaglib getTaglib()
TagLibraryAbstractTaglib object.
getTaglib in class TagLibraryAbstractTaglib object.public void setJspLibraries(java.lang.String jspLibraries)
jspLibraries - the semi-column delimited string of JSP tag library names.public java.lang.String getJspLibraries()
setJspLibraries(String)public void setJspVersion(java.lang.String jspVersion)
jspVersion - One of "1.1", "1.2", "2.0" ...public java.lang.String getJspVersion()
setJspVersion(String)public void setMaxJspVersion(java.lang.String jspVersion)
jspVersion - One of "1.1", "1.2", "2.0" ...public java.lang.String getMaxJspVersion()
setMaxJspVersion(String)
public static void copy(JspLibrary src,
                        JspLibrary dst)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
DefaultDisplayableDefaultDisplayable.getShortLabel().
toString in interface DisplayabletoString in class DefaultDisplayableDisplayable.toString()protected void initFromTaglib()
TagLibrary
initFromTaglib in class TagLibrarypublic void reportMissingData()
reportMissingData in class TagLibraryprotected java.lang.String getTaglibURLExt()
TagLibrary
getTaglibURLExt in class TagLibrary| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||