All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.pics.db.LabelData

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

public class LabelData
extends Object
A class that encapsulates the ratings and URL of a PICS label.


Constructor Index

 o LabelData(String[], String)
Create a new LabelData.

Method Index

 o getFullLabel()
Returns the data contained about the ratings.
 o getLabel()
Returns the data contained about the ratings.
 o getUrl()
Returns the URL contained in this LabelData.
 o toString()
Returns a human-readable representation of this LabelData.

Constructors

 o LabelData
 public LabelData(String label[],
                  String url)
Create a new LabelData.

Parameters:
label - An array of String that contains one entry representing the ratings for each category in the PICS label.
url - The URL that this PICS label is for.

Methods

 o getLabel
 public String[] getLabel()
Returns the data contained about the ratings.

Returns:
A String[] containing the ratings data.
 o getFullLabel
 public String getFullLabel()
Returns the data contained about the ratings.

Returns:
A String containing the ratings data.
 o getUrl
 public String getUrl()
Returns the URL contained in this LabelData.

Returns:
A String, the URL for this LabelData.
 o toString
 public String toString()
Returns a human-readable representation of this LabelData.

Returns:
A String containing a representation of this LabelData.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index