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

public Class AttributeHandler

extends TagHandlerImpl
Class Inheritance
Imports
com.sun.faces.facelets.tag.TagHandlerImpl, com.sun.faces.facelets.util.ReflectionUtil, com.sun.faces.util.FacesLogger, java.lang.reflect.Method, javax.el.ValueExpression, .ELContext, javax.faces.component.UIComponent, javax.faces.view.facelets.*, java.beans.IntrospectionException, .PropertyDescriptor, java.io.IOException, java.util.List, .Map, java.util.logging.Level, .Logger, javax.faces.context.FacesContext

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private static final PropertyHandlerManager
private static final String[]
private final Logger
private TagAttribute

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
apply(FaceletContext
the current FaceletContext instance for this execution
ctx
,
UIComponent
the parent UIComponent to operate upon
parent
)

Implements javax.faces.view.facelets.FaceletHandler.apply.

Process changes on a particular UIComponent

Inherited from com.sun.faces.facelets.tag.TagHandlerImpl:
findNextByTypefindNextByType

Field Detail

ATTRIBUTE_MANAGERback to summary
private static final PropertyHandlerManager ATTRIBUTE_MANAGER
COMPOSITE_ATTRIBUTE_ATTRIBUTESback to summary
private static final String[] COMPOSITE_ATTRIBUTE_ATTRIBUTES
LOGGERback to summary
private final Logger LOGGER
nameback to summary
private TagAttribute name

Constructor Detail

AttributeHandlerback to summary
public AttributeHandler(TagConfig config)

Method Detail

applyback to summary
public void apply(FaceletContext ctx, UIComponent parent) throws IOException

Implements javax.faces.view.facelets.FaceletHandler.apply.

Doc from javax.faces.view.facelets.FaceletHandler.apply.

Process changes on a particular UIComponent

Parameters
ctx:FaceletContext

the current FaceletContext instance for this execution

parent:UIComponent

the parent UIComponent to operate upon

Annotations
@Override
Exceptions
IOException:
if unable to load relativePath
com.sun.faces.facelets.tag.composite back to summary

private Class AttributeHandler.CCAttributePropertyDescriptor

extends PropertyDescriptor
Class Inheritance

Constructor Summary

AccessConstructor and Description
public
CCAttributePropertyDescriptor(String propertyName, Method readMethod, Method writeMethod)

Method Summary

Modifier and TypeMethod and Description
public Object
getValue(String
The locale-independent name of the attribute
attributeName
)

Overrides java.beans.FeatureDescriptor.getValue.

Retrieve a named attribute with this feature.
Inherited from java.beans.PropertyDescriptor:
createPropertyEditorequalsgetPropertyEditorClassgetPropertyTypegetReadMethodgetWriteMethodhashCodeisBoundisConstrainedsetBoundsetConstrainedsetPropertyEditorClasssetReadMethodsetWriteMethod

Constructor Detail

CCAttributePropertyDescriptorback to summary
public CCAttributePropertyDescriptor(String propertyName, Method readMethod, Method writeMethod) throws IntrospectionException

Method Detail

getValueback to summary
public Object getValue(String attributeName)

Overrides java.beans.FeatureDescriptor.getValue.

Doc from java.beans.FeatureDescriptor.getValue.

Retrieve a named attribute with this feature.

Parameters
attributeName:String

The locale-independent name of the attribute

Returns:Object

The value of the attribute. May be null if the attribute is unknown.

Annotations
@Override