|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.struts.faces.util.SupportedComponent
Utility class representing a component type that is supported by a Renderer implementation in the Struts-Faces Integration Library.
Field Summary | |
private java.lang.String |
componentType
The component type of the supported component represented by this instance. |
private java.lang.String |
description
The help text describing this supported component. |
private java.util.HashMap |
descriptors
The list of attribute descriptors for attributes supported for the component type represented by this instance. |
Constructor Summary | |
SupportedComponent()
|
Method Summary | |
void |
addAttributeDescriptor(javax.faces.component.AttributeDescriptor descriptor)
Add a new attribute descriptor to those supported for this component type. |
javax.faces.component.AttributeDescriptor |
getAttributeDescriptor(java.lang.String name)
Return the attribute descriptor for the specified attribute name if it is supported; otherwise, return null . |
java.util.Iterator |
getAttributeNames()
Return an Iterator over the attribute names of all supported attributes for this component type. |
java.lang.String |
getComponentType()
|
java.lang.String |
getDescription()
|
void |
setComponentType(java.lang.String componentType)
|
void |
setDescription(java.lang.String description)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.HashMap descriptors
The list of attribute descriptors for attributes supported for the component type represented by this instance.
private java.lang.String componentType
The component type of the supported component represented by this instance.
private java.lang.String description
The help text describing this supported component.
Constructor Detail |
public SupportedComponent()
Method Detail |
public java.lang.String getComponentType()
public void setComponentType(java.lang.String componentType)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public void addAttributeDescriptor(javax.faces.component.AttributeDescriptor descriptor)
Add a new attribute descriptor to those supported for this component type.
descriptor
- The new attribute descriptorpublic javax.faces.component.AttributeDescriptor getAttributeDescriptor(java.lang.String name)
Return the attribute descriptor for the specified attribute name
if it is supported; otherwise, return null
.
name
- Attribute name for which to retrieve a descriptorpublic java.util.Iterator getAttributeNames()
Return an Iterator over the attribute names of all supported attributes for this component type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |