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.
-
RulesFilter(String)
- Creates a new RulesFilter.
-
addValue(Value)
- Add a value to this RulesFilter
-
getRangeList()
- Returns the list of Values that have been added to the RulesFilter.
-
nextRange()
- Returns the next Value for this Filter.
-
reset()
- Reset the internal pointer so that the next call of nextRange() will
return the first Value.
-
toString()
- Returns a human readable form of this RulesFilter.
RulesFilter
public RulesFilter(String profilename)
- Creates a new RulesFilter.
- Parameters:
- profilename - The name of the profile that this filter came from.
addValue
public void addValue(Value r)
- Add a value to this RulesFilter
- Parameters:
- r - The Value object representing the value.
getRangeList
public Vector getRangeList()
- Returns the list of Values that have been added to the RulesFilter.
- Returns:
- A Vector, containing the Values.
reset
public void reset()
- Reset the internal pointer so that the next call of nextRange() will
return the first Value.
nextRange
public Value nextRange()
- Returns the next Value for this Filter.
- Returns:
- A Value.
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