Top Inners Fields Constructors Methods
com.sun.faces.facelets.tag.faces

pack-priv final Class ActionSourceRule

extends MetaRule
Class Inheritance
Imports
jakarta.el.ExpressionFactory, .MethodExpression, jakarta.faces.component.ActionSource, jakarta.faces.event.ActionEvent, .MethodExpressionActionListener, jakarta.faces.view.facelets.FaceletContext, .MetaRule, .Metadata, .MetadataTarget, .TagAttribute

Author
Jacob Hookom
Version
$Id$

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
public static final Class<T>[]
public static final Class<T>[]
public static final Class<T>[]
public static final ActionSourceRule

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Metadata
applyRule(String
the name for this rule. This will generally be the name of a tag attribute in the VDL.
name
,
TagAttribute
the name/value pair for this attribute on this particular instance of an element in the page.
attribute
,
MetadataTarget
the MetadataTarged that can be used to discern what kind of action to encapsulate within the abstraction to be returned.
meta
)

Implements abstract jakarta.faces.view.facelets.MetaRule.applyRule.

Return 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.

Field Detail

ACTION_LISTENER_SIGback to summary
public static final Class<T>[] ACTION_LISTENER_SIG
ACTION_LISTENER_ZEROARG_SIGback to summary
public static final Class<T>[] ACTION_LISTENER_ZEROARG_SIG
ACTION_SIGback to summary
public static final Class<T>[] ACTION_SIG
Instanceback to summary
public static final ActionSourceRule Instance

Constructor Detail

ActionSourceRuleback to summary
public ActionSourceRule()

Method Detail

applyRuleback to summary
public Metadata applyRule(String name, TagAttribute attribute, MetadataTarget meta)

Implements abstract jakarta.faces.view.facelets.MetaRule.applyRule.

Doc from jakarta.faces.view.facelets.MetaRule.applyRule.

Return 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.

Parameters
name:String

the name for this rule. This will generally be the name of a tag attribute in the VDL.

attribute:TagAttribute

the name/value pair for this attribute on this particular instance of an element in the page.

meta:MetadataTarget

the MetadataTarged that can be used to discern what kind of action to encapsulate within the abstraction to be returned.

Returns:Metadata

the Metadata.

Annotations
@Override
com.sun.faces.facelets.tag.faces back to summary

pack-priv final Class ActionSourceRule.ActionListenerMapper2

extends Metadata
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final TagAttribute

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
applyMetadata(FaceletContext
The FaceletContext for this request.
ctx
,
Object
The instance from the Jakarta Faces Java API on which the action should be taken. For example, an instance of jakarta.faces.component.EditableValueHolder.
instance
)

Implements abstract jakarta.faces.view.facelets.Metadata.applyMetadata.

Take the action prescribed in the Jakarta Faces Specification for this particular VDL element attribute.

Field Detail

attrback to summary
private final TagAttribute attr

Constructor Detail

ActionListenerMapper2back to summary
public ActionListenerMapper2(TagAttribute attr)

Method Detail

applyMetadataback to summary
public void applyMetadata(FaceletContext ctx, Object instance)

Implements abstract jakarta.faces.view.facelets.Metadata.applyMetadata.

Doc from jakarta.faces.view.facelets.Metadata.applyMetadata.

Take the action prescribed in the Jakarta Faces Specification for this particular VDL element attribute.

Parameters
ctx:FaceletContext

The FaceletContext for this request.

instance:Object

The instance from the Jakarta Faces Java API on which the action should be taken. For example, an instance of jakarta.faces.component.EditableValueHolder.

Annotations
@Override
com.sun.faces.facelets.tag.faces back to summary

pack-priv final Class ActionSourceRule.ActionMapper2

extends Metadata
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final TagAttribute

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
applyMetadata(FaceletContext
The FaceletContext for this request.
ctx
,
Object
The instance from the Jakarta Faces Java API on which the action should be taken. For example, an instance of jakarta.faces.component.EditableValueHolder.
instance
)

Implements abstract jakarta.faces.view.facelets.Metadata.applyMetadata.

Take the action prescribed in the Jakarta Faces Specification for this particular VDL element attribute.

Field Detail

attrback to summary
private final TagAttribute attr

Constructor Detail

ActionMapper2back to summary
public ActionMapper2(TagAttribute attr)

Method Detail

applyMetadataback to summary
public void applyMetadata(FaceletContext ctx, Object instance)

Implements abstract jakarta.faces.view.facelets.Metadata.applyMetadata.

Doc from jakarta.faces.view.facelets.Metadata.applyMetadata.

Take the action prescribed in the Jakarta Faces Specification for this particular VDL element attribute.

Parameters
ctx:FaceletContext

The FaceletContext for this request.

instance:Object

The instance from the Jakarta Faces Java API on which the action should be taken. For example, an instance of jakarta.faces.component.EditableValueHolder.

Annotations
@Override