|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.extensions.validator.core.interceptor.AbstractRendererInterceptor
public abstract class AbstractRendererInterceptor
Empty base implementation which allows concrete implementations to override just the needed methods.
| Field Summary | |
|---|---|
protected Logger |
logger
|
| Constructor Summary | |
|---|---|
protected |
AbstractRendererInterceptor()
|
| Method Summary | |
|---|---|
void |
afterDecode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
Intercepts a method of the renderer. |
void |
afterEncodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
Intercepts a method of the renderer. |
void |
afterEncodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
Intercepts a method of the renderer. |
void |
afterEncodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
Intercepts a method of the renderer. |
void |
afterGetConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object o,
javax.faces.render.Renderer wrapped)
Intercepts a method of the renderer. |
void |
beforeDecode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
Intercepts a method of the renderer. |
void |
beforeEncodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
Intercepts a method of the renderer. |
void |
beforeEncodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
Intercepts a method of the renderer. |
void |
beforeEncodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
Intercepts a method of the renderer. |
void |
beforeGetConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object o,
javax.faces.render.Renderer wrapped)
Intercepts a method of the renderer. |
String |
getInterceptorId()
|
Object |
getReturnValueOnSkipRendererDelegationException(SkipRendererDelegationException skipRendererDelegationException,
Object currentReturnValue)
In case of the converted value it defines the value that should be returned by the getConvertedValue method in case there was a SkipRendererDelegationException. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Logger logger
| Constructor Detail |
|---|
protected AbstractRendererInterceptor()
| Method Detail |
|---|
public final String getInterceptorId()
getInterceptorId in interface RendererInterceptor
public Object getReturnValueOnSkipRendererDelegationException(SkipRendererDelegationException skipRendererDelegationException,
Object currentReturnValue)
SkipRendererDelegationException.
getReturnValueOnSkipRendererDelegationException in interface RendererInterceptorskipRendererDelegationException - The exception thrown to abort further RendererInterceptors.currentReturnValue - The converted value that is defined at this time.
public void beforeDecode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
throws SkipBeforeInterceptorsException,
SkipRendererDelegationException
beforeDecode in interface RendererInterceptorfacesContext - The JSF ContextuiComponent - The current componentwrapped - The intercepted renderer
SkipBeforeInterceptorsException - can be thrown to stop the execution of the subsequent interceptors
SkipRendererDelegationException - can be thorwn to skip the invocation of the intercepted renderer method.
public void beforeEncodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
throws IOException,
SkipBeforeInterceptorsException,
SkipRendererDelegationException
beforeEncodeBegin in interface RendererInterceptorfacesContext - The JSF ContextuiComponent - The current componentwrapped - The intercepted renderer
IOException - In case the response writer is accessed and there was an IO problem.
SkipBeforeInterceptorsException - can be thrown to stop the execution of the subsequent interceptors
SkipRendererDelegationException - can be thorwn to skip the invocation of the intercepted renderer method.
public void beforeEncodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
throws IOException,
SkipBeforeInterceptorsException,
SkipRendererDelegationException
beforeEncodeChildren in interface RendererInterceptorfacesContext - The JSF ContextuiComponent - The current componentwrapped - The intercepted renderer
IOException - In case the response writer is accessed and there was an IO problem.
SkipBeforeInterceptorsException - can be thrown to stop the execution of the subsequent interceptors
SkipRendererDelegationException - can be thorwn to skip the invocation of the intercepted renderer method.
public void beforeEncodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
throws IOException,
SkipBeforeInterceptorsException,
SkipRendererDelegationException
beforeEncodeEnd in interface RendererInterceptorfacesContext - The JSF ContextuiComponent - The current componentwrapped - The intercepted renderer
IOException - In case the response writer is accessed and there was an IO problem.
SkipBeforeInterceptorsException - can be thrown to stop the execution of the subsequent interceptors
SkipRendererDelegationException - can be thorwn to skip the invocation of the intercepted renderer method.
public void beforeGetConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object o,
javax.faces.render.Renderer wrapped)
throws javax.faces.convert.ConverterException,
SkipBeforeInterceptorsException,
SkipRendererDelegationException
beforeGetConvertedValue in interface RendererInterceptorfacesContext - The JSF ContextuiComponent - The current componento - The submitted valuewrapped - The intercepted renderer
javax.faces.convert.ConverterException - ExtVal validation strategies can throw
ValidatorExceptions.
Due to the trick used by ExtVal it has to be converted to a ConverterException
(see AbstractValidationInterceptor).
SkipBeforeInterceptorsException - can be thrown to stop the execution of the subsequent interceptors
SkipRendererDelegationException - can be thorwn to skip the invocation of the intercepted renderer method.
public void afterDecode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
throws SkipAfterInterceptorsException
afterDecode in interface RendererInterceptorfacesContext - The JSF ContextuiComponent - The current componentwrapped - The intercepted renderer
SkipAfterInterceptorsException - Can be thrown to stop the execution of the subsequent interceptors.
public void afterEncodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
throws IOException,
SkipAfterInterceptorsException
afterEncodeBegin in interface RendererInterceptorfacesContext - The JSF contextuiComponent - The current componentwrapped - The intercepted renderer
IOException - In case the response writer is accessed and there was an IO problem.
SkipAfterInterceptorsException - Can be thrown to stop the execution of the subsequent interceptors.
public void afterEncodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
throws IOException,
SkipAfterInterceptorsException
afterEncodeChildren in interface RendererInterceptorfacesContext - The JSF ContextuiComponent - The current componentwrapped - The intercepted renderer
IOException - In case the response writer is accessed and there was an IO problem.
SkipAfterInterceptorsException - Can be thrown to stop the execution of the subsequent interceptors.
public void afterEncodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.render.Renderer wrapped)
throws IOException,
SkipAfterInterceptorsException
afterEncodeEnd in interface RendererInterceptorfacesContext - The JSF ContextuiComponent - The current componentwrapped - The intercepted renderer
IOException - In case the response writer is accessed and there was an IO problem.
SkipAfterInterceptorsException - Can be thrown to stop the execution of the subsequent interceptors.
public void afterGetConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object o,
javax.faces.render.Renderer wrapped)
throws javax.faces.convert.ConverterException,
SkipAfterInterceptorsException
afterGetConvertedValue in interface RendererInterceptorfacesContext - The JSF ContextuiComponent - The current componento - The submitted valuewrapped - The intercepted renderer
javax.faces.convert.ConverterException - ExtVal validation strategies can throw
ValidatorExceptions.
Due to the trick used by ExtVal it has to be converted to a ConverterException
(see AbstractValidationInterceptor).
SkipAfterInterceptorsException - Can be thrown to stop the execution of the subsequent interceptors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||