public class FilterMappingType
extends java.lang.Object
Java class for filter-mappingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="filter-mappingType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="filter-name" type="{http://java.sun.com/xml/ns/javaee}filter-nameType"/>
<choice maxOccurs="unbounded">
<element name="url-pattern" type="{http://java.sun.com/xml/ns/javaee}url-patternType"/>
<element name="servlet-name" type="{http://java.sun.com/xml/ns/javaee}servlet-nameType"/>
</choice>
<element name="dispatcher" type="{http://java.sun.com/xml/ns/javaee}dispatcherType" maxOccurs="4" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<DispatcherType> |
dispatcher |
protected FilterNameType |
filterName |
protected java.lang.String |
id |
protected java.util.List<java.lang.Object> |
urlPatternOrServletName |
| Constructor and Description |
|---|
FilterMappingType() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DispatcherType> |
getDispatcher()
Gets the value of the dispatcher property.
|
FilterNameType |
getFilterName()
Gets the value of the filterName property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.List<java.lang.Object> |
getUrlPatternOrServletName()
Gets the value of the urlPatternOrServletName property.
|
void |
setFilterName(FilterNameType value)
Sets the value of the filterName property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
protected FilterNameType filterName
protected java.util.List<java.lang.Object> urlPatternOrServletName
protected java.util.List<DispatcherType> dispatcher
protected java.lang.String id
public FilterNameType getFilterName()
FilterNameTypepublic void setFilterName(FilterNameType value)
value - allowed object is
FilterNameTypepublic java.util.List<java.lang.Object> getUrlPatternOrServletName()
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 urlPatternOrServletName property.
For example, to add a new item, do as follows:
getUrlPatternOrServletName().add(newItem);
Objects of the following type(s) are allowed in the list
UrlPatternType
ServletNameType
public java.util.List<DispatcherType> getDispatcher()
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 dispatcher property.
For example, to add a new item, do as follows:
getDispatcher().add(newItem);
Objects of the following type(s) are allowed in the list
DispatcherType
public java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String