org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs
Class LibraryScriptlet

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.Scriptlet
      extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.LibraryScriptlet

public class LibraryScriptlet
extends Scriptlet

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/renderkit/core/xhtml/jsLibs/LibraryScriptlet.java#0 $) $Date: 10-nov-2005.19:02:47 $
Author:
The Oracle ADF Faces Team

Constructor Summary
LibraryScriptlet(java.lang.String libraryName, java.lang.Object[] functions, java.lang.Object[] dependencies)
           
LibraryScriptlet(java.lang.String libraryName, java.lang.String[] functions)
           
 
Method Summary
protected  void embedInScriptTagImpl(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc)
          Outputs the scriptlet.
static java.lang.String getBaseLibURL()
           
protected  java.lang.String getLibraryName(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc)
           
static java.lang.String getLibraryNameWithVersion(javax.faces.context.FacesContext context, java.lang.String libraryName)
          given a libraryName, return the versioned-name if versioning if on.
 java.lang.Object getScriptletKey()
          Returns the key that uniquely identifies the scriptlet.
protected  void outputScriptletContent(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc)
          Outputs the content of the scriptlet - the text or attributes between the script elements.
protected  void outputScriptletImpl(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc)
          Outputs the scriptlet.
 void registerSelf()
          Registers the scriptlet.
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.Scriptlet
embedInScriptTag, outputDependency, outputScriptlet, registerSelfWithKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryScriptlet

public LibraryScriptlet(java.lang.String libraryName,
                        java.lang.String[] functions)

LibraryScriptlet

public LibraryScriptlet(java.lang.String libraryName,
                        java.lang.Object[] functions,
                        java.lang.Object[] dependencies)
Method Detail

registerSelf

public void registerSelf()
Description copied from class: Scriptlet
Registers the scriptlet.

Overrides:
registerSelf in class Scriptlet

getScriptletKey

public java.lang.Object getScriptletKey()
Description copied from class: Scriptlet
Returns the key that uniquely identifies the scriptlet.

Specified by:
getScriptletKey in class Scriptlet

getLibraryNameWithVersion

public static java.lang.String getLibraryNameWithVersion(javax.faces.context.FacesContext context,
                                                         java.lang.String libraryName)
given a libraryName, return the versioned-name if versioning if on.

Parameters:
context -
libraryName -
Returns:

outputScriptletImpl

protected void outputScriptletImpl(javax.faces.context.FacesContext context,
                                   org.apache.myfaces.trinidad.context.RenderingContext arc)
                            throws java.io.IOException
Description copied from class: Scriptlet
Outputs the scriptlet.

Overrides:
outputScriptletImpl in class Scriptlet
Throws:
java.io.IOException

outputScriptletContent

protected void outputScriptletContent(javax.faces.context.FacesContext context,
                                      org.apache.myfaces.trinidad.context.RenderingContext arc)
                               throws java.io.IOException
Description copied from class: Scriptlet
Outputs the content of the scriptlet - the text or attributes between the script elements.

Specified by:
outputScriptletContent in class Scriptlet
Throws:
java.io.IOException

embedInScriptTagImpl

protected void embedInScriptTagImpl(javax.faces.context.FacesContext context,
                                    org.apache.myfaces.trinidad.context.RenderingContext arc)
                             throws java.io.IOException
Description copied from class: Scriptlet
Outputs the scriptlet.

Overrides:
embedInScriptTagImpl in class Scriptlet
Throws:
java.io.IOException

getLibraryName

protected java.lang.String getLibraryName(javax.faces.context.FacesContext context,
                                          org.apache.myfaces.trinidad.context.RenderingContext arc)

getBaseLibURL

public static java.lang.String getBaseLibURL()


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.