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

pack-priv final Class BeanPropertyTagRule

extends MetaRule
Class Inheritance
Imports
javax.faces.view.facelets.*, java.lang.reflect.InvocationTargetException, .Method

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 BeanPropertyTagRule

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 javax.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 BeanPropertyTagRule Instance

Constructor Detail

BeanPropertyTagRuleback to summary
pack-priv BeanPropertyTagRule()

Method Detail

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

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

Doc from javax.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 back to summary

pack-priv final Class BeanPropertyTagRule.DynamicPropertyMetadata

extends Metadata
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final TagAttribute
private final Method
private final Class<T>

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 JSF Java API on which the action should be taken. For example, an instance of javax.faces.component.EditableValueHolder.
instance
)

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

Take the action prescribed in the JSF specification for this particular VDL element attribute.

Field Detail

attributeback to summary
private final TagAttribute attribute
methodback to summary
private final Method method
typeback to summary
private final Class<T> type

Constructor Detail

DynamicPropertyMetadataback to summary
public DynamicPropertyMetadata(Method method, TagAttribute attribute)

Method Detail

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

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

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

Take the action prescribed in the JSF specification for this particular VDL element attribute.

Parameters
ctx:FaceletContext

The FaceletContext for this request.

instance:Object

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

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

pack-priv final Class BeanPropertyTagRule.LiteralPropertyMetadata

extends Metadata
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final TagAttribute
private final Method
private Object[]

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 JSF Java API on which the action should be taken. For example, an instance of javax.faces.component.EditableValueHolder.
instance
)

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

Take the action prescribed in the JSF specification for this particular VDL element attribute.

Field Detail

attributeback to summary
private final TagAttribute attribute
methodback to summary
private final Method method
valueback to summary
private Object[] value

Constructor Detail

LiteralPropertyMetadataback to summary
public LiteralPropertyMetadata(Method method, TagAttribute attribute)

Method Detail

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

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

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

Take the action prescribed in the JSF specification for this particular VDL element attribute.

Parameters
ctx:FaceletContext

The FaceletContext for this request.

instance:Object

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

Annotations
@Override