|
||||||||||
| 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.view.ViewDeclarationLanguageBase
org.apache.myfaces.shared.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(FacesContext facesContext,
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(FacesContext context,
UIViewRoot view)
|
protected String |
calculateViewId(FacesContext context,
String viewId)
Calculates the effective view identifier for the specified raw view identifier. |
protected void |
flushBufferToWriter(StringBuffer buff,
Writer writer)
|
BeanInfo |
getComponentMetadata(FacesContext context,
Resource componentResource)
|
String |
getId()
|
Resource |
getScriptComponentResource(FacesContext context,
Resource componentResource)
|
StateManagementStrategy |
getStateManagementStrategy(FacesContext context,
String viewId)
|
ViewMetadata |
getViewMetadata(FacesContext context,
String viewId)
|
protected boolean |
isViewBuilt(FacesContext facesContext,
UIViewRoot view)
Returns true if the given UIViewRoot has already been built via VDL.buildView(). |
protected boolean |
isViewStateAlreadyEncoded(FacesContext context)
|
void |
renderView(FacesContext context,
UIViewRoot view)
|
protected void |
setAfterViewTagResponseWrapper(ExternalContext ec,
ViewResponseWrapper wrapper)
|
protected void |
setViewBuilt(FacesContext facesContext,
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.view.ViewDeclarationLanguageBase |
|---|
checkNull, createView, restoreView, sendSourceNotFound |
| Methods inherited from class javax.faces.view.ViewDeclarationLanguage |
|---|
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 String getId()
getId in class ViewDeclarationLanguage
public void buildView(FacesContext context,
UIViewRoot view)
throws IOException
buildView in class ViewDeclarationLanguageIOException
public BeanInfo getComponentMetadata(FacesContext context,
Resource componentResource)
getComponentMetadata in class ViewDeclarationLanguage
public Resource getScriptComponentResource(FacesContext context,
Resource componentResource)
getScriptComponentResource in class ViewDeclarationLanguage
public void renderView(FacesContext context,
UIViewRoot view)
throws IOException
renderView in class ViewDeclarationLanguageIOException
public ViewMetadata getViewMetadata(FacesContext context,
String viewId)
getViewMetadata in class ViewDeclarationLanguageprotected boolean isViewStateAlreadyEncoded(FacesContext context)
protected void setAfterViewTagResponseWrapper(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(FacesContext facesContext,
UIViewRoot viewToRender)
throws IOException
IOException
public StateManagementStrategy getStateManagementStrategy(FacesContext context,
String viewId)
getStateManagementStrategy in class ViewDeclarationLanguage
protected String calculateViewId(FacesContext context,
String viewId)
ViewDeclarationLanguageBase
calculateViewId in class ViewDeclarationLanguageBasecontext - le current FacesContextviewId - the raw view identifier
protected boolean isViewBuilt(FacesContext facesContext,
UIViewRoot view)
facesContext - view -
protected void setViewBuilt(FacesContext facesContext,
UIViewRoot view)
facesContext - view -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||