|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FilterType
The filter element specifies a filter that can transform the content of portlet requests and portlet responses. Filters can access the initialization parameters declared in the deployment descriptor at runtime via the FilterConfig interface. A filter can be restricted to one or more lifecycle phases of the portlet. Valid entries for lifecycle are: ACTION_PHASE, EVENT_PHASE, RENDER_PHASE, RESOURCE_PHASE Used in: portlet-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>
<element name="description" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="display-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}display-nameType" maxOccurs="unbounded" minOccurs="0"/>
<element name="filter-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}filter-nameType"/>
<element name="filter-class" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}fully-qualified-classType"/>
<element name="lifecycle" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}string" maxOccurs="unbounded"/>
<element name="init-param" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}init-paramType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</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
DisplayNameTypeString getFilterName()
Stringvoid setFilterName(String value)
value - allowed object is
StringString getFilterClass()
Stringvoid setFilterClass(String value)
value - allowed object is
StringString[] getLifecycle()
StringString getLifecycle(int idx)
Stringint getLifecycleLength()
void setLifecycle(String[] values)
values - allowed objects are
String
String setLifecycle(int idx,
String value)
value - allowed object is
StringInitParamType[] getInitParam()
InitParamTypeInitParamType getInitParam(int idx)
InitParamTypeint getInitParamLength()
void setInitParam(InitParamType[] values)
values - allowed objects are
InitParamType
InitParamType setInitParam(int idx,
InitParamType value)
value - allowed object is
InitParamType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||