public class FilterMappingType extends 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="5" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<DispatcherType> |
dispatcher |
protected FilterNameType |
filterName |
protected String |
id |
protected List<Object> |
urlPatternOrServletName |
| Constructor and Description |
|---|
FilterMappingType() |
| Modifier and Type | Method and Description |
|---|---|
List<DispatcherType> |
getDispatcher()
Gets the value of the dispatcher property.
|
FilterNameType |
getFilterName()
Gets the value of the filterName property.
|
String |
getId()
Gets the value of the id property.
|
List<Object> |
getUrlPatternOrServletName()
Gets the value of the urlPatternOrServletName property.
|
void |
setFilterName(FilterNameType value)
Sets the value of the filterName property.
|
void |
setId(String value)
Sets the value of the id property.
|
FilterMappingType |
withDispatcher(Collection<DispatcherType> values) |
FilterMappingType |
withDispatcher(DispatcherType... values) |
FilterMappingType |
withFilterName(FilterNameType value) |
FilterMappingType |
withId(String value) |
FilterMappingType |
withUrlPatternOrServletName(Collection<Object> values) |
FilterMappingType |
withUrlPatternOrServletName(Object... values) |
protected FilterNameType filterName
protected List<DispatcherType> dispatcher
protected String id
public FilterNameType getFilterName()
FilterNameTypepublic void setFilterName(FilterNameType value)
value - allowed object is
FilterNameTypepublic List<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 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 void setId(String value)
value - allowed object is
Stringpublic FilterMappingType withFilterName(FilterNameType value)
public FilterMappingType withUrlPatternOrServletName(Object... values)
public FilterMappingType withUrlPatternOrServletName(Collection<Object> values)
public FilterMappingType withDispatcher(DispatcherType... values)
public FilterMappingType withDispatcher(Collection<DispatcherType> values)
public FilterMappingType withId(String value)
Copyright © 2019. All rights reserved.