Class TagHandlerDelegateFactory
- All Implemented Interfaces:
FacesWrapper<TagHandlerDelegateFactory>
- Direct Known Subclasses:
TagHandlerDelegateFactoryImpl
public abstract class TagHandlerDelegateFactory extends Object implements FacesWrapper<TagHandlerDelegateFactory>
Abstract factory for creating instances of
TagHandlerDelegate.
Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped() to
access the instance being wrapped.
- Since:
- 2.0
-
Constructor Summary
Constructors Constructor Description TagHandlerDelegateFactory()Deprecated.Use the other constructor taking the implementation being wrapped.TagHandlerDelegateFactory(TagHandlerDelegateFactory wrapped)If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. -
Method Summary
Modifier and Type Method Description abstract TagHandlerDelegatecreateBehaviorHandlerDelegate(BehaviorHandler owner)Create and return aTagHandlerDelegateinstance designed for use withBehaviorHandler.abstract TagHandlerDelegatecreateComponentHandlerDelegate(ComponentHandler owner)Create and return aTagHandlerDelegateinstance designed for use withComponentHandler.abstract TagHandlerDelegatecreateConverterHandlerDelegate(ConverterHandler owner)Create and return aTagHandlerDelegateinstance designed for use withConverterHandler.abstract TagHandlerDelegatecreateValidatorHandlerDelegate(ValidatorHandler owner)Create and return aTagHandlerDelegateinstance designed for use withValidatorHandler.TagHandlerDelegateFactorygetWrapped()If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
-
Constructor Details
-
TagHandlerDelegateFactory
Deprecated.Use the other constructor taking the implementation being wrapped. -
TagHandlerDelegateFactory
If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The
getWrapped()will then return the implementation being wrapped.- Parameters:
wrapped- The implementation being wrapped.
-
-
Method Details
-
getWrapped
If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- Specified by:
getWrappedin interfaceFacesWrapper<TagHandlerDelegateFactory>- Returns:
- the wrapped instance.
- Since:
- 2.2
-
createComponentHandlerDelegate
Create and return a
TagHandlerDelegateinstance designed for use withComponentHandler.- Parameters:
owner- theComponentHandlerinstance being helped by this helper instance.- Returns:
- the newly created instance
- Since:
- 2.0
-
createValidatorHandlerDelegate
Create and return a
TagHandlerDelegateinstance designed for use withValidatorHandler.- Parameters:
owner- theValidatorHandlerinstance being helped by this helper instance.- Returns:
- the newly created instance
- Since:
- 2.0
-
createConverterHandlerDelegate
Create and return a
TagHandlerDelegateinstance designed for use withConverterHandler.- Parameters:
owner- theValidatorHandlerinstance being helped by this helper instance.- Returns:
- the newly created instance
- Since:
- 2.0
-
createBehaviorHandlerDelegate
Create and return a
TagHandlerDelegateinstance designed for use withBehaviorHandler.- Parameters:
owner- theValidatorHandlerinstance being helped by this helper instance.- Returns:
- the newly created instance
- Since:
- 2.0
-