Top Description Constructors Methods
javax.faces.view.facelets

public abstract Class MetaRuleset

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.faces.facelets.tag.MetaRulesetImpl

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

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract MetaRuleset

Returns:

the MetaRuleset with the Metadata added.
add
(Metadata
the Metadata to add.
metadata
)

Add another Metadata to this ruleset, returning this.

public abstract MetaRuleset

Returns:

the MetaRuleset with the MetaRule added.
addRule
(MetaRule
the rule to add.
rule
)

Add another MetaRule to this ruleset, returning this.

public abstract MetaRuleset

Returns:

the aliased MetaRuleSet.
alias
(String
the attribute to remove.
attribute
,
String
the property to add.
property
)

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.

public abstract Metadata

Returns:

the Metadata with the MetaRuleSet applied.
finish
()

Take actions to apply the rule.

public abstract MetaRuleset

Returns:

the MetaRuleset with the given attribute ignored.
ignore
(String
the name of the attribute to ignore.
attribute
)

Customize this MetaRuleset instance to advise it to ignore the attribute named by the attribute argument, returning this.

public abstract MetaRuleset

Returns:

the ignoreAll MetaRuleset.
ignoreAll
()

Customize this MetaRuleset instance to advise it to ignore all attributes, returning this.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MetaRulesetback to summary
public MetaRuleset()

Method Detail

addback to summary
public abstract MetaRuleset add(Metadata metadata)

Add another Metadata to this ruleset, returning this.

Parameters
metadata:Metadata

the Metadata to add.

Returns:MetaRuleset

the MetaRuleset with the Metadata added.

Since
2.0
addRuleback to summary
public abstract MetaRuleset addRule(MetaRule rule)

Add another MetaRule to this ruleset, returning this.

Parameters
rule:MetaRule

the rule to add.

Returns:MetaRuleset

the MetaRuleset with the MetaRule added.

Since
2.0
aliasback to summary
public abstract MetaRuleset alias(String attribute, String property)

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.

Parameters
attribute:String

the attribute to remove.

property:String

the property to add.

Returns:MetaRuleset

the aliased MetaRuleSet.

Since
2.0
finishback to summary
public abstract Metadata finish()

Take actions to apply the rule.

Returns:Metadata

the Metadata with the MetaRuleSet applied.

ignoreback to summary
public abstract MetaRuleset ignore(String attribute)

Customize this MetaRuleset instance to advise it to ignore the attribute named by the attribute argument, returning this.

Parameters
attribute:String

the name of the attribute to ignore.

Returns:MetaRuleset

the MetaRuleset with the given attribute ignored.

Since
2.0
ignoreAllback to summary
public abstract MetaRuleset ignoreAll()

Customize this MetaRuleset instance to advise it to ignore all attributes, returning this.

Returns:MetaRuleset

the ignoreAll MetaRuleset.

Since
2.0