Extension SDK 9.0.5

oracle.jdeveloper.jsp.libraries
Class JspLibrary

java.lang.Object
  extended byoracle.jdeveloper.jsp.libraries.JspLibrary

public class JspLibrary
extends java.lang.Object


Constructor Summary
JspLibrary()
           
JspLibrary(JspLibrary jsplibrary)
          Copy constructor.
JspLibrary(java.lang.String classesURL, java.lang.String tldURL, java.lang.String uri, java.lang.String displayName, java.lang.String prefix)
          This creates a JspLibrary object that can be registered with JDeveloper.
 
Method Summary
static void copy(JspLibrary src, JspLibrary dst)
          Copy utility method.
 java.lang.String getClassesURL()
           
 java.lang.String getDisplayName()
          The 'DisplayName' property represents the 'displayName' attribute from the DTD.
 java.lang.String getIcon()
           
 java.lang.String getLibraries()
           
 java.lang.String getLibrary()
           
 java.lang.String getPrefix()
          The 'Prefix' property represents the 'prefix' attribute from the DTD.
 boolean getRunInEditor()
           
 java.lang.String getTldURL()
          The 'Location' property represents the 'location' attribute from the DTD.
 java.lang.String getURI()
          The 'Name' property represents the 'name' attribute from the DTD.
 void setClassesURL(java.lang.String classesURL)
           
 void setDisplayName(java.lang.String displayName)
          Set the display name of this tag.
 void setIcon(java.lang.String iconURL)
          Set the url of the icon you wish to use when displaying individual tags within JDeveloper.
 void setLibraries(java.lang.String libraries)
          Set the libraries that should be added to the active project whenever any tags belonging to this taglib are used.
 void setLibrary(java.lang.String library)
           
 void setPrefix(java.lang.String prefix)
          Set the prefix to be used for this taglib.
 void setRunInEditor(boolean runInEditor)
          Set whether to run all tags when viewed in the Visual Editor.
 void setTldURL(java.lang.String url)
          Set the tld url.
 void setURI(java.lang.String uri)
          Set the taglib's namespace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspLibrary

public JspLibrary()

JspLibrary

public JspLibrary(java.lang.String classesURL,
                  java.lang.String tldURL,
                  java.lang.String uri,
                  java.lang.String displayName,
                  java.lang.String prefix)
This creates a JspLibrary object that can be registered with JDeveloper.

Parameters:
classesURL - - this is deprecated for 9.0.5. Only used for migration purposes.
tldURL - - the location of the tld. 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.
displayName - - the name to be used to identify this taglib. Will default to the prefix name if null.
prefix - - the prefix to be used in JDeveloper for the taglib.

JspLibrary

public JspLibrary(JspLibrary jsplibrary)
Copy constructor. This performs deep copying.

Method Detail

copy

public static void copy(JspLibrary src,
                        JspLibrary dst)
Copy utility method. This performs deep copying.


setRunInEditor

public void setRunInEditor(boolean runInEditor)
Set whether to run all tags when viewed in the Visual Editor.

Parameters:
runInEditor - set true if tags should be run inside the Visual Editor.

getRunInEditor

public boolean getRunInEditor()

getDisplayName

public java.lang.String getDisplayName()
The 'DisplayName' property represents the 'displayName' attribute from the DTD.


setDisplayName

public void setDisplayName(java.lang.String displayName)
Set the display name of this tag.

Parameters:
displayName - the name to use when the tag is being manipulated within JDeveloper.

getURI

public java.lang.String getURI()
The 'Name' property represents the 'name' attribute from the DTD.


setURI

public void setURI(java.lang.String uri)
Set the taglib's namespace.

Parameters:
uri - the taglibs namespace. This must be unique within the product.

getPrefix

public java.lang.String getPrefix()
The 'Prefix' property represents the 'prefix' attribute from the DTD.


setPrefix

public void setPrefix(java.lang.String prefix)
Set the prefix to be used for this taglib.

Parameters:
prefix - the prefix to use with this taglib.

getTldURL

public java.lang.String getTldURL()
The 'Location' property represents the 'location' attribute from the DTD.


setTldURL

public void setTldURL(java.lang.String url)
Set the tld url.

Parameters:
url - - the url location of this tld.

setLibrary

public void setLibrary(java.lang.String library)

getLibrary

public java.lang.String getLibrary()

setIcon

public void setIcon(java.lang.String iconURL)
Set the url of the icon you wish to use when displaying individual tags within JDeveloper.

Parameters:
iconURL - url of icon.

getIcon

public java.lang.String getIcon()

setClassesURL

public void setClassesURL(java.lang.String classesURL)

getClassesURL

public java.lang.String getClassesURL()

setLibraries

public void setLibraries(java.lang.String libraries)
Set the libraries that should be added to the active project whenever any tags belonging to this taglib are used. This is comma-delimited string. ex. JSF,JSTL

Parameters:
libraries - the comma-delimited string.

getLibraries

public java.lang.String getLibraries()

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.