org.netbeans.modules.j2ee.dd/1 1.13.0 2

org.netbeans.modules.j2ee.dd.api.web
Interface FilterMapping

All Superinterfaces:
CommonDDBean

public interface FilterMapping
extends CommonDDBean

Generated interface for FilterMapping element.

Important note: Do not provide an implementation of this interface unless you are a DD API provider!


Method Summary
 int addDispatcher(String value)
          Adds dispatcher property.
 String[] getDispatcher()
          Getter for dispatcher property.
 String getDispatcher(int index)
          Getter for dispatcher property.
 String getFilterName()
          Getter for filter-name property.
 String getServletName()
          Getter for servlet-name property.
 String getUrlPattern()
          Getter for url-pattern property.
 int removeDispatcher(String value)
          Removes dispatcher property.
 void setDispatcher(int index, String value)
          Setter for dispatcher property.
 void setDispatcher(String[] value)
          Setter for dispatcher property.
 void setFilterName(String value)
          Setter for filter-name property.
 void setServletName(String value)
          Setter for servlet-name property.
 void setUrlPattern(String value)
          Setter for url-pattern property.
 int sizeDispatcher()
          Returns size of dispatcher properties.
 
Methods inherited from interface org.netbeans.modules.j2ee.dd.api.common.CommonDDBean
addPropertyChangeListener, clone, getId, getValue, removePropertyChangeListener, setId, write
 

Method Detail

setFilterName

void setFilterName(String value)
Setter for filter-name property.

Parameters:
value - property value

getFilterName

String getFilterName()
Getter for filter-name property.

Returns:
property value

setUrlPattern

void setUrlPattern(String value)
Setter for url-pattern property.

Parameters:
value - property value

getUrlPattern

String getUrlPattern()
Getter for url-pattern property.

Returns:
property value

setServletName

void setServletName(String value)
Setter for servlet-name property.

Parameters:
value - property value

getServletName

String getServletName()
Getter for servlet-name property.

Returns:
property value

setDispatcher

void setDispatcher(int index,
                   String value)
                   throws VersionNotSupportedException
Setter for dispatcher property.

Parameters:
index - position in the array of dispatchers
value - property value
Throws:
VersionNotSupportedException

getDispatcher

String getDispatcher(int index)
                     throws VersionNotSupportedException
Getter for dispatcher property.

Parameters:
index - position in the array of dispatchers
Returns:
property value
Throws:
VersionNotSupportedException

setDispatcher

void setDispatcher(String[] value)
                   throws VersionNotSupportedException
Setter for dispatcher property.

Parameters:
index - position in the array of dispatchers
value - array of dispatcher properties
Throws:
VersionNotSupportedException

getDispatcher

String[] getDispatcher()
                       throws VersionNotSupportedException
Getter for dispatcher property.

Returns:
array of dispatcher properties
Throws:
VersionNotSupportedException

sizeDispatcher

int sizeDispatcher()
                   throws VersionNotSupportedException
Returns size of dispatcher properties.

Returns:
number of dispatcher properties
Throws:
VersionNotSupportedException

addDispatcher

int addDispatcher(String value)
                  throws VersionNotSupportedException
Adds dispatcher property.

Parameters:
value - dispatcher property
Returns:
index of new dispatcher
Throws:
VersionNotSupportedException

removeDispatcher

int removeDispatcher(String value)
                     throws VersionNotSupportedException
Removes dispatcher property.

Parameters:
value - dispatcher property
Returns:
index of the removed dispatcher
Throws:
VersionNotSupportedException

org.netbeans.modules.j2ee.dd/1 1.13.0 2

Built on December 1 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.