Class TagHandlerDelegateFactory
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandlerDelegateFactory
-
- All Implemented Interfaces:
FacesWrapper<TagHandlerDelegateFactory>
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
All Methods Instance Methods Abstract Methods Concrete Methods 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 Detail
-
TagHandlerDelegateFactory
@Deprecated public TagHandlerDelegateFactory()
Deprecated.Use the other constructor taking the implementation being wrapped.
-
TagHandlerDelegateFactory
public TagHandlerDelegateFactory(TagHandlerDelegateFactory wrapped)
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 Detail
-
getWrapped
public TagHandlerDelegateFactory 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
public abstract TagHandlerDelegate createComponentHandlerDelegate(ComponentHandler owner)
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
public abstract TagHandlerDelegate createValidatorHandlerDelegate(ValidatorHandler owner)
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
public abstract TagHandlerDelegate createConverterHandlerDelegate(ConverterHandler owner)
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
public abstract TagHandlerDelegate createBehaviorHandlerDelegate(BehaviorHandler owner)
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
-
-