class ServiceDescription

Parses the service description of the UPnP devices

Public Methods

[more]static ServiceDescription* getInstance()
Get the instance for ServiceDescription Class
[more]IXML_Document* getDescriptionFileDocumentElement(string deviceURL)
Get the XML_document for device
[more]string GetCompleteURI( IXML_Document* doc, string uri, string location )
Get the complete URI for UPnP device
[more]string getServiceURI(IXML_Document* doc, string serviceType)
Get the service URI
[more]map<string, string> * getAllowedValueRange(IXML_Document* doc, string variableName)
Get the allowed value range for the variable
[more]list<string> * getAllowedValueList(IXML_Document* doc, string variableName)
Get the List of allowed value for the variable
[more]string getIconURL(IXML_Document* doc)
Get a String of Icon URL.


Documentation

Parses the service description of the UPnP devices
ostatic ServiceDescription* getInstance()
Get the instance for ServiceDescription Class
Returns:
ServiceDescription Object

oIXML_Document* getDescriptionFileDocumentElement(string deviceURL)
Get the XML_document for device
Parameters:
deviceURL - as String Value of device URL
Returns:
IXML_Document

ostring GetCompleteURI( IXML_Document* doc, string uri, string location )
Get the complete URI for UPnP device
Parameters:
doc - as device XML_document object
uri - as String Value of URI
location - as String Value location
Returns:
uri of document

ostring getServiceURI(IXML_Document* doc, string serviceType)
Get the service URI
Parameters:
doc - as device XML_document
serviceType - as String Value of service
Returns:
uri of service

omap<string, string> * getAllowedValueRange(IXML_Document* doc, string variableName)
Get the allowed value range for the variable
Parameters:
doc - as device XML_document
variableName - as String Value of variable name
Returns:
Map<String,String> containing all allowed range of value

olist<string> * getAllowedValueList(IXML_Document* doc, string variableName)
Get the List of allowed value for the variable
Parameters:
doc - as device XML_document
variableName - as String Value of variable name
Returns:
List<String> containing all allowed value

ostring getIconURL(IXML_Document* doc)
Get a String of Icon URL.

Parameters:
doc - as device XML_document
Returns:
a String value of Icon URL


This class has no child classes.
Author:
Parikshit Thakur & Team, Trace R&D Center
Version:
Revision: 1.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.