|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.extensions.validator.core.renderkit.AbstractRenderKitWrapperFactory
public abstract class AbstractRenderKitWrapperFactory
Base for all RenderKitWrapperFactories to force a specific behaviour. Subclasses need to specify the logic to create the wrappers.
| Field Summary | |
|---|---|
protected Logger |
logger
|
protected AbstractRenderKitWrapperFactory |
wrapped
|
| Constructor Summary | |
|---|---|
protected |
AbstractRenderKitWrapperFactory()
|
| Method Summary | |
|---|---|
void |
addRenderKitWrapperFactory(AbstractRenderKitWrapperFactory renderKitWrapperFactory)
Adds a AbstractRenderKitWrapperFactory which should be used before the
default behavior gets executed (as fallback). |
javax.faces.render.RenderKit |
create(javax.faces.render.RenderKit renderKit)
Wraps the given RenderKit to allow
RendererInterceptors. |
protected abstract javax.faces.render.RenderKit |
createWrapper(javax.faces.render.RenderKit renderKit)
Create the wrapper for the given RenderKit. |
void |
deactivate()
Deactivates the current instance (and it's wrapped instance/s) |
protected boolean |
isApplicationInitialized()
Checks if the JSF application is fully initialized. |
boolean |
isDeactivated()
Checks if this instance is active or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Logger logger
protected AbstractRenderKitWrapperFactory wrapped
| Constructor Detail |
|---|
protected AbstractRenderKitWrapperFactory()
| Method Detail |
|---|
public void addRenderKitWrapperFactory(AbstractRenderKitWrapperFactory renderKitWrapperFactory)
AbstractRenderKitWrapperFactory which should be used before the
default behavior gets executed (as fallback). If there's already a wrapped instance,
the new instance gets added as wrapped instance to the existing wrapped instance,
so that we have a chain of RenderKitWrapperFactory's.
renderKitWrapperFactory - The renderKitWrapperFactory to add.public void deactivate()
public boolean isDeactivated()
public final javax.faces.render.RenderKit create(javax.faces.render.RenderKit renderKit)
RenderKit to allow
RendererInterceptors.
When we have a chain of RenderKitWrapperFactories, the
next instance in the chain is asked to wrap the RenderKit instance.
The actual creation is performed by the abstract method createWrapper(javax.faces.render.RenderKit).
create in interface ClassMappingFactory<javax.faces.render.RenderKit,javax.faces.render.RenderKit>renderKit - The renderKit to use.
protected abstract javax.faces.render.RenderKit createWrapper(javax.faces.render.RenderKit renderKit)
RenderKit.
renderKit - The renderKit to use.
protected boolean isApplicationInitialized()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||