org.codehaus.cargo.module.webapp.elements
Class Filter

java.lang.Object
  extended by org.jdom.Content
      extended by org.jdom.Element
          extended by org.codehaus.cargo.module.DescriptorElement
              extended by org.codehaus.cargo.module.webapp.elements.WebXmlElement
                  extended by org.codehaus.cargo.module.webapp.elements.Filter
All Implemented Interfaces:
Serializable, Cloneable, org.jdom.Parent

public class Filter
extends WebXmlElement

Version:
$Id: Filter.java 1705 2008-09-02 13:14:55Z adriana $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdom.Element
additionalNamespaces, name, namespace
 
Fields inherited from class org.jdom.Content
parent
 
Constructor Summary
Filter(WebXmlTag tag)
          Constructor.
Filter(WebXmlTag tag, String filterName, String filterClass)
          Constructor.
 
Method Summary
 String getFilterClass()
          Get the filter class.
 String getFilterName()
          Get the filter name.
 InitParam getInitParam(String name)
           
 List getInitParams()
           
 void setFilterClass(String filterClass)
          Set the filter class.
 void setFilterName(String filterName)
           
 
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.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 class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jdom.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 getInitParams()
Returns:
List of init params

getInitParam

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


Copyright © 2004-2012 Codehaus. All Rights Reserved.