|
||||||||||
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
public abstract class ViewDeclarationLanguageBase
Constructor Summary | |
---|---|
ViewDeclarationLanguageBase()
|
Method Summary | |
---|---|
protected abstract String |
calculateViewId(javax.faces.context.FacesContext context,
String viewId)
Calculates the effective view identifier for the specified raw view identifier. |
protected void |
checkNull(Object o,
String param)
Check if the specified value of a param is null . |
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext context,
String viewId)
Process the specification required algorithm that is generic to all PDL. |
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext context,
String viewId)
|
protected abstract void |
sendSourceNotFound(javax.faces.context.FacesContext context,
String message)
Send a source not found to the client. |
Methods inherited from class javax.faces.view.ViewDeclarationLanguage |
---|
buildView, getComponentMetadata, getScriptComponentResource, getStateManagementStrategy, getViewMetadata, renderView, retargetAttachedObjects, retargetMethodExpressions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewDeclarationLanguageBase()
Method Detail |
---|
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context, String viewId)
createView
in class javax.faces.view.ViewDeclarationLanguage
context
- viewId
- public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context, String viewId)
restoreView
in class javax.faces.view.ViewDeclarationLanguage
protected abstract String calculateViewId(javax.faces.context.FacesContext context, String viewId)
context
- le current FacesContextviewId
- the raw view identifier
protected abstract void sendSourceNotFound(javax.faces.context.FacesContext context, String message)
context
- le current FacesContextmessage
- the message associated with the errorprotected void checkNull(Object o, String param)
null
.
o
- the parameter's valueparam
- the parameter's name
NullPointerException
- if the value is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |