    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

##

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

##

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

##

Range

      public Range(String categorytransmit,
                   double min,
                   double max)

  Constructor for single value Rating
  Parameters:
    categorytransmit - The transmit name for the category

Range

      public Range(PICSTokenizer PT) throws PICSException, IOException

  Contructs a Range from a PICSTokenizer. Used for parsing filter description.

Range

      public Range(String categorytransmit)

  Constructor for multi-value Range

##

addAllowValue

      public void addAllowValue(double value)

addBlockValue

      public void addBlockValue(double value)

addRangeValue

      public void addRangeValue(RangeValue value)

toString

      public String toString()

Returns:
  The string representation of the Range object

getTransmit

      public String getTransmit()

getAllowValuelist

      public Vector getAllowValuelist()

getBlockValuelist

      public Vector getBlockValuelist()

getRangeValuelist

      public Vector getRangeValuelist()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index