|
||||||||||
| 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
public abstract class Scriptlet
Base class for Java code that is capable of adding scripts to a page.
| Constructor Summary | |
|---|---|
Scriptlet()
Creates the scriptlet. |
|
| Method Summary | |
|---|---|
void |
embedInScriptTag(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
|
protected void |
embedInScriptTagImpl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
Outputs the scriptlet. |
abstract java.lang.Object |
getScriptletKey()
Returns the key that uniquely identifies the scriptlet. |
protected void |
outputDependency(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
java.lang.Object dependency)
Outputs a scriptlet that this scriptlet depends on. |
void |
outputScriptlet(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
Outputs the scriptlet if needed. |
protected abstract 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. |
void |
registerSelfWithKey(java.lang.Object key)
Registers a scriptlet with a key, perhaps other than the scriptlet's own key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Scriptlet()
| Method Detail |
|---|
public abstract java.lang.Object getScriptletKey()
public void outputScriptlet(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
throws java.io.IOException
java.io.IOExceptionpublic void registerSelf()
public void embedInScriptTag(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
throws java.io.IOException
java.io.IOException
protected void outputScriptletImpl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
throws java.io.IOException
java.io.IOException
protected void embedInScriptTagImpl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
throws java.io.IOException
java.io.IOException
protected abstract void outputScriptletContent(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
throws java.io.IOException
java.io.IOException
protected void outputDependency(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
java.lang.Object dependency)
throws java.io.IOException
java.io.IOExceptionpublic void registerSelfWithKey(java.lang.Object key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||