|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceLocationAttributeVerifier
The ServiceLocationAttributeVerifier provides access to service templates. Classes implementing this interface parse SLP template definitions, provide information on attribute definitions for service types, and verify whether a ServiceLocationAttribute object matches a template for a particular service type. Clients obtain ServiceLocationAttributeVerifier objects for specific SLP service types through the TemplateRegistry.
Method Summary | |
---|---|
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. |
Method Detail |
---|
ServiceType getServiceType()
Locale getLocale()
String getVersion()
String getURLSyntax()
String getDescription()
ServiceLocationAttributeDescriptor getAttributeDescriptor(String pAttributeId)
pAttributeId
- The attribute id
Enumeration<?> 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 match
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |