org.apache.portals.bridges.jsf
Class ServletFacesContextImpl

java.lang.Object
  extended by javax.faces.context.FacesContext
      extended by org.apache.portals.bridges.jsf.ServletFacesContextImpl

public class ServletFacesContextImpl
extends javax.faces.context.FacesContext

Author:
Apache MyFaces team

Field Summary
private  javax.faces.application.Application _application
           
private  ServletExternalContextImpl _externalContext
           
private  javax.faces.application.FacesMessage.Severity _maximumSeverity
           
private  List _messageClientIds
           
private  List _messages
           
private  boolean _released
           
private  javax.faces.render.RenderKitFactory _renderKitFactory
           
private  boolean _renderResponse
           
private  boolean _responseComplete
           
private  javax.faces.context.ResponseStream _responseStream
           
private  javax.faces.context.ResponseWriter _responseWriter
           
private  javax.faces.component.UIViewRoot _viewRoot
           
 
Constructor Summary
  ServletFacesContextImpl(javax.servlet.ServletContext servletContext, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse)
           
private ServletFacesContextImpl(ServletExternalContextImpl externalContext)
           
 
Method Summary
 void addMessage(String clientId, javax.faces.application.FacesMessage message)
           
 javax.faces.application.Application getApplication()
           
 Iterator getClientIdsWithMessages()
           
 javax.faces.context.ExternalContext getExternalContext()
           
 javax.faces.application.FacesMessage.Severity getMaximumSeverity()
           
 Iterator getMessages()
           
 Iterator getMessages(String clientId)
           
 javax.faces.render.RenderKit getRenderKit()
           
 boolean getRenderResponse()
           
 boolean getResponseComplete()
           
 javax.faces.context.ResponseStream getResponseStream()
           
 javax.faces.context.ResponseWriter getResponseWriter()
           
 javax.faces.component.UIViewRoot getViewRoot()
           
 boolean isReleased()
           
 void release()
           
 void renderResponse()
           
 void responseComplete()
           
 void setExternalContext(ServletExternalContextImpl extContext)
           
 void setResponseStream(javax.faces.context.ResponseStream responseStream)
           
 void setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
           
 void setViewRoot(javax.faces.component.UIViewRoot viewRoot)
           
 
Methods inherited from class javax.faces.context.FacesContext
getCurrentInstance, setCurrentInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_messageClientIds

private List _messageClientIds

_messages

private List _messages

_application

private javax.faces.application.Application _application

_externalContext

private ServletExternalContextImpl _externalContext

_responseStream

private javax.faces.context.ResponseStream _responseStream

_responseWriter

private javax.faces.context.ResponseWriter _responseWriter

_maximumSeverity

private javax.faces.application.FacesMessage.Severity _maximumSeverity

_viewRoot

private javax.faces.component.UIViewRoot _viewRoot

_renderResponse

private boolean _renderResponse

_responseComplete

private boolean _responseComplete

_renderKitFactory

private javax.faces.render.RenderKitFactory _renderKitFactory

_released

private boolean _released
Constructor Detail

ServletFacesContextImpl

public ServletFacesContextImpl(javax.servlet.ServletContext servletContext,
                               javax.servlet.ServletRequest servletRequest,
                               javax.servlet.ServletResponse servletResponse)

ServletFacesContextImpl

private ServletFacesContextImpl(ServletExternalContextImpl externalContext)
Method Detail

getExternalContext

public javax.faces.context.ExternalContext getExternalContext()
Specified by:
getExternalContext in class javax.faces.context.FacesContext

getMaximumSeverity

public javax.faces.application.FacesMessage.Severity getMaximumSeverity()
Specified by:
getMaximumSeverity in class javax.faces.context.FacesContext

getMessages

public Iterator getMessages()
Specified by:
getMessages in class javax.faces.context.FacesContext

getApplication

public javax.faces.application.Application getApplication()
Specified by:
getApplication in class javax.faces.context.FacesContext

getClientIdsWithMessages

public Iterator getClientIdsWithMessages()
Specified by:
getClientIdsWithMessages in class javax.faces.context.FacesContext

getMessages

public Iterator getMessages(String clientId)
Specified by:
getMessages in class javax.faces.context.FacesContext

getRenderKit

public javax.faces.render.RenderKit getRenderKit()
Specified by:
getRenderKit in class javax.faces.context.FacesContext

getRenderResponse

public boolean getRenderResponse()
Specified by:
getRenderResponse in class javax.faces.context.FacesContext

getResponseComplete

public boolean getResponseComplete()
Specified by:
getResponseComplete in class javax.faces.context.FacesContext

setResponseStream

public void setResponseStream(javax.faces.context.ResponseStream responseStream)
Specified by:
setResponseStream in class javax.faces.context.FacesContext

getResponseStream

public javax.faces.context.ResponseStream getResponseStream()
Specified by:
getResponseStream in class javax.faces.context.FacesContext

setResponseWriter

public void setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
Specified by:
setResponseWriter in class javax.faces.context.FacesContext

getResponseWriter

public javax.faces.context.ResponseWriter getResponseWriter()
Specified by:
getResponseWriter in class javax.faces.context.FacesContext

setViewRoot

public void setViewRoot(javax.faces.component.UIViewRoot viewRoot)
Specified by:
setViewRoot in class javax.faces.context.FacesContext

getViewRoot

public javax.faces.component.UIViewRoot getViewRoot()
Specified by:
getViewRoot in class javax.faces.context.FacesContext

addMessage

public void addMessage(String clientId,
                       javax.faces.application.FacesMessage message)
Specified by:
addMessage in class javax.faces.context.FacesContext

isReleased

public boolean isReleased()

release

public void release()
Specified by:
release in class javax.faces.context.FacesContext

renderResponse

public void renderResponse()
Specified by:
renderResponse in class javax.faces.context.FacesContext

responseComplete

public void responseComplete()
Specified by:
responseComplete in class javax.faces.context.FacesContext

setExternalContext

public void setExternalContext(ServletExternalContextImpl extContext)


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