|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.view.ViewDeclarationLanguage
org.apache.myfaces.shared_tomahawk.view.ViewDeclarationLanguageBase
org.apache.myfaces.shared_tomahawk.view.JspViewDeclarationLanguageBase
public abstract class JspViewDeclarationLanguageBase
Field Summary |
---|
Fields inherited from class javax.faces.view.ViewDeclarationLanguage |
---|
FACELETS_VIEW_DECLARATION_LANGUAGE_ID, JSP_VIEW_DECLARATION_LANGUAGE_ID |
Constructor Summary | |
---|---|
JspViewDeclarationLanguageBase()
|
Method Summary | |
---|---|
protected boolean |
actuallyRenderView(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot viewToRender)
Render the view now - properly setting and resetting the response writer [MF] Modified to return a boolean so subclass that delegates can determine whether the rendering succeeded or not. |
void |
buildView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot view)
|
protected String |
calculateViewId(javax.faces.context.FacesContext context,
String viewId)
Calculates the effective view identifier for the specified raw view identifier. |
protected void |
flushBufferToWriter(StringBuffer buff,
Writer writer)
|
BeanInfo |
getComponentMetadata(javax.faces.context.FacesContext context,
javax.faces.application.Resource componentResource)
|
javax.faces.application.Resource |
getScriptComponentResource(javax.faces.context.FacesContext context,
javax.faces.application.Resource componentResource)
|
javax.faces.view.StateManagementStrategy |
getStateManagementStrategy(javax.faces.context.FacesContext context,
String viewId)
|
javax.faces.view.ViewMetadata |
getViewMetadata(javax.faces.context.FacesContext context,
String viewId)
|
protected boolean |
isViewBuilt(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot view)
Returns true if the given UIViewRoot has already been built via VDL.buildView(). |
protected boolean |
isViewStateAlreadyEncoded(javax.faces.context.FacesContext context)
|
void |
renderView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot view)
|
protected void |
setAfterViewTagResponseWrapper(javax.faces.context.ExternalContext ec,
ViewResponseWrapper wrapper)
|
protected void |
setViewBuilt(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot view)
Saves a flag in the attribute map of the FacesContext to indicate that the given UIViewRoot was already built with VDL.buildView(). |
protected void |
writePartialBuffer(StringBuffer contentBuffer,
int beginIndex,
int endIndex,
Writer writer)
|
Methods inherited from class org.apache.myfaces.shared_tomahawk.view.ViewDeclarationLanguageBase |
---|
checkNull, createView, restoreView, sendSourceNotFound |
Methods inherited from class javax.faces.view.ViewDeclarationLanguage |
---|
getId, retargetAttachedObjects, retargetMethodExpressions, viewExists |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JspViewDeclarationLanguageBase()
Method Detail |
---|
public void buildView(javax.faces.context.FacesContext context, javax.faces.component.UIViewRoot view) throws IOException
buildView
in class javax.faces.view.ViewDeclarationLanguage
IOException
public BeanInfo getComponentMetadata(javax.faces.context.FacesContext context, javax.faces.application.Resource componentResource)
getComponentMetadata
in class javax.faces.view.ViewDeclarationLanguage
public javax.faces.application.Resource getScriptComponentResource(javax.faces.context.FacesContext context, javax.faces.application.Resource componentResource)
getScriptComponentResource
in class javax.faces.view.ViewDeclarationLanguage
public void renderView(javax.faces.context.FacesContext context, javax.faces.component.UIViewRoot view) throws IOException
renderView
in class javax.faces.view.ViewDeclarationLanguage
IOException
public javax.faces.view.ViewMetadata getViewMetadata(javax.faces.context.FacesContext context, String viewId)
getViewMetadata
in class javax.faces.view.ViewDeclarationLanguage
protected boolean isViewStateAlreadyEncoded(javax.faces.context.FacesContext context)
protected void setAfterViewTagResponseWrapper(javax.faces.context.ExternalContext ec, ViewResponseWrapper wrapper)
protected void flushBufferToWriter(StringBuffer buff, Writer writer) throws IOException
IOException
protected void writePartialBuffer(StringBuffer contentBuffer, int beginIndex, int endIndex, Writer writer) throws IOException
IOException
protected boolean actuallyRenderView(javax.faces.context.FacesContext facesContext, javax.faces.component.UIViewRoot viewToRender) throws IOException
IOException
public javax.faces.view.StateManagementStrategy getStateManagementStrategy(javax.faces.context.FacesContext context, String viewId)
getStateManagementStrategy
in class javax.faces.view.ViewDeclarationLanguage
protected String calculateViewId(javax.faces.context.FacesContext context, String viewId)
ViewDeclarationLanguageBase
calculateViewId
in class ViewDeclarationLanguageBase
context
- le current FacesContextviewId
- the raw view identifier
protected boolean isViewBuilt(javax.faces.context.FacesContext facesContext, javax.faces.component.UIViewRoot view)
facesContext
- view
-
protected void setViewBuilt(javax.faces.context.FacesContext facesContext, javax.faces.component.UIViewRoot view)
facesContext
- view
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |