public class FacesConverter
extends java.lang.Object
Java class for faces-config-converterType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-converterType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <sequence> <element name="converter-id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="converter-for-class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <element name="converter-class" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="attribute" type="{http://java.sun.com/xml/ns/javaee}faces-config-attributeType" maxOccurs="unbounded" minOccurs="0"/> <element name="property" type="{http://java.sun.com/xml/ns/javaee}faces-config-propertyType" maxOccurs="unbounded" minOccurs="0"/> <element name="converter-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-converter-extensionType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<FacesAttribute> |
attribute |
protected java.lang.String |
converterClass |
protected java.util.List<FacesConverterExtension> |
converterExtension |
protected java.lang.String |
converterForClass |
protected java.lang.String |
converterId |
protected TextMap |
description |
protected TextMap |
displayName |
protected LocalCollection<Icon> |
icon |
protected java.lang.String |
id |
protected java.util.List<FacesProperty> |
property |
Constructor and Description |
---|
FacesConverter() |
Modifier and Type | Method and Description |
---|---|
java.util.List<FacesAttribute> |
getAttribute()
Gets the value of the attribute property.
|
java.lang.String |
getConverterClass()
Gets the value of the converterClass property.
|
java.util.List<FacesConverterExtension> |
getConverterExtension()
Gets the value of the converterExtension property.
|
java.lang.String |
getConverterForClass()
Gets the value of the converterForClass property.
|
java.lang.String |
getConverterId()
Gets the value of the converterId property.
|
java.lang.String |
getDescription() |
Text[] |
getDescriptions() |
java.lang.String |
getDisplayName() |
Text[] |
getDisplayNames() |
Icon |
getIcon() |
java.util.Map<java.lang.String,Icon> |
getIconMap() |
java.util.Collection<Icon> |
getIcons() |
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.List<FacesProperty> |
getProperty()
Gets the value of the property property.
|
void |
setConverterClass(java.lang.String value)
Sets the value of the converterClass property.
|
void |
setConverterForClass(java.lang.String value)
Sets the value of the converterForClass property.
|
void |
setConverterId(java.lang.String value)
Sets the value of the converterId property.
|
void |
setDescriptions(Text[] text) |
void |
setDisplayNames(Text[] text) |
void |
setId(java.lang.String value)
Sets the value of the id property.
|
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected java.lang.String converterId
protected java.lang.String converterForClass
protected java.lang.String converterClass
protected java.util.List<FacesAttribute> attribute
protected java.util.List<FacesProperty> property
protected java.util.List<FacesConverterExtension> converterExtension
protected java.lang.String id
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public java.lang.String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public java.lang.String getDisplayName()
public java.util.Collection<Icon> getIcons()
public java.util.Map<java.lang.String,Icon> getIconMap()
public Icon getIcon()
public java.lang.String getConverterId()
String
public void setConverterId(java.lang.String value)
value
- allowed object is
String
public java.lang.String getConverterForClass()
String
public void setConverterForClass(java.lang.String value)
value
- allowed object is
String
public java.lang.String getConverterClass()
String
public void setConverterClass(java.lang.String value)
value
- allowed object is
String
public java.util.List<FacesAttribute> getAttribute()
set
method for the attribute property.
For example, to add a new item, do as follows:
getAttribute().add(newItem);Objects of the following type(s) are allowed in the list
FacesAttribute
public java.util.List<FacesProperty> getProperty()
set
method for the property property.
For example, to add a new item, do as follows:
getProperty().add(newItem);Objects of the following type(s) are allowed in the list
FacesProperty
public java.util.List<FacesConverterExtension> getConverterExtension()
set
method for the converterExtension property.
For example, to add a new item, do as follows:
getConverterExtension().add(newItem);Objects of the following type(s) are allowed in the list
FacesConverterExtension
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String