org.apache.myfaces.trinidad.facelets

## Class MetaTagHandler

- java.lang.Object
- - javax.faces.view.facelets.TagHandler
  - - org.apache.myfaces.trinidad.facelets.MetaTagHandler

- All Implemented Interfaces:
    javax.faces.view.facelets.FaceletHandler

      public abstract class MetaTagHandler
      extends javax.faces.view.facelets.TagHandler

  A base tag for wiring state to an object instance based on rules populated at the time of creating a MetaRuleset. Implementation copied from Facelets 1.1.14, as it got hidden by JSF 2.0
  Author:
    Jacob Hookom

- - ### Field Summary

    - ### Fields inherited from class javax.faces.view.facelets.TagHandler

      `nextHandler, tag, tagId`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MetaTagHandler(javax.faces.view.facelets.TagConfig config)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected javax.faces.view.facelets.MetaRuleset` | `createMetaRuleset(Class type)` Extend this method in order to add your own rules.
    `protected void` | `setAttributes(javax.faces.view.facelets.FaceletContext ctx, Object instance)` Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.

    - ### Methods inherited from class javax.faces.view.facelets.TagHandler

      `getAttribute, getRequiredAttribute, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface javax.faces.view.facelets.FaceletHandler

      `apply`

- - ### Constructor Detail

    - #### MetaTagHandler

          public MetaTagHandler(javax.faces.view.facelets.TagConfig config)

  - ### Method Detail

    - #### createMetaRuleset

          protected javax.faces.view.facelets.MetaRuleset createMetaRuleset(Class type)

      Extend this method in order to add your own rules.
      Parameters:
        `type` -
      Returns:

    - #### setAttributes

          protected void setAttributes(javax.faces.view.facelets.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` -

Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.