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 MetaRulesetadd(Metadata mapper)Add anotherMetadatato this ruleset, returningthis.MetaRulesetaddRule(MetaRule rule)Add anotherMetaRuleto this ruleset, returningthis.MetaRulesetalias(String attribute, String property)Customize thisMetaRulesetby removing the attribute named by argumentattributeand re-adding it under the name given by the argumentproperty, returningthis.Metadatafinish()Take actions to apply the rule.protected MetadataTargetgetMetadataTarget()MetaRulesetignore(String attribute)Customize thisMetaRulesetinstance to advise it to ignore the attribute named by theattributeargument, returningthis.MetaRulesetignoreAll()Customize thisMetaRulesetinstance to advise it to ignore all attributes, returningthis.
-
Constructor Details
-
Method Details
-
ignore
Description copied from class:MetaRulesetCustomize this
MetaRulesetinstance to advise it to ignore the attribute named by theattributeargument, returningthis.- Specified by:
ignorein classMetaRuleset- Parameters:
attribute- the name of the attribute to ignore.- Returns:
- the MetaRuleset with the given attribute ignored.
-
alias
Description copied from class:MetaRulesetCustomize this
MetaRulesetby removing the attribute named by argumentattributeand re-adding it under the name given by the argumentproperty, returningthis.- Specified by:
aliasin classMetaRuleset- Parameters:
attribute- the attribute to remove.property- the property to add.- Returns:
- the aliased MetaRuleSet.
-
add
Description copied from class:MetaRulesetAdd another
Metadatato this ruleset, returningthis.- Specified by:
addin classMetaRuleset- Parameters:
mapper- theMetadatato add.- Returns:
- the
MetaRulesetwith theMetadataadded.
-
addRule
Description copied from class:MetaRulesetAdd another
MetaRuleto this ruleset, returningthis.- Specified by:
addRulein classMetaRuleset- Parameters:
rule- the rule to add.- Returns:
- the
MetaRulesetwith theMetaRuleadded.
-
finish
Description copied from class:MetaRulesetTake actions to apply the rule.
- Specified by:
finishin classMetaRuleset- Returns:
- the Metadata with the MetaRuleSet applied.
-
ignoreAll
Description copied from class:MetaRulesetCustomize this
MetaRulesetinstance to advise it to ignore all attributes, returningthis.- Specified by:
ignoreAllin classMetaRuleset- Returns:
- the ignoreAll
MetaRuleset.
-
getMetadataTarget
-