org.apache.myfaces.shared_impl.view
Class JspViewDeclarationLanguageBase

java.lang.Object
  extended by javax.faces.view.ViewDeclarationLanguage
      extended by org.apache.myfaces.shared_impl.view.ViewDeclarationLanguageBase
          extended by org.apache.myfaces.shared_impl.view.JspViewDeclarationLanguageBase
Direct Known Subclasses:
JspViewDeclarationLanguage

public abstract class JspViewDeclarationLanguageBase
extends ViewDeclarationLanguageBase


Constructor Summary
JspViewDeclarationLanguageBase()
           
 
Method Summary
protected  java.lang.String calculateViewId(FacesContext context, java.lang.String viewId)
          Calculates the effective view identifier for the specified raw view identifier.
protected  void flushBufferToWriter(java.lang.StringBuffer buff, java.io.Writer writer)
           
 java.beans.BeanInfo getComponentMetadata(FacesContext context, Resource componentResource)
          
 Resource getScriptComponentResource(FacesContext context, Resource componentResource)
          
 StateManagementStrategy getStateManagementStrategy(FacesContext context, java.lang.String viewId)
           
 ViewMetadata getViewMetadata(FacesContext context, java.lang.String viewId)
          
 void renderView(FacesContext context, UIViewRoot view)
          
protected  void setAfterViewTagResponseWrapper(ExternalContext ec, ViewResponseWrapper wrapper)
           
protected  void writePartialBuffer(java.lang.StringBuffer contentBuffer, int beginIndex, int endIndex, java.io.Writer writer)
           
 
Methods inherited from class org.apache.myfaces.shared_impl.view.ViewDeclarationLanguageBase
checkNull, createView, restoreView, sendSourceNotFound
 
Methods inherited from class javax.faces.view.ViewDeclarationLanguage
buildView, retargetAttachedObjects, retargetMethodExpressions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspViewDeclarationLanguageBase

public JspViewDeclarationLanguageBase()
Method Detail

getComponentMetadata

public java.beans.BeanInfo getComponentMetadata(FacesContext context,
                                                Resource componentResource)

Specified by:
getComponentMetadata in class ViewDeclarationLanguage

getScriptComponentResource

public Resource getScriptComponentResource(FacesContext context,
                                           Resource componentResource)

Specified by:
getScriptComponentResource in class ViewDeclarationLanguage

renderView

public void renderView(FacesContext context,
                       UIViewRoot view)
                throws java.io.IOException

Specified by:
renderView in class ViewDeclarationLanguage
Throws:
java.io.IOException

getViewMetadata

public ViewMetadata getViewMetadata(FacesContext context,
                                    java.lang.String viewId)

Specified by:
getViewMetadata in class ViewDeclarationLanguage

setAfterViewTagResponseWrapper

protected void setAfterViewTagResponseWrapper(ExternalContext ec,
                                              ViewResponseWrapper wrapper)

flushBufferToWriter

protected void flushBufferToWriter(java.lang.StringBuffer buff,
                                   java.io.Writer writer)
                            throws java.io.IOException
Throws:
java.io.IOException

writePartialBuffer

protected void writePartialBuffer(java.lang.StringBuffer contentBuffer,
                                  int beginIndex,
                                  int endIndex,
                                  java.io.Writer writer)
                           throws java.io.IOException
Throws:
java.io.IOException

getStateManagementStrategy

public StateManagementStrategy getStateManagementStrategy(FacesContext context,
                                                          java.lang.String viewId)
Specified by:
getStateManagementStrategy in class ViewDeclarationLanguage

calculateViewId

protected java.lang.String calculateViewId(FacesContext context,
                                           java.lang.String viewId)
Description copied from class: ViewDeclarationLanguageBase
Calculates the effective view identifier for the specified raw view identifier.

Specified by:
calculateViewId in class ViewDeclarationLanguageBase
Parameters:
context - le current FacesContext
viewId - the raw view identifier
Returns:
the effective view identifier


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