    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.

##

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

##

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

##

FMT_MINIMAL

      public final static int FMT_MINIMAL

  Tag for the minimal label format.

FMT_SHORT

      public final static int FMT_SHORT

  Tag for the short label format.

FMT_FULL

      public final static int FMT_FULL

  Tag for the full label format.

FMT_SIGNED

      public final static int FMT_SIGNED

  Tag for the signed label format.

##

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.

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