jrun.servlet.metadata
Class FilterMappingMetaData

java.lang.Object
  |
  +--jrunx.xml.XMLMetaData
        |
        +--jrun.servlet.metadata.FilterMappingMetaData

public class FilterMappingMetaData
extends XMLMetaData

Declaration of the filter mappings in this web application. The container uses the filter-mapping declarations to decide which filters to apply to a request, and in what order. The container matches the request URI to a Servlet in the normal way. To determine which filters to apply it matches filter-mapping declarations either on servlet-name, or on url-pattern for each filter-mapping element, depending on which style is used. The order in which filters are invoked is the order in which filter-mapping declarations that match a request URI for a servlet appear in the list of filter-mapping elements. The filter-name value must be the value of the <filter-name> sub-elements of one of the <filter> declarations in the deployment descriptor

The filter element can be used within the web-app element.

Author:
Paul Reilly
See Also:
WebAppMetaData, FilterMetaData

Inner classes inherited from class jrunx.xml.XMLMetaData
XMLMetaData.BaseException, XMLMetaData.CouldNotCreateDocumentException, XMLMetaData.CreateInstanceException, XMLMetaData.ElementRequiredException, XMLMetaData.IntegerExpectedException, XMLMetaData.InvalidElementException, XMLMetaData.InvalidObjectException, XMLMetaData.MetaDataExportIOException, XMLMetaData.NoLocationException, XMLMetaData.NoStringConstructorException, XMLMetaData.UnsupportedArrayTypeException
 
Fields inherited from class jrunx.xml.XMLMetaData
logger
 
Constructor Summary
FilterMappingMetaData()
           
 
Method Summary
 java.lang.String getFilterName()
           
 java.lang.String getServletName()
           
 java.lang.String getURLPattern()
           
 void setFilterName(java.lang.String filterName)
           
 void setServletName(java.lang.String servletName)
           
 void setURLPattern(java.lang.String urlPattern)
           
 
Methods inherited from class jrunx.xml.XMLMetaData
addAcronym, addAcronyms, addPackagePrefix, addPackagePrefixes, exportDocument, getAttribute, getMetaDataSource, getParent, getPersistenceContext, getText, importXML, importXML, remove, removeAttribute, setAttribute, setMetaDataSource, setMetaDataSource, setParent, setParent, setPersistenceContext, setPublicID, setSystemID, setText, sync, sync, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterMappingMetaData

public FilterMappingMetaData()
Method Detail

getFilterName

public java.lang.String getFilterName()

setFilterName

public void setFilterName(java.lang.String filterName)

getServletName

public java.lang.String getServletName()

setServletName

public void setServletName(java.lang.String servletName)

getURLPattern

public java.lang.String getURLPattern()

setURLPattern

public void setURLPattern(java.lang.String urlPattern)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.