org.netbeans.modules.j2ee.dd/1 1.25.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[] getServletNames()
           
 String getUrlPattern()
          Getter for url-pattern property.
 String[] getUrlPatterns()
           
 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 setServletNames(String[] value)
           
 void setUrlPattern(String value)
          Setter for url-pattern property.
 void setUrlPatterns(String[] values)
           
 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

setUrlPatterns

void setUrlPatterns(String[] values)
                    throws VersionNotSupportedException
Throws:
VersionNotSupportedException

getUrlPattern

String getUrlPattern()
Getter for url-pattern property.

Returns:
property value

getUrlPatterns

String[] getUrlPatterns()
                        throws VersionNotSupportedException
Throws:
VersionNotSupportedException

setServletName

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

Parameters:
value - property value

setServletNames

void setServletNames(String[] value)
                     throws VersionNotSupportedException
Throws:
VersionNotSupportedException

getServletName

String getServletName()
Getter for servlet-name property.

Returns:
property value

getServletNames

String[] getServletNames()
                         throws VersionNotSupportedException
Throws:
VersionNotSupportedException

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.25.0 2

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.