Package javax.faces.view.facelets
Class MetaRuleset
- java.lang.Object
-
- javax.faces.view.facelets.MetaRuleset
-
public abstract class MetaRuleset extends java.lang.ObjectA 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 Constructor Description MetaRuleset()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract MetaRulesetadd(Metadata mapper)Add anotherMetadatato this ruleset, returningthis.abstract MetaRulesetaddRule(MetaRule rule)Add anotherMetaRuleto this ruleset, returningthis.abstract MetaRulesetalias(java.lang.String attribute, java.lang.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(java.lang.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
-
ignore
public abstract MetaRuleset ignore(java.lang.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.- Since:
- 2.0
-
ignoreAll
public abstract MetaRuleset ignoreAll()
Customize this
MetaRulesetinstance to advise it to ignore all attributes, returningthis.- Since:
- 2.0
-
alias
public abstract MetaRuleset alias(java.lang.String attribute, java.lang.String property)
Customize this
MetaRulesetby removing the attribute named by argumentattributeand re-adding it under the name given by the argumentproperty, returningthis.- Since:
- 2.0
-
add
public abstract MetaRuleset add(Metadata mapper)
Add another
Metadatato this ruleset, returningthis.- Since:
- 2.0
-
addRule
public abstract MetaRuleset addRule(MetaRule rule)
Add another
MetaRuleto this ruleset, returningthis.- Since:
- 2.0
-
finish
public abstract Metadata finish()
Take actions to apply the rule.
-
-