org.w3c.jigsaw.pics
Interface LabelBureauInterface

All Known Implementing Classes:
SampleLabelBureau

public interface LabelBureauInterface

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


Field Summary
static int FMT_FULL
          Tag for the full label format.
static int FMT_MINIMAL
          Tag for the minimal label format.
static int FMT_SHORT
          Tag for the short label format.
static int FMT_SIGNED
          Tag for the signed label format.
 
Method Summary
 java.lang.String getIdentifier()
          Get this bureau identifier.
 LabelServiceInterface getLabelService(java.lang.String identifier)
          Get a label service handler, given its identifier.
 

Field Detail

FMT_MINIMAL

static final int FMT_MINIMAL
Tag for the minimal label format.

See Also:
Constant Field Values

FMT_SHORT

static final int FMT_SHORT
Tag for the short label format.

See Also:
Constant Field Values

FMT_FULL

static final int FMT_FULL
Tag for the full label format.

See Also:
Constant Field Values

FMT_SIGNED

static final int FMT_SIGNED
Tag for the signed label format.

See Also:
Constant Field Values
Method Detail

getIdentifier

java.lang.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

LabelServiceInterface getLabelService(java.lang.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.