| org.w3c.jigsaw.pics.LabelServiceInterface
All known Subclasses: org.w3c.jigsaw.pics.SampleLabelService,
LabelServiceInterface | public interface LabelServiceInterface (Code) | | |
Method Summary | |
public 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. | public LabelInterface | getGenericLabel(URL u) Get the most specific generic label for the given URL.
Parameters: url - The URL whose label is to be retreived. | public LabelInterface[] | getGenericTreeLabels(URL u) Get the generic tree labels for the given URL.
Parameters: url - The URL whose labels is to be retreieved. | public LabelInterface | getSpecificLabel(URL u) Get the specific labels for a given URL.
Parameters: url - The URL whose label is to be fetched. | public LabelInterface[] | getTreeLabels(URL u) Get the tree labels for the given URL.
Parameters: url - The URL whose tree labels are to be retreieved. |
dump | public void dump(StringBuffer buffer, int format)(Code) | | 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. Parameters: format - The format in which this service is to be dumped (whichcan be any of ... FIXME) |
getGenericLabel | public LabelInterface getGenericLabel(URL u)(Code) | | Get the most specific generic label for the given URL.
Parameters: url - The URL whose label is to be retreived. An object conforming to the LabelInterface, or null if none was found. |
getGenericTreeLabels | public LabelInterface[] getGenericTreeLabels(URL u)(Code) | | Get the generic tree labels for the given URL.
Parameters: url - The URL whose labels is to be retreieved. An array of object conforming to the LabelInterface, or null if none was found. |
getSpecificLabel | public LabelInterface getSpecificLabel(URL u)(Code) | | Get the specific labels for a given URL.
Parameters: url - The URL whose label is to be fetched. An object conorminig to the LabelInterface, or null if none was found. |
getTreeLabels | public LabelInterface[] getTreeLabels(URL u)(Code) | | Get the tree labels for the given URL.
Parameters: url - The URL whose tree labels are to be retreieved. An array of objects conforming to the LabelInterface, ornull if none was found. |
|
|