public final class MethodRule
extends javax.faces.view.facelets.MetaRule
| Constructor and Description |
|---|
MethodRule(String methodName,
Class returnTypeClass,
Class[] params) |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.view.facelets.Metadata |
applyRule(String name,
javax.faces.view.facelets.TagAttribute attribute,
javax.faces.view.facelets.MetadataTarget meta)
Return an abstraction that takes appropriate
action given the kind of rule represented by the argument
|
public javax.faces.view.facelets.Metadata applyRule(String name, javax.faces.view.facelets.TagAttribute attribute, javax.faces.view.facelets.MetadataTarget meta)
javax.faces.view.facelets.MetaRuleReturn an abstraction that takes appropriate
action given the kind of rule represented by the argument
name, in the context of this particular concrete subclass of
MetaRule. The abstraction must encapsulate the value from
the argument attribute.
applyRule in class javax.faces.view.facelets.MetaRulename - the name for this rule. This will generally be the name of a
tag attribute in the VDL.attribute - the name/value pair for this attribute on this
particular instance of an element in the page.meta - the MetadataTarged that can be used to discern
what kind of action to encapsulate within the abstraction to be returned.Metadata.Copyright © 2010–2020 JBoss by Red Hat. All rights reserved.