|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.webcommon30.FilterTypeImpl<T>
public class FilterTypeImpl<T>
This class implements the filterType
xsd type
Original Documentation:
The filterType is used to declare a filter in the web
application. The filter is mapped to either a servlet or a
URL pattern in the filter-mapping element, using the
filter-name value to reference. Filters can access the
initialization parameters declared in the deployment
descriptor at runtime via the FilterConfig interface.
Used in: web-app
Constructor Summary | |
---|---|
FilterTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
FilterTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<java.lang.String> |
getDisplayNameList()
Returns all display-name elements |
java.lang.String |
getFilterClass()
Returns the filter-class element |
java.lang.String |
getFilterName()
Returns the filter-name element |
java.util.List<IconType<FilterType<T>>> |
getIconList()
Returns all icon elements |
java.util.List<ParamValueType<FilterType<T>>> |
getInitParamList()
Returns all init-param elements |
IconType<FilterType<T>> |
icon()
Returns the icon element |
ParamValueType<FilterType<T>> |
initParam()
Returns the init-param element |
java.lang.Boolean |
isAsyncSupported()
Returns the async-supported element |
FilterType<T> |
removeAllDescription()
Removes the description element |
FilterType<T> |
removeAllDisplayName()
Removes the display-name element |
FilterType<T> |
removeAllIcon()
Removes all icon elements |
FilterType<T> |
removeAllInitParam()
Removes all init-param elements |
FilterType<T> |
removeAsyncSupported()
Removes the async-supported element |
FilterType<T> |
removeFilterClass()
Removes the filter-class element |
FilterType<T> |
removeFilterName()
Removes the filter-name element |
FilterType<T> |
setAsyncSupported(java.lang.Boolean asyncSupported)
If not already created, a new async-supported element with the given value will be created. |
FilterType<T> |
setDescription(java.lang.String description)
Creates a new description element |
FilterType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
FilterType<T> |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
FilterType<T> |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
FilterType<T> |
setFilterClass(java.lang.String filterClass)
If not already created, a new filter-class element with the given value will be created. |
FilterType<T> |
setFilterName(java.lang.String filterName)
If not already created, a new filter-name element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public FilterTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public FilterType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface FilterType<T>
FilterType
public FilterType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface FilterType<T>
list
- of description
objects
FilterType
public FilterType<T> removeAllDescription()
description
element
removeAllDescription
in interface FilterType<T>
FilterType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface FilterType<T>
description
public FilterType<T> setDisplayName(java.lang.String displayName)
display-name
element
setDisplayName
in interface FilterType<T>
FilterType
public FilterType<T> setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
setDisplayNameList
in interface FilterType<T>
list
- of display-name
objects
FilterType
public FilterType<T> removeAllDisplayName()
display-name
element
removeAllDisplayName
in interface FilterType<T>
FilterType
public java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
getDisplayNameList
in interface FilterType<T>
display-name
public FilterType<T> removeAllIcon()
icon
elements
removeAllIcon
in interface FilterType<T>
FilterType
public IconType<FilterType<T>> icon()
icon
element
icon
in interface FilterType<T>
icon
public java.util.List<IconType<FilterType<T>>> getIconList()
icon
elements
getIconList
in interface FilterType<T>
icon
public FilterType<T> setFilterName(java.lang.String filterName)
filter-name
element with the given value will be created.
Otherwise, the existing filter-name
element will be updated with the given value.
setFilterName
in interface FilterType<T>
FilterType
public FilterType<T> removeFilterName()
filter-name
element
removeFilterName
in interface FilterType<T>
FilterType
public java.lang.String getFilterName()
filter-name
element
getFilterName
in interface FilterType<T>
filter-name
public FilterType<T> setFilterClass(java.lang.String filterClass)
filter-class
element with the given value will be created.
Otherwise, the existing filter-class
element will be updated with the given value.
setFilterClass
in interface FilterType<T>
FilterType
public FilterType<T> removeFilterClass()
filter-class
element
removeFilterClass
in interface FilterType<T>
FilterType
public java.lang.String getFilterClass()
filter-class
element
getFilterClass
in interface FilterType<T>
filter-class
public FilterType<T> setAsyncSupported(java.lang.Boolean asyncSupported)
async-supported
element with the given value will be created.
Otherwise, the existing async-supported
element will be updated with the given value.
setAsyncSupported
in interface FilterType<T>
FilterType
public FilterType<T> removeAsyncSupported()
async-supported
element
removeAsyncSupported
in interface FilterType<T>
FilterType
public java.lang.Boolean isAsyncSupported()
async-supported
element
isAsyncSupported
in interface FilterType<T>
async-supported
public FilterType<T> removeAllInitParam()
init-param
elements
removeAllInitParam
in interface FilterType<T>
FilterType
public ParamValueType<FilterType<T>> initParam()
init-param
element
initParam
in interface FilterType<T>
init-param
public java.util.List<ParamValueType<FilterType<T>>> getInitParamList()
init-param
elements
getInitParamList
in interface FilterType<T>
init-param
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |