org.exolab.jmscts.core.filter
Class Filter

java.lang.Object
  |
  +--org.exolab.jmscts.core.filter.Filter
All Implemented Interfaces:
java.io.Serializable

public class Filter
extends java.lang.Object
implements java.io.Serializable

The filter element is the root element of all test case filter documents.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Filter()
           
 
Method Summary
 void addExclude(Exclude vExclude)
          Method addExclude
 void addExclude(int index, Exclude vExclude)
          Method addExclude
 void addInclude(Include vInclude)
          Method addInclude
 void addInclude(int index, Include vInclude)
          Method addInclude
 void clearExclude()
          Method clearExclude
 void clearInclude()
          Method clearInclude
 java.util.Enumeration enumerateExclude()
          Method enumerateExclude
 java.util.Enumeration enumerateInclude()
          Method enumerateInclude
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 Exclude[] getExclude()
          Method getExclude
 Exclude getExclude(int index)
          Method getExclude
 int getExcludeCount()
          Method getExcludeCount
 Include[] getInclude()
          Method getInclude
 Include getInclude(int index)
          Method getInclude
 int getIncludeCount()
          Method getIncludeCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeExclude(Exclude vExclude)
          Method removeExclude
 boolean removeInclude(Include vInclude)
          Method removeInclude
 void setExclude(Exclude[] excludeArray)
          Method setExclude
 void setExclude(int index, Exclude vExclude)
          Method setExclude
 void setInclude(Include[] includeArray)
          Method setInclude
 void setInclude(int index, Include vInclude)
          Method setInclude
static Filter unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter()
Method Detail

addExclude

public void addExclude(Exclude vExclude)
                throws java.lang.IndexOutOfBoundsException
Method addExclude
Parameters:
vExclude -  

addExclude

public void addExclude(int index,
                       Exclude vExclude)
                throws java.lang.IndexOutOfBoundsException
Method addExclude
Parameters:
index -  
vExclude -  

addInclude

public void addInclude(Include vInclude)
                throws java.lang.IndexOutOfBoundsException
Method addInclude
Parameters:
vInclude -  

addInclude

public void addInclude(int index,
                       Include vInclude)
                throws java.lang.IndexOutOfBoundsException
Method addInclude
Parameters:
index -  
vInclude -  

clearExclude

public void clearExclude()
Method clearExclude

clearInclude

public void clearInclude()
Method clearInclude

enumerateExclude

public java.util.Enumeration enumerateExclude()
Method enumerateExclude

enumerateInclude

public java.util.Enumeration enumerateInclude()
Method enumerateInclude

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden
Overrides:
equals in class java.lang.Object
Parameters:
obj -  

getExclude

public Exclude getExclude(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getExclude
Parameters:
index -  

getExclude

public Exclude[] getExclude()
Method getExclude

getExcludeCount

public int getExcludeCount()
Method getExcludeCount

getInclude

public Include getInclude(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getInclude
Parameters:
index -  

getInclude

public Include[] getInclude()
Method getInclude

getIncludeCount

public int getIncludeCount()
Method getIncludeCount

isValid

public boolean isValid()
Method isValid

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
out -  

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
handler -  

removeExclude

public boolean removeExclude(Exclude vExclude)
Method removeExclude
Parameters:
vExclude -  

removeInclude

public boolean removeInclude(Include vInclude)
Method removeInclude
Parameters:
vInclude -  

setExclude

public void setExclude(int index,
                       Exclude vExclude)
                throws java.lang.IndexOutOfBoundsException
Method setExclude
Parameters:
index -  
vExclude -  

setExclude

public void setExclude(Exclude[] excludeArray)
Method setExclude
Parameters:
excludeArray -  

setInclude

public void setInclude(int index,
                       Include vInclude)
                throws java.lang.IndexOutOfBoundsException
Method setInclude
Parameters:
index -  
vInclude -  

setInclude

public void setInclude(Include[] includeArray)
Method setInclude
Parameters:
includeArray -  

unmarshal

public static Filter unmarshal(java.io.Reader reader)
                        throws org.exolab.castor.xml.MarshalException,
                               org.exolab.castor.xml.ValidationException
Method unmarshal
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.