    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface org.w3c.jigsaw.pics.LabelServiceInterface

public interface LabelServiceInterface

##

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

##

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.

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.

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.

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.

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