public interface ServiceLocationAttributeVerifier
| Modifier and Type | Method and Description |
|---|---|
ServiceLocationAttributeDescriptor |
getAttributeDescriptor(String pAttributeId)
Return the ServiceLocationAttributeDescriptor for the attribute having
the named id.
|
Enumeration<?> |
getAttributeDescriptors()
Returns an Enumeration allowing introspection on the attribute definition
in the service template.
|
String |
getDescription()
Return the descriptive help text for the template.
|
Locale |
getLocale()
Return the language locale of the template.
|
ServiceType |
getServiceType()
Returns the SLP service type for which this is the verifier.
|
String |
getURLSyntax()
Return the URL syntax expression for the service: URL.
|
String |
getVersion()
Return the template version number identifier.
|
void |
verifyAttribute(ServiceLocationAttribute pAttribute)
Verify that the attribute matches the template definition.
|
void |
verifyRegistration(Vector<?> pAttributeVector)
Verify that the Vector of ServiceLocationAttribute objects matches the
template for this service type.
|
ServiceType getServiceType()
Locale getLocale()
String getVersion()
String getURLSyntax()
String getDescription()
ServiceLocationAttributeDescriptor getAttributeDescriptor(String pAttributeId)
pAttributeId - The attribute idEnumeration<?> getAttributeDescriptors()
void verifyAttribute(ServiceLocationAttribute pAttribute) throws ServiceLocationException
pAttribute - The ServiceLocationAttribute object to be verified.ServiceLocationException - if validation failedvoid verifyRegistration(Vector<?> pAttributeVector) throws ServiceLocationException
pAttributeVector - A Vector of ServiceLocationAttribute objects for the
registration.ServiceLocationException - if attributes don't matchCopyright © 2005, 2012 IBM Corporation. All Rights Reserved.