ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.webcommon30
Interface FilterMappingType<T>

All Superinterfaces:
Child<T>

public interface FilterMappingType<T>
extends Child<T>

This interface defines the contract for the filter-mappingType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 FilterMappingType<T> dispatcher(DispatcherType dispatcher)
          Sets the dispatcher element
 FilterMappingType<T> dispatcher(String dispatcher)
          Sets the dispatcher element
 FilterMappingType<T> filterName(String filterName)
          Sets the filter-name element
 List<String> getAllServletName()
          Returns all servlet-name elements
 List<String> getAllUrlPattern()
          Returns all url-pattern elements
 DispatcherType getDispatcher()
          Returns the dispatcher element
 String getDispatcherAsString()
          Returns the dispatcher element
 String getFilterName()
          Returns the filter-name element
 FilterMappingType<T> removeAllServletName()
          Removes the servlet-name element
 FilterMappingType<T> removeAllUrlPattern()
          Removes the url-pattern element
 FilterMappingType<T> removeDispatcher()
          Removes the dispatcher attribute
 FilterMappingType<T> removeFilterName()
          Removes the filter-name element
 FilterMappingType<T> servletName(String... values)
          Creates for all String objects representing servlet-name elements, a new servlet-name element
 FilterMappingType<T> urlPattern(String... values)
          Creates for all String objects representing url-pattern elements, a new url-pattern element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

filterName

FilterMappingType<T> filterName(String filterName)
Sets the filter-name element

Parameters:
filterName - the value for the element filter-name
Returns:
the current instance of FilterMappingType

getFilterName

String getFilterName()
Returns the filter-name element

Returns:
the node defined for the element filter-name

removeFilterName

FilterMappingType<T> removeFilterName()
Removes the filter-name element

Returns:
the current instance of FilterMappingType

urlPattern

FilterMappingType<T> urlPattern(String... values)
Creates for all String objects representing url-pattern elements, a new url-pattern element

Parameters:
values - list of url-pattern objects
Returns:
the current instance of FilterMappingType

getAllUrlPattern

List<String> getAllUrlPattern()
Returns all url-pattern elements

Returns:
list of url-pattern

removeAllUrlPattern

FilterMappingType<T> removeAllUrlPattern()
Removes the url-pattern element

Returns:
the current instance of FilterMappingType

servletName

FilterMappingType<T> servletName(String... values)
Creates for all String objects representing servlet-name elements, a new servlet-name element

Parameters:
values - list of servlet-name objects
Returns:
the current instance of FilterMappingType

getAllServletName

List<String> getAllServletName()
Returns all servlet-name elements

Returns:
list of servlet-name

removeAllServletName

FilterMappingType<T> removeAllServletName()
Removes the servlet-name element

Returns:
the current instance of FilterMappingType

dispatcher

FilterMappingType<T> dispatcher(DispatcherType dispatcher)
Sets the dispatcher element

Parameters:
dispatcher - the value for the element dispatcher
Returns:
the current instance of FilterMappingType

dispatcher

FilterMappingType<T> dispatcher(String dispatcher)
Sets the dispatcher element

Parameters:
dispatcher - the value for the element dispatcher
Returns:
the current instance of FilterMappingType

getDispatcher

DispatcherType getDispatcher()
Returns the dispatcher element

Returns:
the value found for the element dispatcher

getDispatcherAsString

String getDispatcherAsString()
Returns the dispatcher element

Returns:
the value found for the element dispatcher

removeDispatcher

FilterMappingType<T> removeDispatcher()
Removes the dispatcher attribute

Returns:
the current instance of FilterMappingType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.