Style Intelligence v12.0

inetsoft.report.filter
Class SharedFilter

java.lang.Object
  extended by inetsoft.report.filter.SharedFilter
All Implemented Interfaces:
inetsoft.util.XMLSerializable, Serializable, Cloneable, Iterable

public class SharedFilter
extends Object
implements inetsoft.util.XMLSerializable, Serializable, Cloneable, Iterable

Class that represents a shared filter definition for a report.

Since:
12.0
See Also:
Serialized Form

Constructor Summary
SharedFilter()
           
 
Method Summary
 void addMapping(SharedFilterMapping mapping)
          Adds a mapping to this filter.
 Object clone()
           
 boolean containsMapping(SharedFilterMapping mapping)
          Determines if this filter contains the specified mapping.
 boolean equals(Object o)
           
 int hashCode()
           
 Iterator iterator()
           
 void parseXML(Element tag)
           
 void removeMapping(SharedFilterMapping mapping)
          Removes a mapping from this filter.
 int size()
          Gets the number of mappings included in this filter.
 String toString()
           
 void writeXML(PrintWriter writer)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SharedFilter

public SharedFilter()
Method Detail

addMapping

public void addMapping(SharedFilterMapping mapping)
Adds a mapping to this filter.

Parameters:
mapping - the mapping to add.

removeMapping

public void removeMapping(SharedFilterMapping mapping)
Removes a mapping from this filter.

Parameters:
mapping - the mapping to remove.

containsMapping

public boolean containsMapping(SharedFilterMapping mapping)
Determines if this filter contains the specified mapping.

Parameters:
mapping - the mapping to find.
Returns:
true if the mapping is contained in this filter; false otherwise.

size

public int size()
Gets the number of mappings included in this filter.

Returns:
the size.

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable

writeXML

public void writeXML(PrintWriter writer)
Specified by:
writeXML in interface inetsoft.util.XMLSerializable

parseXML

public void parseXML(Element tag)
              throws Exception
Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Throws:
Exception

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.