|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.FilterType
public class 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>
| Field Summary | |
|---|---|
protected DescriptionType[] |
description
|
protected DisplayNameType[] |
displayName
|
protected String |
filterClass
|
protected String |
filterName
|
protected InitParamType[] |
initParam
|
protected String[] |
lifecycle
|
| Constructor Summary | |
|---|---|
FilterType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.FilterType instance. |
|
FilterType(FilterType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.FilterType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
FilterType |
clone()
Creates and returns a copy of this object. |
protected void |
copyDescription(DescriptionType[] source)
Copies all values of property Description. |
protected void |
copyDisplayName(DisplayNameType[] source)
Copies all values of property DisplayName. |
protected void |
copyInitParam(InitParamType[] source)
Copies all values of property InitParam. |
protected void |
copyLifecycle(String[] source)
Copies all values of property Lifecycle. |
DescriptionType[] |
getDescription()
|
DescriptionType |
getDescription(int idx)
|
int |
getDescriptionLength()
|
DisplayNameType[] |
getDisplayName()
|
DisplayNameType |
getDisplayName(int idx)
|
int |
getDisplayNameLength()
|
String |
getFilterClass()
Gets the value of the filterClass property. |
String |
getFilterName()
Gets the value of the filterName property. |
InitParamType[] |
getInitParam()
|
InitParamType |
getInitParam(int idx)
|
int |
getInitParamLength()
|
String[] |
getLifecycle()
|
String |
getLifecycle(int idx)
|
int |
getLifecycleLength()
|
void |
setDescription(DescriptionType[] values)
|
DescriptionType |
setDescription(int idx,
DescriptionType value)
|
void |
setDisplayName(DisplayNameType[] values)
|
DisplayNameType |
setDisplayName(int idx,
DisplayNameType value)
|
void |
setFilterClass(String value)
Sets the value of the filterClass property. |
void |
setFilterName(String value)
Sets the value of the filterName property. |
void |
setInitParam(InitParamType[] values)
|
InitParamType |
setInitParam(int idx,
InitParamType value)
|
String |
setLifecycle(int idx,
String value)
|
void |
setLifecycle(String[] values)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DescriptionType[] description
protected DisplayNameType[] displayName
protected String filterName
protected String filterClass
protected String[] lifecycle
protected InitParamType[] initParam
| Constructor Detail |
|---|
public FilterType()
net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.FilterType instance.
public FilterType(FilterType o)
net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.FilterType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public DescriptionType[] getDescription()
DescriptionTypepublic DescriptionType getDescription(int idx)
DescriptionTypepublic int getDescriptionLength()
public void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
public DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypepublic DisplayNameType[] getDisplayName()
DisplayNameTypepublic DisplayNameType getDisplayName(int idx)
DisplayNameTypepublic int getDisplayNameLength()
public void setDisplayName(DisplayNameType[] values)
values - allowed objects are
DisplayNameType
public DisplayNameType setDisplayName(int idx,
DisplayNameType value)
value - allowed object is
DisplayNameTypepublic String getFilterName()
Stringpublic void setFilterName(String value)
value - allowed object is
Stringpublic String getFilterClass()
Stringpublic void setFilterClass(String value)
value - allowed object is
Stringpublic String[] getLifecycle()
Stringpublic String getLifecycle(int idx)
Stringpublic int getLifecycleLength()
public void setLifecycle(String[] values)
values - allowed objects are
String
public String setLifecycle(int idx,
String value)
value - allowed object is
Stringpublic InitParamType[] getInitParam()
InitParamTypepublic InitParamType getInitParam(int idx)
InitParamTypepublic int getInitParamLength()
public void setInitParam(InitParamType[] values)
values - allowed objects are
InitParamType
public InitParamType setInitParam(int idx,
InitParamType value)
value - allowed object is
InitParamTypeprotected void copyDescription(DescriptionType[] source)
Description.
source - The source to copy from.
NullPointerException - if source is null.protected void copyDisplayName(DisplayNameType[] source)
DisplayName.
source - The source to copy from.
NullPointerException - if source is null.protected void copyLifecycle(String[] source)
Lifecycle.
source - The source to copy from.
NullPointerException - if source is null.protected void copyInitParam(InitParamType[] source)
InitParam.
source - The source to copy from.
NullPointerException - if source is null.public FilterType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||