org.apache.myfaces.renderkit.html
Class HtmlScriptRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.renderkit.html.HtmlScriptRenderer
All Implemented Interfaces:
EventListener, PartialStateHolder, StateHolder, ComponentSystemEventListener, FacesListener

@JSFRenderer(renderKitId="HTML_BASIC",
             family="javax.faces.Output",
             type="javax.faces.resource.Script")
public class HtmlScriptRenderer
extends Renderer
implements PartialStateHolder, ComponentSystemEventListener

Renderer used by h:outputScript component

Since:
2.0
Version:
$Revision: 946028 $ $Date: 2010-05-19 00:18:55 -0500 (Wed, 19 May 2010) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Constructor Summary
HtmlScriptRenderer()
           
 
Method Summary
 void clearInitialState()
           
 void encodeChildren(FacesContext facesContext, UIComponent component)
           
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
 boolean getRendersChildren()
           
 boolean initialStateMarked()
           
 boolean isTransient()
           
 void markInitialState()
           
 void processEvent(ComponentSystemEvent event)
           
 void restoreState(FacesContext context, Object state)
           
 Object saveState(FacesContext context)
           
 void setTransient(boolean newTransientValue)
           
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, getConvertedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlScriptRenderer

public HtmlScriptRenderer()
Method Detail

processEvent

public void processEvent(ComponentSystemEvent event)
Specified by:
processEvent in interface ComponentSystemEventListener

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class Renderer

encodeChildren

public void encodeChildren(FacesContext facesContext,
                           UIComponent component)
                    throws IOException
Overrides:
encodeChildren in class Renderer
Throws:
IOException

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent component)
               throws IOException
Overrides:
encodeEnd in class Renderer
Throws:
IOException

clearInitialState

public void clearInitialState()
Specified by:
clearInitialState in interface PartialStateHolder

initialStateMarked

public boolean initialStateMarked()
Specified by:
initialStateMarked in interface PartialStateHolder

markInitialState

public void markInitialState()
Specified by:
markInitialState in interface PartialStateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface StateHolder

restoreState

public void restoreState(FacesContext context,
                         Object state)
Specified by:
restoreState in interface StateHolder

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface StateHolder


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.