public class MetaRulesetImpl extends MetaRuleset
Constructor and Description |
---|
MetaRulesetImpl(Tag tag,
Class<?> type) |
Modifier and Type | Method and Description |
---|---|
MetaRuleset |
add(Metadata mapper)
Add another |
MetaRuleset |
addRule(MetaRule rule)
Add another |
MetaRuleset |
alias(String attribute,
String property)
Customize this
|
Metadata |
finish()
Take actions to apply the rule. |
protected MetadataTarget |
getMetadataTarget() |
MetaRuleset |
ignore(String attribute)
Customize this
|
MetaRuleset |
ignoreAll()
Customize this
|
public MetaRuleset ignore(String attribute)
MetaRuleset
Customize this
MetaRuleset
instance to advise it to ignore the
attribute named by the attribute
argument, returning
this
.
ignore
in class MetaRuleset
attribute
- the name of the attribute to ignore.public MetaRuleset alias(String attribute, String property)
MetaRuleset
Customize this
MetaRuleset
by removing the attribute named by
argument attribute
and re-adding it under the name
given by the argument property
, returning
this
.
alias
in class MetaRuleset
attribute
- the attribute to remove.property
- the property to add.public MetaRuleset add(Metadata mapper)
MetaRuleset
Add another Metadata
to this
ruleset, returning this
.
add
in class MetaRuleset
mapper
- the Metadata
to add.MetaRuleset
with the Metadata
added.public MetaRuleset addRule(MetaRule rule)
MetaRuleset
Add another MetaRule
to this
ruleset, returning this
.
addRule
in class MetaRuleset
rule
- the rule to add.MetaRuleset
with the MetaRule
added.public Metadata finish()
MetaRuleset
Take actions to apply the rule.
finish
in class MetaRuleset
public MetaRuleset ignoreAll()
MetaRuleset
Customize this
MetaRuleset
instance to advise it to ignore all
attributes, returning
this
.
ignoreAll
in class MetaRuleset
MetaRuleset
.protected MetadataTarget getMetadataTarget()
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.