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

pack-priv final Class ValueHolderRule

extends MetaRule
Class Inheritance
Imports
jakarta.faces.component.UIComponent, .UISelectBoolean, .ValueHolder, jakarta.faces.convert.Converter, 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
pack-priv static class

Field Summary

Modifier and TypeField and Description
public static final ValueHolderRule

Constructor Summary

AccessConstructor and Description
pack-priv

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

Instanceback to summary
public static final ValueHolderRule Instance

Constructor Detail

ValueHolderRuleback to summary
pack-priv ValueHolderRule()

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 ValueHolderRule.DynamicConverterMetadata2

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

DynamicConverterMetadata2back to summary
public DynamicConverterMetadata2(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 ValueHolderRule.DynamicValueExpressionMetadata

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

DynamicValueExpressionMetadataback to summary
public DynamicValueExpressionMetadata(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 ValueHolderRule.LiteralConverterMetadata

extends Metadata
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final String

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

converterIdback to summary
private final String converterId

Constructor Detail

LiteralConverterMetadataback to summary
public LiteralConverterMetadata(String converterId)

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