Class 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 Detail

      • MetaTagHandler

        public MetaTagHandler​(TagConfig config)
    • Method Detail

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