- java.lang.Object
-
- javax.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 Summary
Constructors Constructor and Description MetaRuleset()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract MetaRuleset
add(Metadata mapper)
Add another
Metadata
to this ruleset, returningthis
.abstract MetaRuleset
addRule(MetaRule rule)
Add another
MetaRule
to this ruleset, returningthis
.abstract MetaRuleset
alias(String attribute, String property)
Customize this
MetaRuleset
by removing the attribute named by argumentattribute
and re-adding it under the name given by the argumentproperty
, returningthis
.abstract Metadata
finish()
Take actions to apply the rule.
abstract MetaRuleset
ignore(String attribute)
Customize this
MetaRuleset
instance to advise it to ignore the attribute named by theattribute
argument, returningthis
.abstract MetaRuleset
ignoreAll()
Customize this
MetaRuleset
instance to advise it to ignore all attributes, returningthis
.
-
-
-
Method Detail
-
ignore
public abstract MetaRuleset ignore(String attribute)
Customize this
MetaRuleset
instance to advise it to ignore the attribute named by theattribute
argument, returningthis
.- Parameters:
attribute
- the name of the attribute to ignore.- Since:
- 2.0
-
ignoreAll
public abstract MetaRuleset ignoreAll()
Customize this
MetaRuleset
instance to advise it to ignore all attributes, returningthis
.- Since:
- 2.0
-
alias
public abstract MetaRuleset alias(String attribute, String property)
Customize this
MetaRuleset
by removing the attribute named by argumentattribute
and re-adding it under the name given by the argumentproperty
, returningthis
.- Since:
- 2.0
-
add
public abstract MetaRuleset add(Metadata mapper)
Add another
Metadata
to this ruleset, returningthis
.- Since:
- 2.0
-
addRule
public abstract MetaRuleset addRule(MetaRule rule)
Add another
MetaRule
to this ruleset, returningthis
.- Since:
- 2.0
-
finish
public abstract Metadata finish()
Take actions to apply the rule.
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/faces/view/facelets/metaruleset.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.