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 TagHandlerDelegate
createBehaviorHandlerDelegate(BehaviorHandler owner)
Create and return aTagHandlerDelegate
instance designed for use withBehaviorHandler
.abstract TagHandlerDelegate
createComponentHandlerDelegate(ComponentHandler owner)
Create and return aTagHandlerDelegate
instance designed for use withComponentHandler
.abstract TagHandlerDelegate
createConverterHandlerDelegate(ConverterHandler owner)
Create and return aTagHandlerDelegate
instance designed for use withConverterHandler
.abstract TagHandlerDelegate
createValidatorHandlerDelegate(ValidatorHandler owner)
Create and return aTagHandlerDelegate
instance designed for use withValidatorHandler
.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.
-
-
-
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:
getWrapped
in interfaceFacesWrapper<TagHandlerDelegateFactory>
- Returns:
- the wrapped instance.
- Since:
- 2.2
-
createComponentHandlerDelegate
public abstract TagHandlerDelegate createComponentHandlerDelegate(ComponentHandler owner)
Create and return a
TagHandlerDelegate
instance designed for use withComponentHandler
.- Parameters:
owner
- theComponentHandler
instance 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
TagHandlerDelegate
instance designed for use withValidatorHandler
.- Parameters:
owner
- theValidatorHandler
instance 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
TagHandlerDelegate
instance designed for use withConverterHandler
.- Parameters:
owner
- theValidatorHandler
instance 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
TagHandlerDelegate
instance designed for use withBehaviorHandler
.- Parameters:
owner
- theValidatorHandler
instance being helped by this helper instance.- Returns:
- the newly created instance
- Since:
- 2.0
-
-