Class FilterMapping

    • Field Summary

      • Fields inherited from class org.jdom.Element

        additionalNamespaces, name, namespace
      • Fields inherited from class org.jdom.Content

        parent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addDispatcher​(String dispatcherName)
      Add a dispatcher element.
      String[] getDispatchers()  
      String getFilterName()
      Get the filter name.
      String getServletName()
      Get the servlet name.
      String getUrlPattern()
      Get the URL Pattern.
      void setFilterName​(String filterName)
      Set the filter name.
      void setServletName​(String servletName)
      Set the servlet name.
      void setUrlPattern​(String urlPattern)
      Set the URL Pattern.
      • Methods inherited from class org.jdom.Element

        addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, clone, cloneContent, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, 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, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, toString
      • Methods inherited from class org.jdom.Content

        detach, equals, getDocument, getParent, getParentElement, hashCode, setParent
      • Methods inherited from interface org.jdom.Parent

        getDocument, getParent
    • Constructor Detail

      • FilterMapping

        public FilterMapping​(WebXmlTag tag)
        Constructor.
        Parameters:
        tag - Web Xml Tag definition
    • Method Detail

      • getUrlPattern

        public String getUrlPattern()
        Get the URL Pattern.
        Returns:
        URL Pattern
      • setUrlPattern

        public void setUrlPattern​(String urlPattern)
        Set the URL Pattern.
        Parameters:
        urlPattern - The URL Pattern
      • 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
      • getServletName

        public String getServletName()
        Get the servlet name.
        Returns:
        The filter name
      • setServletName

        public void setServletName​(String servletName)
        Set the servlet name.
        Parameters:
        servletName - The filter name
      • addDispatcher

        public void addDispatcher​(String dispatcherName)
        Add a dispatcher element.
        Parameters:
        dispatcherName - name of the dispatcher.
      • getDispatchers

        public String[] getDispatchers()
        Returns:
        a list of dispatcher names.