Class ListenerType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.ListenerType
-
- All Implemented Interfaces:
org.glassfish.jaxb.core.Locatable
public class ListenerType extends Object implements org.glassfish.jaxb.core.Locatable
The listenerType indicates the deployment properties for a web application listener bean.Java class for listenerType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="listenerType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <element name="listener-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/> </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<DescriptionType>descriptionprotected List<DisplayNameType>displayNameprotected List<IconType>iconprotected Stringidprotected FullyQualifiedClassTypelistenerClassprotected Locatorlocator
-
Constructor Summary
Constructors Constructor Description ListenerType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DescriptionType>getDescription()Gets the value of the description property.List<DisplayNameType>getDisplayName()Gets the value of the displayName property.List<IconType>getIcon()Gets the value of the icon property.StringgetId()Gets the value of the id property.FullyQualifiedClassTypegetListenerClass()Gets the value of the listenerClass property.voidsetId(String value)Sets the value of the id property.voidsetListenerClass(FullyQualifiedClassType value)Sets the value of the listenerClass property.voidsetSourceLocation(Locator newLocator)LocatorsourceLocation()
-
-
-
Field Detail
-
description
protected List<DescriptionType> description
-
displayName
protected List<DisplayNameType> displayName
-
listenerClass
protected FullyQualifiedClassType listenerClass
-
id
protected String id
-
locator
protected Locator locator
-
-
Method Detail
-
getDescription
public List<DescriptionType> getDescription()
Gets the value of the description 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 a
setmethod 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
-
getDisplayName
public List<DisplayNameType> getDisplayName()
Gets the value of the displayName 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 a
setmethod 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
DisplayNameType
-
getIcon
public List<IconType> getIcon()
Gets the value of the icon 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 a
setmethod 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
IconType
-
getListenerClass
public FullyQualifiedClassType getListenerClass()
Gets the value of the listenerClass property.- Returns:
- possible object is
FullyQualifiedClassType
-
setListenerClass
public void setListenerClass(FullyQualifiedClassType value)
Sets the value of the listenerClass property.- Parameters:
value- allowed object isFullyQualifiedClassType
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfaceorg.glassfish.jaxb.core.Locatable
-
setSourceLocation
public void setSourceLocation(Locator newLocator)
-
-