|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FilterType
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
Java class for filterType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="filterType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="filter-name" type="{http://java.sun.com/xml/ns/javaee}filter-nameType"/>
<element name="filter-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="init-param" type="{http://java.sun.com/xml/ns/javaee}param-valueType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Detail |
|---|
DescriptionType[] getDescription()
DescriptionTypeDescriptionType getDescription(int idx)
DescriptionTypeint getDescriptionLength()
void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypeDisplayNameType[] getDisplayName()
DisplayNameTypeDisplayNameType getDisplayName(int idx)
DisplayNameTypeint getDisplayNameLength()
void setDisplayName(DisplayNameType[] values)
values - allowed objects are
DisplayNameType
DisplayNameType setDisplayName(int idx,
DisplayNameType value)
value - allowed object is
DisplayNameTypeIconType[] getIcon()
IconTypeIconType getIcon(int idx)
IconTypeint getIconLength()
void setIcon(IconType[] values)
values - allowed objects are
IconType
IconType setIcon(int idx,
IconType value)
value - allowed object is
IconTypeFilterNameType getFilterName()
FilterNameTypevoid setFilterName(FilterNameType value)
value - allowed object is
FilterNameTypeFullyQualifiedClassType getFilterClass()
FullyQualifiedClassTypevoid setFilterClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypeParamValueType[] getInitParam()
ParamValueTypeParamValueType getInitParam(int idx)
ParamValueTypeint getInitParamLength()
void setInitParam(ParamValueType[] values)
values - allowed objects are
ParamValueType
ParamValueType setInitParam(int idx,
ParamValueType value)
value - allowed object is
ParamValueTypeString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||