Package org.apache.openejb.jee
Class FacesConverter
- java.lang.Object
-
- org.apache.openejb.jee.FacesConverter
-
public class FacesConverter extends Object
web-facesconfig_2_0.xsdJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<FacesAttribute>attributeprotected StringconverterClassprotected List<FacesConverterExtension>converterExtensionprotected StringconverterForClassprotected StringconverterIdprotected TextMapdescriptionprotected TextMapdisplayNameprotected LocalCollection<Icon>iconprotected Stringidprotected List<FacesProperty>property
-
Constructor Summary
Constructors Constructor Description FacesConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FacesAttribute>getAttribute()Gets the value of the attribute property.StringgetConverterClass()Gets the value of the converterClass property.List<FacesConverterExtension>getConverterExtension()Gets the value of the converterExtension property.StringgetConverterForClass()Gets the value of the converterForClass property.StringgetConverterId()Gets the value of the converterId property.StringgetDescription()Text[]getDescriptions()StringgetDisplayName()Text[]getDisplayNames()IcongetIcon()Map<String,Icon>getIconMap()Collection<Icon>getIcons()StringgetId()Gets the value of the id property.List<FacesProperty>getProperty()Gets the value of the property property.voidsetConverterClass(String value)Sets the value of the converterClass property.voidsetConverterForClass(String value)Sets the value of the converterForClass property.voidsetConverterId(String value)Sets the value of the converterId property.voidsetDescriptions(Text[] text)voidsetDisplayNames(Text[] text)voidsetId(String value)Sets the value of the id property.
-
-
-
Field Detail
-
description
protected TextMap description
-
displayName
protected TextMap displayName
-
icon
protected LocalCollection<Icon> icon
-
converterId
protected String converterId
-
converterForClass
protected String converterForClass
-
converterClass
protected String converterClass
-
attribute
protected List<FacesAttribute> attribute
-
property
protected List<FacesProperty> property
-
converterExtension
protected List<FacesConverterExtension> converterExtension
-
id
protected String id
-
-
Method Detail
-
getDescriptions
public Text[] getDescriptions()
-
setDescriptions
public void setDescriptions(Text[] text)
-
getDescription
public String getDescription()
-
getDisplayNames
public Text[] getDisplayNames()
-
setDisplayNames
public void setDisplayNames(Text[] text)
-
getDisplayName
public String getDisplayName()
-
getIcons
public Collection<Icon> getIcons()
-
getIcon
public Icon getIcon()
-
getConverterId
public String getConverterId()
Gets the value of the converterId property.- Returns:
- possible object is
String
-
setConverterId
public void setConverterId(String value)
Sets the value of the converterId property.- Parameters:
value- allowed object isString
-
getConverterForClass
public String getConverterForClass()
Gets the value of the converterForClass property.- Returns:
- possible object is
String
-
setConverterForClass
public void setConverterForClass(String value)
Sets the value of the converterForClass property.- Parameters:
value- allowed object isString
-
getConverterClass
public String getConverterClass()
Gets the value of the converterClass property.- Returns:
- possible object is
String
-
setConverterClass
public void setConverterClass(String value)
Sets the value of the converterClass property.- Parameters:
value- allowed object isString
-
getAttribute
public List<FacesAttribute> getAttribute()
Gets the value of the attribute property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod 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 listFacesAttribute
-
getProperty
public List<FacesProperty> getProperty()
Gets the value of the property property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod 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 listFacesProperty
-
getConverterExtension
public List<FacesConverterExtension> getConverterExtension()
Gets the value of the converterExtension property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod 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 listFacesConverterExtension
-
-