Class FilterMapping
- java.lang.Object
-
- org.jdom2.Content
-
- org.jdom2.Element
-
- org.codehaus.cargo.module.DescriptorElement
-
- org.codehaus.cargo.module.webapp.elements.WebXmlElement
-
- org.codehaus.cargo.module.webapp.elements.FilterMapping
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jdom2.NamespaceAware
,org.jdom2.Parent
public class FilterMapping extends WebXmlElement
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FilterMapping(WebXmlTag tag)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDispatcher(String dispatcher)
Add a dispatcher.void
addUrlPattern(String urlPattern)
Add a URL Pattern.List<String>
getDispatchers()
Get the dispatchers.String
getFilterName()
Get the filter name.List<String>
getUrlPatterns()
Get the URL Patterns.void
setFilterName(String filterName)
Set the filter name.-
Methods inherited from class org.codehaus.cargo.module.webapp.elements.WebXmlElement
child
-
Methods inherited from class org.codehaus.cargo.module.DescriptorElement
getTag, setTag
-
Methods inherited from class org.jdom2.Element
addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, canContainContent, clone, cloneContent, coalesceText, detach, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributesSize, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, getXMLBaseURI, hasAdditionalNamespaces, hasAttributes, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, sortAttributes, sortChildren, sortContent, sortContent, toString
-
Methods inherited from class org.jdom2.Content
equals, getCType, getDocument, getParent, getParentElement, hashCode, setParent
-
-
-
-
Constructor Detail
-
FilterMapping
public FilterMapping(WebXmlTag tag)
Constructor.- Parameters:
tag
- Web Xml Tag definition
-
-
Method Detail
-
addUrlPattern
public void addUrlPattern(String urlPattern)
Add a URL Pattern.- Parameters:
urlPattern
- The URL Pattern
-
addDispatcher
public void addDispatcher(String dispatcher)
Add a dispatcher.- Parameters:
dispatcher
- The dispatcher
-
getFilterName
public String getFilterName()
Get the filter name.- Returns:
- The filter name
-
setFilterName
public void setFilterName(String filterName)
Set the filter name.- Parameters:
filterName
- The filter name
-
-