| org.w3c.jigsaw.pics.LabelBureauInterface
All known Subclasses: org.w3c.jigsaw.pics.SampleLabelBureau,
LabelBureauInterface | public interface LabelBureauInterface (Code) | | Interface for the label bureau.
This interface that the PICS protocol handler relies on to get the labels
for any URL.
|
Field Summary | |
final public static int | FMT_FULL Tag for the full label format. | final public static int | FMT_MINIMAL Tag for the minimal label format. | final public static int | FMT_SHORT Tag for the short label format. | final public static int | FMT_SIGNED Tag for the signed label format. |
Method Summary | |
public String | getIdentifier() Get this bureau identifier. | public 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. |
FMT_FULL | final public static int FMT_FULL(Code) | | Tag for the full label format.
|
FMT_MINIMAL | final public static int FMT_MINIMAL(Code) | | Tag for the minimal label format.
|
FMT_SHORT | final public static int FMT_SHORT(Code) | | Tag for the short label format.
|
FMT_SIGNED | final public static int FMT_SIGNED(Code) | | Tag for the signed label format.
|
getIdentifier | public String getIdentifier()(Code) | | 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 LabelServiceInterface getLabelService(String identifier)(Code) | | 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. An object conforming to the LabelServiceInterface, or null if none was found. |
|
|