Class TagHandlerDelegateFactory

java.lang.Object
jakarta.faces.view.facelets.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 Details

    • 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 Details

    • 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 interface FacesWrapper<TagHandlerDelegateFactory>
      Returns:
      the wrapped instance.
      Since:
      2.2
    • createComponentHandlerDelegate

      public abstract TagHandlerDelegate createComponentHandlerDelegate(ComponentHandler owner)

      Create and return a TagHandlerDelegate instance designed for use with ComponentHandler.

      Parameters:
      owner - the ComponentHandler 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 with ValidatorHandler.

      Parameters:
      owner - the ValidatorHandler 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 with ConverterHandler.

      Parameters:
      owner - the ValidatorHandler 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 with BehaviorHandler.

      Parameters:
      owner - the ValidatorHandler instance being helped by this helper instance.
      Returns:
      the newly created instance
      Since:
      2.0