Class Filter

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.jdom2.Content

        org.jdom2.Content.CType
    • Field Summary

      • Fields inherited from class org.jdom2.Element

        name, namespace
      • Fields inherited from class org.jdom2.Content

        ctype, parent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getFilterClass()
      Get the filter class.
      String getFilterName()
      Get the filter name.
      InitParam getInitParam​(String name)  
      List<InitParam> getInitParams()  
      void setFilterClass​(String filterClass)
      Set the filter class.
      void setFilterName​(String filterName)  
      • 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
      • Methods inherited from interface org.jdom2.Parent

        getDocument, getParent
    • Constructor Detail

      • Filter

        public Filter​(WebXmlTag tag)
        Constructor.
        Parameters:
        tag - XML tag definition
      • Filter

        public Filter​(WebXmlTag tag,
                      String filterName,
                      String filterClass)
        Constructor.
        Parameters:
        tag - XML tag definition
        filterName - name of the filter
        filterClass - filter class
    • Method Detail

      • getFilterClass

        public String getFilterClass()
        Get the filter class.
        Returns:
        filter class
      • setFilterClass

        public void setFilterClass​(String filterClass)
        Set the filter class.
        Parameters:
        filterClass - The classname to use
      • getFilterName

        public String getFilterName()
        Get the filter name.
        Returns:
        The filter name
      • setFilterName

        public void setFilterName​(String filterName)
        Parameters:
        filterName - Name of the filter to use
      • getInitParams

        public List<InitParam> getInitParams()
        Returns:
        List of init params
      • getInitParam

        public InitParam getInitParam​(String name)
        Parameters:
        name - Name of the Init param
        Returns:
        InitParam