All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface w3c.jigsaw.pics.LabelServiceInterface

public interface LabelServiceInterface

Method Index

 o dump(StringBuffer, int)
Dump this service description into the provided buffer.
 o getGenericLabel(URL)
Get the most specific generic label for the given URL.
 o getGenericTreeLabels(URL)
Get the generic tree labels for the given URL.
 o getSpecificLabel(URL)
Get the specific labels for a given URL.
 o getTreeLabels(URL)
Get the tree labels for the given URL.

Methods

 o getSpecificLabel
 public abstract LabelInterface getSpecificLabel(URL u)
Get the specific labels for a given URL.

Parameters:
url - The URL whose label is to be fetched.
Returns:
An object conorminig to the LabelInterface, or null if none was found.
 o getGenericLabel
 public abstract LabelInterface getGenericLabel(URL u)
Get the most specific generic label for the given URL.

Parameters:
url - The URL whose label is to be retreived.
Returns:
An object conforming to the LabelInterface, or null if none was found.
 o getTreeLabels
 public abstract LabelInterface[] getTreeLabels(URL u)
Get the tree labels for the given URL.

Parameters:
url - The URL whose tree labels are to be retreieved.
Returns:
An array of objects conforming to the LabelInterface, or null if none was found.
 o getGenericTreeLabels
 public abstract LabelInterface[] getGenericTreeLabels(URL u)
Get the generic tree labels for the given URL.

Parameters:
url - The URL whose labels is to be retreieved.
Returns:
An array of object conforming to the LabelInterface, or null if none was found.
 o dump
 public abstract void dump(StringBuffer buffer,
                           int format)
Dump this service description into the provided buffer. This method is called by the protocol handler, whenever it needs to send back the service description.

Parameters:
buffer - The buffer in whichi to dump the service description.
format - The format in which this service is to be dumped (which can be any of ... FIXME)

All Packages  Class Hierarchy  This Package  Previous  Next  Index