|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.faces.config.beans.FeatureBean
com.sun.faces.config.beans.ConverterBean
public class ConverterBean
Configuration bean for <attribute> element.
Constructor Summary | |
---|---|
ConverterBean()
|
Method Summary | |
---|---|
void |
addAttribute(AttributeBean descriptor)
Add the specified attribute descriptor, replacing any existing descriptor for this attribute name. |
void |
addProperty(PropertyBean descriptor)
Add the specified property descriptor, replacing any existing descriptor for this property name. |
AttributeBean |
getAttribute(java.lang.String name)
Return the attribute descriptor for the specified attribute name, if any; otherwise, return null . |
AttributeBean[] |
getAttributes()
Return the descriptors of all attributes for which descriptors have been registered, or an empty array if none have been registered. |
java.lang.String |
getConverterClass()
|
java.lang.Class |
getConverterForClass()
|
java.lang.String |
getConverterId()
|
PropertyBean[] |
getProperties()
Return the descriptors of all properties for which descriptors have been registered, or an empty array if none have been registered. |
PropertyBean |
getProperty(java.lang.String name)
Return the property descriptor for the specified property name, if any; otherwise, return null . |
void |
removeAttribute(AttributeBean descriptor)
Deregister the specified attribute descriptor, if it is registered. |
void |
removeProperty(PropertyBean descriptor)
Deregister the specified property descriptor, if it is registered. |
void |
setConverterClass(java.lang.String converterClass)
|
void |
setConverterForClass(java.lang.Class converterForClass)
|
void |
setConverterForClass(java.lang.String converterForClass)
|
void |
setConverterId(java.lang.String converterId)
|
Methods inherited from class com.sun.faces.config.beans.FeatureBean |
---|
addDescription, addDisplayName, addIcon, getDescription, getDescriptions, getDisplayName, getDisplayNames, getIcon, getIcons, removeDescription, removeDisplayName, removeIcon |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConverterBean()
Method Detail |
---|
public java.lang.String getConverterClass()
public void setConverterClass(java.lang.String converterClass)
public java.lang.Class getConverterForClass()
public void setConverterForClass(java.lang.String converterForClass)
public void setConverterForClass(java.lang.Class converterForClass)
public java.lang.String getConverterId()
public void setConverterId(java.lang.String converterId)
public void addAttribute(AttributeBean descriptor)
AttributeHolder
Add the specified attribute descriptor, replacing any existing descriptor for this attribute name.
addAttribute
in interface AttributeHolder
descriptor
- Descriptor to be addedpublic AttributeBean getAttribute(java.lang.String name)
AttributeHolder
Return the attribute descriptor for the specified attribute name,
if any; otherwise, return null
.
getAttribute
in interface AttributeHolder
name
- Name of the attribute for which to retrieve a descriptorpublic AttributeBean[] getAttributes()
AttributeHolder
Return the descriptors of all attributes for which descriptors have been registered, or an empty array if none have been registered.
getAttributes
in interface AttributeHolder
public void removeAttribute(AttributeBean descriptor)
AttributeHolder
Deregister the specified attribute descriptor, if it is registered.
removeAttribute
in interface AttributeHolder
descriptor
- Descriptor to be removedpublic void addProperty(PropertyBean descriptor)
PropertyHolder
Add the specified property descriptor, replacing any existing descriptor for this property name.
addProperty
in interface PropertyHolder
descriptor
- Descriptor to be addedpublic PropertyBean getProperty(java.lang.String name)
PropertyHolder
Return the property descriptor for the specified property name,
if any; otherwise, return null
.
getProperty
in interface PropertyHolder
name
- Name of the property for which to retrieve a descriptorpublic PropertyBean[] getProperties()
PropertyHolder
Return the descriptors of all properties for which descriptors have been registered, or an empty array if none have been registered.
getProperties
in interface PropertyHolder
public void removeProperty(PropertyBean descriptor)
PropertyHolder
Deregister the specified property descriptor, if it is registered.
removeProperty
in interface PropertyHolder
descriptor
- Descriptor to be removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |