Class ConverterTagHandlerDelegateImpl

java.lang.Object
jakarta.faces.view.facelets.TagHandlerDelegate
com.sun.faces.facelets.tag.faces.ConverterTagHandlerDelegateImpl
All Implemented Interfaces:
AttachedObjectHandler

public class ConverterTagHandlerDelegateImpl extends TagHandlerDelegate implements AttachedObjectHandler
Author:
edburns
  • Constructor Details

    • ConverterTagHandlerDelegateImpl

      public ConverterTagHandlerDelegateImpl(ConverterHandler owner)
  • Method Details

    • apply

      public void apply(FaceletContext ctx, UIComponent parent) throws IOException
      Description copied from class: TagHandlerDelegate

      Called by classes that implement FaceletHandler in their implementation of apply().

      If the argument comp is new to the view, for each tag attribute declared to be in the pass through attribute namespace, set the name and value of the attribute into the pass through attributes map of the component. See UIComponent.getPassThroughAttributes(boolean). See the VDLDocs for the namespace URI of the pass through attribute namespace. Attributes whose value is a ValueExpression must remain un-evaluated and stored in the map as ValueExpression instances.

      Specified by:
      apply in class TagHandlerDelegate
      Parameters:
      ctx - the FaceletContext for this request
      parent - the UIComponent that corresponds to this element.
      Throws:
      IOException - if any files necessary to apply this tag handler have any difficulty while loading
    • createMetaRuleset

      public MetaRuleset createMetaRuleset(Class type)
      Description copied from class: TagHandlerDelegate

      Return a MetaRuleset particular to this kind of tag handler. Called from classes that implement MetaTagHandler.

      Specified by:
      createMetaRuleset in class TagHandlerDelegate
      Parameters:
      type - the Class for which the MetaRuleset must be created.
      Returns:
      a MetaRuleset particular to this kind of tag handler.
    • getFor

      public String getFor()
      Description copied from interface: AttachedObjectHandler

      Return the value of the "for" attribute specified by the page author on the tag for this AttachedObjectHandler.

      Specified by:
      getFor in interface AttachedObjectHandler
      Returns:
      the value of the "for" attribute for this attached object
    • applyAttachedObject

      public void applyAttachedObject(FacesContext context, UIComponent parent)
      Description copied from interface: AttachedObjectHandler

      Take the argument parent and apply this attached object to it. The action taken varies with class that implements one of the subinterfaces of this interface.

      Specified by:
      applyAttachedObject in interface AttachedObjectHandler
      Parameters:
      context - The FacesContext for this request
      parent - The UIComponent to which this particular attached object must be applied.