|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.jee.FacesConverter
public class FacesConverter
The "converter" element represents a concrete Converter implementation class that should be registered under the specified converter identifier. Converter identifiers must be unique within the entire web application. Nested "attribute" elements identify generic attributes that may be configured on the corresponding UIComponent in order to affect the operation of the Converter. Nested "property" elements identify JavaBeans properties of the Converter implementation class that may be configured to affect the operation of the Converter. "attribute" and "property" elements are intended to allow component developers to more completely describe their components to tools and users. These elements have no required runtime semantics.
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>
Field Summary | |
---|---|
protected List<FacesAttribute> |
attribute
|
protected String |
converterClass
|
protected List<FacesConverterExtension> |
converterExtension
|
protected String |
converterForClass
|
protected String |
converterId
|
protected List<DescriptionType> |
description
|
protected List<String> |
displayName
|
protected List<Icon> |
icon
|
protected String |
id
|
protected List<FacesProperty> |
property
|
Constructor Summary | |
---|---|
FacesConverter()
|
Method Summary | |
---|---|
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. |
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
List<String> |
getDisplayName()
Gets the value of the displayName property. |
List<Icon> |
getIcon()
Gets the value of the icon property. |
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 |
setId(String value)
Sets the value of the id property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<DescriptionType> description
protected List<String> displayName
protected List<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
Constructor Detail |
---|
public FacesConverter()
Method Detail |
---|
public List<DescriptionType> getDescription()
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 a set
method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public List<String> getDisplayName()
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 a set
method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<Icon> getIcon()
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 a set
method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
Icon
public String getConverterId()
String
public void setConverterId(String value)
value
- allowed object is
String
public String getConverterForClass()
String
public void setConverterForClass(String value)
value
- allowed object is
String
public String getConverterClass()
String
public void setConverterClass(String value)
value
- allowed object is
String
public List<FacesAttribute> getAttribute()
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 a 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 List<FacesProperty> getProperty()
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 a 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 List<FacesConverterExtension> getConverterExtension()
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 a 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 String getId()
String
public void setId(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |