public interface ServiceLocationAttributeVerifier
Modifier and Type | Method and Description |
---|---|
ServiceLocationAttributeDescriptor |
getAttributeDescriptor(java.lang.String pAttributeId)
Return the ServiceLocationAttributeDescriptor for the attribute having
the named id.
|
java.util.Enumeration<?> |
getAttributeDescriptors()
Returns an Enumeration allowing introspection on the attribute definition
in the service template.
|
java.lang.String |
getDescription()
Return the descriptive help text for the template.
|
java.util.Locale |
getLocale()
Return the language locale of the template.
|
ServiceType |
getServiceType()
Returns the SLP service type for which this is the verifier.
|
java.lang.String |
getURLSyntax()
Return the URL syntax expression for the service: URL.
|
java.lang.String |
getVersion()
Return the template version number identifier.
|
void |
verifyAttribute(ServiceLocationAttribute pAttribute)
Verify that the attribute matches the template definition.
|
void |
verifyRegistration(java.util.Vector<?> pAttributeVector)
Verify that the Vector of ServiceLocationAttribute objects matches the
template for this service type.
|
ServiceType getServiceType()
java.util.Locale getLocale()
java.lang.String getVersion()
java.lang.String getURLSyntax()
java.lang.String getDescription()
ServiceLocationAttributeDescriptor getAttributeDescriptor(java.lang.String pAttributeId)
pAttributeId
- The attribute idjava.util.Enumeration<?> getAttributeDescriptors()
void verifyAttribute(ServiceLocationAttribute pAttribute) throws ServiceLocationException
pAttribute
- The ServiceLocationAttribute object to be verified.ServiceLocationException
- if validation failedvoid verifyRegistration(java.util.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.