Package jakarta.faces.view.facelets
Class MetaRuleset
- java.lang.Object
- 
- jakarta.faces.view.facelets.MetaRuleset
 
- 
 public abstract class MetaRuleset extends Object A mutable set of rules to be used in auto-wiring state to a particular object instance. Rules assigned to this object will be composed into a single Metadata instance which will encapsulate the ruleset. - Since:
- 2.0
 
- 
- 
Constructor SummaryConstructors Constructor Description MetaRuleset()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract MetaRulesetadd(Metadata metadata)Add anotherMetadatato this ruleset, returningthis.abstract MetaRulesetaddRule(MetaRule rule)Add anotherMetaRuleto this ruleset, returningthis.abstract MetaRulesetalias(String attribute, String property)Customize thisMetaRulesetby removing the attribute named by argumentattributeand re-adding it under the name given by the argumentproperty, returningthis.abstract Metadatafinish()Take actions to apply the rule.abstract MetaRulesetignore(String attribute)Customize thisMetaRulesetinstance to advise it to ignore the attribute named by theattributeargument, returningthis.abstract MetaRulesetignoreAll()Customize thisMetaRulesetinstance to advise it to ignore all attributes, returningthis.
 
- 
- 
- 
Method Detail- 
ignorepublic abstract MetaRuleset ignore(String attribute) Customize this MetaRulesetinstance to advise it to ignore the attribute named by theattributeargument, returningthis.- Parameters:
- attribute- the name of the attribute to ignore.
- Returns:
- the MetaRuleset with the given attribute ignored.
- Since:
- 2.0
 
 - 
ignoreAllpublic abstract MetaRuleset ignoreAll() Customize this MetaRulesetinstance to advise it to ignore all attributes, returningthis.- Returns:
- the ignoreAll MetaRuleset.
- Since:
- 2.0
 
 - 
aliaspublic abstract MetaRuleset alias(String attribute, String property) Customize this MetaRulesetby removing the attribute named by argumentattributeand re-adding it under the name given by the argumentproperty, returningthis.- Parameters:
- attribute- the attribute to remove.
- property- the property to add.
- Returns:
- the aliased MetaRuleSet.
- Since:
- 2.0
 
 - 
addpublic abstract MetaRuleset add(Metadata metadata) Add another Metadatato this ruleset, returningthis.- Parameters:
- metadata- the- Metadatato add.
- Returns:
- the MetaRulesetwith theMetadataadded.
- Since:
- 2.0
 
 - 
addRulepublic abstract MetaRuleset addRule(MetaRule rule) Add another MetaRuleto this ruleset, returningthis.- Parameters:
- rule- the rule to add.
- Returns:
- the MetaRulesetwith theMetaRuleadded.
- Since:
- 2.0
 
 - 
finishpublic abstract Metadata finish() Take actions to apply the rule. - Returns:
- the Metadata with the MetaRuleSet applied.
 
 
- 
 
-