public class FacesFacet extends Object
Java class for faces-config-facetType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-facetType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="facet-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="facet-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-facet-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 TextMap |
description |
protected TextMap |
displayName |
protected List<FacesFacetExtension> |
facetExtension |
protected String |
facetName |
protected LocalCollection<Icon> |
icon |
protected String |
id |
| Constructor and Description |
|---|
FacesFacet() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
Text[] |
getDescriptions() |
String |
getDisplayName() |
Text[] |
getDisplayNames() |
List<FacesFacetExtension> |
getFacetExtension()
Gets the value of the facetExtension property.
|
String |
getFacetName()
Gets the value of the facetName property.
|
Icon |
getIcon() |
Map<String,Icon> |
getIconMap() |
Collection<Icon> |
getIcons() |
String |
getId()
Gets the value of the id property.
|
void |
setDescriptions(Text[] text) |
void |
setDisplayNames(Text[] text) |
void |
setFacetName(String value)
Sets the value of the facetName property.
|
void |
setId(String value)
Sets the value of the id property.
|
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected String facetName
protected List<FacesFacetExtension> facetExtension
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 getFacetName()
Stringpublic void setFacetName(String value)
value - allowed object is
Stringpublic List<FacesFacetExtension> getFacetExtension()
set method for the facetExtension property.
For example, to add a new item, do as follows:
getFacetExtension().add(newItem);
Objects of the following type(s) are allowed in the list
FacesFacetExtensionCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.