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

public final Class EditableValueHolderRule

extends MetaRule
Class Inheritance
Imports
jakarta.faces.component.EditableValueHolder, .UIComponent, jakarta.faces.context.FacesContext, jakarta.faces.event.MethodExpressionValueChangeListener, .ValueChangeEvent, jakarta.faces.validator.MethodExpressionValidator, jakarta.faces.view.facelets.FaceletContext, .MetaRule, .Metadata, .MetadataTarget, .TagAttribute

Author
Jacob Hookom

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 EditableValueHolderRule
private static final Class<?>[]
private static final Class<?>[]

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

Instanceback to summary
public static final EditableValueHolderRule Instance
VALIDATOR_SIGback to summary
private static final Class<?>[] VALIDATOR_SIG
VALUECHANGE_SIGback to summary
private static final Class<?>[] VALUECHANGE_SIG

Constructor Detail

EditableValueHolderRuleback to summary
public EditableValueHolderRule()

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 EditableValueHolderRule.LiteralValidatorMetadata

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

validatorIdback to summary
private final String validatorId

Constructor Detail

LiteralValidatorMetadataback to summary
public LiteralValidatorMetadata(String validatorId)

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 EditableValueHolderRule.ValidatorExpressionMetadata

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

ValidatorExpressionMetadataback to summary
public ValidatorExpressionMetadata(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 EditableValueHolderRule.ValueChangedExpressionMetadata

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

ValueChangedExpressionMetadataback to summary
public ValueChangedExpressionMetadata(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