@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-10T11:23:54+01:00", comments="JAXB RI v2.2.7") public class ServletMappingType extends Object
Java class for servlet-mappingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="servlet-mappingType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="servlet-name" type="{http://java.sun.com/xml/ns/javaee}servlet-nameType"/> <element name="url-pattern" type="{http://java.sun.com/xml/ns/javaee}url-patternType" maxOccurs="unbounded"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected ServletNameType |
servletName |
protected List<UrlPatternType> |
urlPattern |
Constructor and Description |
---|
ServletMappingType() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the value of the id property.
|
ServletNameType |
getServletName()
Gets the value of the servletName property.
|
List<UrlPatternType> |
getUrlPattern()
Gets the value of the urlPattern property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setServletName(ServletNameType value)
Sets the value of the servletName property.
|
@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-10T11:23:54+01:00", comments="JAXB RI v2.2.7") protected ServletNameType servletName
@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-10T11:23:54+01:00", comments="JAXB RI v2.2.7") protected List<UrlPatternType> urlPattern
@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-10T11:23:54+01:00", comments="JAXB RI v2.2.7") protected String id
@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-10T11:23:54+01:00", comments="JAXB RI v2.2.7") public ServletNameType getServletName()
ServletNameType
@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-10T11:23:54+01:00", comments="JAXB RI v2.2.7") public void setServletName(ServletNameType value)
value
- allowed object is
ServletNameType
@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-10T11:23:54+01:00", comments="JAXB RI v2.2.7") public List<UrlPatternType> getUrlPattern()
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 urlPattern property.
For example, to add a new item, do as follows:
getUrlPattern().add(newItem);
Objects of the following type(s) are allowed in the list
UrlPatternType
@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-10T11:23:54+01:00", comments="JAXB RI v2.2.7") public String getId()
String
Copyright © 2016 buschmais GbR. All rights reserved.