Package com.sun.faces.facelets.tag
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 Summary
Constructors Constructor Description MetaRulesetImpl(Tag tag, Class<?> type)
-
Method Summary
Modifier and Type Method Description MetaRuleset
add(Metadata mapper)
Add anotherMetadata
to this ruleset, returningthis
.MetaRuleset
addRule(MetaRule rule)
Add anotherMetaRule
to this ruleset, returningthis
.MetaRuleset
alias(String attribute, String property)
Customize thisMetaRuleset
by removing the attribute named by argumentattribute
and re-adding it under the name given by the argumentproperty
, returningthis
.Metadata
finish()
Take actions to apply the rule.protected MetadataTarget
getMetadataTarget()
MetaRuleset
ignore(String attribute)
Customize thisMetaRuleset
instance to advise it to ignore the attribute named by theattribute
argument, returningthis
.MetaRuleset
ignoreAll()
Customize thisMetaRuleset
instance to advise it to ignore all attributes, returningthis
.
-
Constructor Details
-
Method Details
-
ignore
Description copied from class:MetaRuleset
Customize this
MetaRuleset
instance to advise it to ignore the attribute named by theattribute
argument, returningthis
.- Specified by:
ignore
in classMetaRuleset
- Parameters:
attribute
- the name of the attribute to ignore.- Returns:
- the MetaRuleset with the given attribute ignored.
-
alias
Description copied from class:MetaRuleset
Customize this
MetaRuleset
by removing the attribute named by argumentattribute
and re-adding it under the name given by the argumentproperty
, returningthis
.- Specified by:
alias
in classMetaRuleset
- Parameters:
attribute
- the attribute to remove.property
- the property to add.- Returns:
- the aliased MetaRuleSet.
-
add
Description copied from class:MetaRuleset
Add another
Metadata
to this ruleset, returningthis
.- Specified by:
add
in classMetaRuleset
- Parameters:
mapper
- theMetadata
to add.- Returns:
- the
MetaRuleset
with theMetadata
added.
-
addRule
Description copied from class:MetaRuleset
Add another
MetaRule
to this ruleset, returningthis
.- Specified by:
addRule
in classMetaRuleset
- Parameters:
rule
- the rule to add.- Returns:
- the
MetaRuleset
with theMetaRule
added.
-
finish
Description copied from class:MetaRuleset
Take actions to apply the rule.
- Specified by:
finish
in classMetaRuleset
- Returns:
- the Metadata with the MetaRuleSet applied.
-
ignoreAll
Description copied from class:MetaRuleset
Customize this
MetaRuleset
instance to advise it to ignore all attributes, returningthis
.- Specified by:
ignoreAll
in classMetaRuleset
- Returns:
- the ignoreAll
MetaRuleset
.
-
getMetadataTarget
-