public class Listeners extends Object
The following schema fragment specifies the expected content contained within this class.
<complexType name="Listeners">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="listener" type="{http://xmlns.jcp.org/xml/ns/javaee}Listener" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Listener> |
listenerList |
| Constructor and Description |
|---|
Listeners() |
| Modifier and Type | Method and Description |
|---|---|
List<Listener> |
getListenerList()
Gets the value of the listenerList property.
|
public List<Listener> getListenerList()
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 listenerList property.
For example, to add a new item, do as follows:
getListenerList().add(newItem);
Objects of the following type(s) are allowed in the list
Listener
Copyright © 2022 The Apache Software Foundation. All rights reserved.