|
||||||||||
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_impl.view.ViewDeclarationLanguageBase
org.apache.myfaces.shared_impl.view.JspViewDeclarationLanguageBase
public abstract class JspViewDeclarationLanguageBase
Constructor Summary | |
---|---|
JspViewDeclarationLanguageBase()
|
Method Summary | |
---|---|
void |
buildView(FacesContext context,
UIViewRoot view)
|
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)
|
protected boolean |
isViewBuilt(FacesContext facesContext,
UIViewRoot view)
Returns true if the given UIViewRoot has already been built via VDL.buildView(). |
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(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 |
---|
retargetAttachedObjects, retargetMethodExpressions |
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(FacesContext context, UIViewRoot view) throws java.io.IOException
buildView
in class ViewDeclarationLanguage
java.io.IOException
public java.beans.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 java.io.IOException
renderView
in class ViewDeclarationLanguage
java.io.IOException
public ViewMetadata getViewMetadata(FacesContext context, java.lang.String viewId)
getViewMetadata
in class ViewDeclarationLanguage
protected void setAfterViewTagResponseWrapper(ExternalContext ec, ViewResponseWrapper wrapper)
protected void flushBufferToWriter(java.lang.StringBuffer buff, java.io.Writer writer) throws java.io.IOException
java.io.IOException
protected void writePartialBuffer(java.lang.StringBuffer contentBuffer, int beginIndex, int endIndex, java.io.Writer writer) throws java.io.IOException
java.io.IOException
public StateManagementStrategy getStateManagementStrategy(FacesContext context, java.lang.String viewId)
getStateManagementStrategy
in class ViewDeclarationLanguage
protected java.lang.String calculateViewId(FacesContext context, java.lang.String viewId)
ViewDeclarationLanguageBase
calculateViewId
in class ViewDeclarationLanguageBase
context
- 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 |