org.apache.felix.upnp.basedriver.importer.core.upnp
Class UPnPDeviceImpl

java.lang.Object
  extended by org.apache.felix.upnp.basedriver.importer.core.upnp.UPnPDeviceImpl
All Implemented Interfaces:
org.osgi.service.upnp.UPnPDevice

public class UPnPDeviceImpl
extends java.lang.Object
implements org.osgi.service.upnp.UPnPDevice


Field Summary
 
Fields inherited from interface org.osgi.service.upnp.UPnPDevice
CHILDREN_UDN, DEVICE_CATEGORY, FRIENDLY_NAME, ID, MANUFACTURER, MANUFACTURER_URL, MATCH_GENERIC, MATCH_MANUFACTURER_MODEL, MATCH_MANUFACTURER_MODEL_REVISION, MATCH_MANUFACTURER_MODEL_REVISION_SERIAL, MATCH_TYPE, MODEL_DESCRIPTION, MODEL_NAME, MODEL_NUMBER, MODEL_URL, PARENT_UDN, PRESENTATION_URL, SERIAL_NUMBER, TYPE, UDN, UPC, UPNP_EXPORT
 
Constructor Summary
UPnPDeviceImpl(org.cybergarage.upnp.Device dev, org.osgi.framework.BundleContext context)
           
 
Method Summary
 boolean existServiceType(java.lang.String serviceType)
           
 java.util.Dictionary getDescriptions(java.lang.String locale)
           
 org.osgi.service.upnp.UPnPIcon[] getIcons(java.lang.String locale)
           
 org.osgi.service.upnp.UPnPService getService(java.lang.String serviceId)
           
 org.osgi.service.upnp.UPnPService[] getServices()
           
 void setProperty(java.lang.String property, java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UPnPDeviceImpl

public UPnPDeviceImpl(org.cybergarage.upnp.Device dev,
                      org.osgi.framework.BundleContext context)
Parameters:
dev - Device the cyberLink Device used to rappresent the real UPnP Device
Method Detail

getService

public org.osgi.service.upnp.UPnPService getService(java.lang.String serviceId)
Specified by:
getService in interface org.osgi.service.upnp.UPnPDevice

getServices

public org.osgi.service.upnp.UPnPService[] getServices()
Specified by:
getServices in interface org.osgi.service.upnp.UPnPDevice

getIcons

public org.osgi.service.upnp.UPnPIcon[] getIcons(java.lang.String locale)
Specified by:
getIcons in interface org.osgi.service.upnp.UPnPDevice

getDescriptions

public java.util.Dictionary getDescriptions(java.lang.String locale)
Specified by:
getDescriptions in interface org.osgi.service.upnp.UPnPDevice

existServiceType

public boolean existServiceType(java.lang.String serviceType)
Parameters:
serviceType -
Returns:
true if device contains the serviceType

setProperty

public void setProperty(java.lang.String property,
                        java.lang.Object obj)
Parameters:
property -
obj -