Class MetaTagHandler

java.lang.Object
jakarta.faces.view.facelets.TagHandler
jakarta.faces.view.facelets.MetaTagHandler
All Implemented Interfaces:
FaceletHandler
Direct Known Subclasses:
DelegatingMetaTagHandler

public abstract class MetaTagHandler extends TagHandler
A base tag for wiring state to an object instance based on rules populated at the time of creating a MetaRuleset.
  • Constructor Details

    • MetaTagHandler

      public MetaTagHandler(TagConfig config)
  • Method Details

    • createMetaRuleset

      protected abstract MetaRuleset createMetaRuleset(Class type)
      Extend this method in order to add your own rules.
      Parameters:
      type -
      Returns:
      FIXME: EG _ GENERIC
    • setAttributes

      protected void setAttributes(FaceletContext ctx, Object instance)
      Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.
      Parameters:
      ctx -
      instance -