Class W3C.PICS.Range
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class W3C.PICS.Range

W3C.PICS.Range

public class Range
Range is the building block of Filter, representing the filtering element for a category.
Author:
Ching Law
See Also:
Filter

Constructor Index

 o Range(PICSTokenizer)
Contructs a Range from a PICSTokenizer.
 o Range(String)
Constructor for multi-value Range
 o Range(String, double, double)
Constructor for single value Rating

Method Index

 o addAllowValue(double)
 o addBlockValue(double)
 o addRangeValue(RangeValue)
 o getAllowValuelist()
 o getBlockValuelist()
 o getRangeValuelist()
 o getTransmit()
 o toString()

Constructors

 o Range
  public Range(String categorytransmit,
               double min,
               double max)
Constructor for single value Rating
Parameters:
categorytransmit - The transmit name for the category
 o Range
  public Range(PICSTokenizer PT) throws PICSException, IOException
Contructs a Range from a PICSTokenizer. Used for parsing filter description.
 o Range
  public Range(String categorytransmit)
Constructor for multi-value Range

Methods

 o addAllowValue
  public void addAllowValue(double value)
 o addBlockValue
  public void addBlockValue(double value)
 o addRangeValue
  public void addRangeValue(RangeValue value)
 o toString
  public String toString()
Returns:
The string representation of the Range object
 o getTransmit
  public String getTransmit()
 o getAllowValuelist
  public Vector getAllowValuelist()
 o getBlockValuelist
  public Vector getBlockValuelist()
 o getRangeValuelist
  public Vector getRangeValuelist()

All Packages  Class Hierarchy  This Package  Previous  Next  Index