|
Mojarra JSF Tools 2.1.28.SP9 | |||||||||
| 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(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. |
String |
getConverterClass()
|
Class |
getConverterForClass()
|
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(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(String converterClass)
|
void |
setConverterForClass(Class converterForClass)
|
void |
setConverterForClass(String converterForClass)
|
void |
setConverterId(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 String getConverterClass()
public void setConverterClass(String converterClass)
public Class getConverterForClass()
public void setConverterForClass(String converterForClass)
public void setConverterForClass(Class converterForClass)
public String getConverterId()
public void setConverterId(String converterId)
public void addAttribute(AttributeBean descriptor)
AttributeHolderAdd the specified attribute descriptor, replacing any existing descriptor for this attribute name.
addAttribute in interface AttributeHolderdescriptor - Descriptor to be addedpublic AttributeBean getAttribute(String name)
AttributeHolderReturn the attribute descriptor for the specified attribute name,
if any; otherwise, return null.
getAttribute in interface AttributeHoldername - Name of the attribute for which to retrieve a descriptorpublic AttributeBean[] getAttributes()
AttributeHolderReturn the descriptors of all attributes for which descriptors have been registered, or an empty array if none have been registered.
getAttributes in interface AttributeHolderpublic void removeAttribute(AttributeBean descriptor)
AttributeHolderDeregister the specified attribute descriptor, if it is registered.
removeAttribute in interface AttributeHolderdescriptor - Descriptor to be removedpublic void addProperty(PropertyBean descriptor)
PropertyHolderAdd the specified property descriptor, replacing any existing descriptor for this property name.
addProperty in interface PropertyHolderdescriptor - Descriptor to be addedpublic PropertyBean getProperty(String name)
PropertyHolderReturn the property descriptor for the specified property name,
if any; otherwise, return null.
getProperty in interface PropertyHoldername - Name of the property for which to retrieve a descriptorpublic PropertyBean[] getProperties()
PropertyHolderReturn the descriptors of all properties for which descriptors have been registered, or an empty array if none have been registered.
getProperties in interface PropertyHolderpublic void removeProperty(PropertyBean descriptor)
PropertyHolderDeregister the specified property descriptor, if it is registered.
removeProperty in interface PropertyHolderdescriptor - Descriptor to be removed
|
Mojarra JSF Tools 2.1.28.SP9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||