Package jakarta.faces.view.facelets
Class MetaRuleset
java.lang.Object
jakarta.faces.view.facelets.MetaRuleset
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract MetaRulesetAdd anotherMetadatato this ruleset, returningthis.abstract MetaRulesetAdd anotherMetaRuleto this ruleset, returningthis.abstract MetaRulesetCustomize 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 MetaRulesetCustomize thisMetaRulesetinstance to advise it to ignore the attribute named by theattributeargument, returningthis.abstract MetaRulesetCustomize thisMetaRulesetinstance to advise it to ignore all attributes, returningthis.
-
Constructor Details
-
MetaRuleset
public MetaRuleset()
-
-
Method Details
-
ignore
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
-
ignoreAll
Customize this
MetaRulesetinstance to advise it to ignore all attributes, returningthis.- Returns:
- the ignoreAll
MetaRuleset. - Since:
- 2.0
-
alias
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
-
add
Add another
Metadatato this ruleset, returningthis.- Parameters:
metadata- theMetadatato add.- Returns:
- the
MetaRulesetwith theMetadataadded. - Since:
- 2.0
-
addRule
Add another
MetaRuleto this ruleset, returningthis.- Parameters:
rule- the rule to add.- Returns:
- the
MetaRulesetwith theMetaRuleadded. - Since:
- 2.0
-
finish
Take actions to apply the rule.
- Returns:
- the Metadata with the MetaRuleSet applied.
-