Class MetaRulesetImpl

java.lang.Object
jakarta.faces.view.facelets.MetaRuleset
com.sun.faces.facelets.tag.MetaRulesetImpl

public class MetaRulesetImpl extends MetaRuleset
Version:
$Id$
Author:
Jacob Hookom
  • Constructor Details

    • MetaRulesetImpl

      public MetaRulesetImpl(Tag tag, Class<?> type)
  • Method Details

    • ignore

      public MetaRuleset ignore(String attribute)
      Description copied from class: MetaRuleset

      Customize this MetaRuleset instance to advise it to ignore the attribute named by the attribute argument, returning this.

      Specified by:
      ignore in class MetaRuleset
      Parameters:
      attribute - the name of the attribute to ignore.
      Returns:
      the MetaRuleset with the given attribute ignored.
    • alias

      public MetaRuleset alias(String attribute, String property)
      Description copied from class: MetaRuleset

      Customize this MetaRuleset by removing the attribute named by argument attribute and re-adding it under the name given by the argument property, returning this.

      Specified by:
      alias in class MetaRuleset
      Parameters:
      attribute - the attribute to remove.
      property - the property to add.
      Returns:
      the aliased MetaRuleSet.
    • add

      public MetaRuleset add(Metadata mapper)
      Description copied from class: MetaRuleset

      Add another Metadata to this ruleset, returning this.

      Specified by:
      add in class MetaRuleset
      Parameters:
      mapper - the Metadata to add.
      Returns:
      the MetaRuleset with the Metadata added.
    • addRule

      public MetaRuleset addRule(MetaRule rule)
      Description copied from class: MetaRuleset

      Add another MetaRule to this ruleset, returning this.

      Specified by:
      addRule in class MetaRuleset
      Parameters:
      rule - the rule to add.
      Returns:
      the MetaRuleset with the MetaRule added.
    • finish

      public Metadata finish()
      Description copied from class: MetaRuleset

      Take actions to apply the rule.

      Specified by:
      finish in class MetaRuleset
      Returns:
      the Metadata with the MetaRuleSet applied.
    • ignoreAll

      public MetaRuleset ignoreAll()
      Description copied from class: MetaRuleset

      Customize this MetaRuleset instance to advise it to ignore all attributes, returning this.

      Specified by:
      ignoreAll in class MetaRuleset
      Returns:
      the ignoreAll MetaRuleset.
    • getMetadataTarget

      protected MetadataTarget getMetadataTarget()