|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.Scriptlet
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.LibraryScriptlet
public class LibraryScriptlet
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 |
---|
public LibraryScriptlet(java.lang.String libraryName, java.lang.String[] functions)
public LibraryScriptlet(java.lang.String libraryName, java.lang.Object[] functions, java.lang.Object[] dependencies)
Method Detail |
---|
public void registerSelf()
Scriptlet
registerSelf
in class Scriptlet
public java.lang.Object getScriptletKey()
Scriptlet
getScriptletKey
in class Scriptlet
public static java.lang.String getLibraryNameWithVersion(javax.faces.context.FacesContext context, java.lang.String libraryName)
context
- libraryName
-
protected void outputScriptletImpl(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc) throws java.io.IOException
Scriptlet
outputScriptletImpl
in class Scriptlet
java.io.IOException
protected void outputScriptletContent(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc) throws java.io.IOException
Scriptlet
outputScriptletContent
in class Scriptlet
java.io.IOException
protected void embedInScriptTagImpl(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc) throws java.io.IOException
Scriptlet
embedInScriptTagImpl
in class Scriptlet
java.io.IOException
protected java.lang.String getLibraryName(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc)
public static java.lang.String getBaseLibURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |