Interface w3c.jigsaw.pics.LabelBureauInterface
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface w3c.jigsaw.pics.LabelBureauInterface

public interface LabelBureauInterface
extends Object
Interface for the label bureau. This interface that the PICS protocol handler relies on to get the labels for any URL.

Variable Index

 o FMT_FULL
Tag for the full label format.
 o FMT_MINIMAL
Tag for the minimal label format.
 o FMT_SHORT
Tag for the short label format.
 o FMT_SIGNED
Tag for the signed label format.

Method Index

 o getIdentifier()
Get this bureau identifier.
 o getLabelService(String)
Get a label service handler, given its identifier.

Variables

 o FMT_MINIMAL
  public final static int FMT_MINIMAL
Tag for the minimal label format.
 o FMT_SHORT
  public final static int FMT_SHORT
Tag for the short label format.
 o FMT_FULL
  public final static int FMT_FULL
Tag for the full label format.
 o FMT_SIGNED
  public final static int FMT_SIGNED
Tag for the signed label format.

Methods

 o getIdentifier
  public abstract String getIdentifier()
Get this bureau identifier. A bureau should have a uniq String identifier, which is used by the PICS filter to create it (through the LabelBureauFactory), dump it and restore it.
 o getLabelService
  public abstract LabelServiceInterface getLabelService(String identifier)
Get a label service handler, given its identifier. A service identifier is expected to be its URL, as defined in the PICS specification.
Parameters:
identifier - The service URL identifier.
Returns:
An object conforming to the LabelServiceInterface, or null if none was found.

All Packages  Class Hierarchy  This Package  Previous  Next  Index