All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.pics.db.RulesFilter

java.lang.Object
   |
   +----w3c.pics.db.RulesFilter

public class RulesFilter
extends Object
A RulesFilter is an object representing the Filter clause of a PICSRulz 1.0 rule.


Constructor Index

 o RulesFilter(String)
Creates a new RulesFilter.

Method Index

 o addValue(Value)
Add a value to this RulesFilter
 o getRangeList()
Returns the list of Values that have been added to the RulesFilter.
 o nextRange()
Returns the next Value for this Filter.
 o reset()
Reset the internal pointer so that the next call of nextRange() will return the first Value.
 o toString()
Returns a human readable form of this RulesFilter.

Constructors

 o RulesFilter
 public RulesFilter(String profilename)
Creates a new RulesFilter.

Parameters:
profilename - The name of the profile that this filter came from.

Methods

 o addValue
 public void addValue(Value r)
Add a value to this RulesFilter

Parameters:
r - The Value object representing the value.
 o getRangeList
 public Vector getRangeList()
Returns the list of Values that have been added to the RulesFilter.

Returns:
A Vector, containing the Values.
 o reset
 public void reset()
Reset the internal pointer so that the next call of nextRange() will return the first Value.

 o nextRange
 public Value nextRange()
Returns the next Value for this Filter.

Returns:
A Value.
 o toString
 public String toString()
Returns a human readable form of this RulesFilter. Note that this is not the same format as a PICSRulz Filter Clause.

Returns:
A String containing a human-readable form of this RulesFilter.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index