|
||||||||||
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(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. |
Method Detail |
---|
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 id
java.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 match
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |