public class FacesConverter extends 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 List<FacesAttribute> |
attribute |
protected String |
converterClass |
protected List<FacesConverterExtension> |
converterExtension |
protected String |
converterForClass |
protected String |
converterId |
protected TextMap |
description |
protected TextMap |
displayName |
protected LocalCollection<Icon> |
icon |
protected String |
id |
protected List<FacesProperty> |
property |
| Constructor and Description |
|---|
FacesConverter() |
| Modifier and Type | Method and Description |
|---|---|
List<FacesAttribute> |
getAttribute()
Gets the value of the attribute property.
|
String |
getConverterClass()
Gets the value of the converterClass property.
|
List<FacesConverterExtension> |
getConverterExtension()
Gets the value of the converterExtension property.
|
String |
getConverterForClass()
Gets the value of the converterForClass property.
|
String |
getConverterId()
Gets the value of the converterId property.
|
String |
getDescription() |
Text[] |
getDescriptions() |
String |
getDisplayName() |
Text[] |
getDisplayNames() |
Icon |
getIcon() |
Map<String,Icon> |
getIconMap() |
Collection<Icon> |
getIcons() |
String |
getId()
Gets the value of the id property.
|
List<FacesProperty> |
getProperty()
Gets the value of the property property.
|
void |
setConverterClass(String value)
Sets the value of the converterClass property.
|
void |
setConverterForClass(String value)
Sets the value of the converterForClass property.
|
void |
setConverterId(String value)
Sets the value of the converterId property.
|
void |
setDescriptions(Text[] text) |
void |
setDisplayNames(Text[] text) |
void |
setId(String value)
Sets the value of the id property.
|
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected String converterId
protected String converterForClass
protected String converterClass
protected List<FacesAttribute> attribute
protected List<FacesProperty> property
protected List<FacesConverterExtension> converterExtension
protected String id
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public String getDisplayName()
public Collection<Icon> getIcons()
public Icon getIcon()
public String getConverterId()
Stringpublic void setConverterId(String value)
value - allowed object is
Stringpublic String getConverterForClass()
Stringpublic void setConverterForClass(String value)
value - allowed object is
Stringpublic String getConverterClass()
Stringpublic void setConverterClass(String value)
value - allowed object is
Stringpublic 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
FacesAttributepublic 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
FacesPropertypublic 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
FacesConverterExtensionCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.