org.sblim.slp
public abstract class TemplateRegistry extends Object
Method Summary | |
---|---|
abstract ServiceLocationAttributeVerifier | attributeVerifier(String pDocumentURL)
Reads the template document URL and returns an attribute verifier for the
service type. |
abstract void | deregisterServiceTemplate(ServiceType pType, Locale pLocale, String pVersion)
Deregister the template for the service type.
|
abstract String | findTemplateURL(ServiceType pType, Locale pLocale, String pVersion)
Returns the URL for the template document.
|
static TemplateRegistry | getTemplateRegistry()
Returns the distinguished TemplateRegistry object for performing
operations on and with service templates. |
abstract void | registerServiceTemplate(ServiceType pType, String pDocumentURL, Locale pLocale, String pVersion)
Register the service template with the template registry.
|
Parameters: pDocumentURL A String containing the template document's URL. May not be the empty string.
Returns: The verifier
Throws: ServiceLocationException
Parameters: pType The service type. pLocale A Locale object containing the language locale of the template. pVersion A String containing the version number. Use null to indicate the latest version.
Throws: ServiceLocationException
Parameters: pType The service type. pLocale A Locale object containing the language locale of the template. pVersion A String containing the version number. Use null to indicate the latest version.
Returns: The URL
Throws: ServiceLocationException
Returns: The template registry
Parameters: pType The service type. pDocumentURL A string containing the URL of the template document. May not be the empty string. pLocale A Locale object containing the language locale of the template. pVersion The version number identifier of template document.
Throws: ServiceLocationException