|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sbbi.upnp.devices.UPNPDevice
This class represents an UPNP device, this device contains a set of services that will be needed to access the device functionalities.
Constructor Summary | |
UPNPDevice()
|
Method Summary | |
UPNPDevice |
getChildDevice(java.lang.String deviceURI)
Looks for a child UPNP device definition file, the whole devices tree will be searched, starting from the current device node. |
java.util.List |
getChildDevices()
Generates a list of all the child ( not only top level, full childrens hierarchy included ) UPNPDevice objects for this device. |
java.util.List |
getDeviceIcons()
Access to the device icons definitions |
java.lang.String |
getDeviceType()
|
UPNPDevice |
getDirectParent()
Return the parent UPNPDevice, null if the device is an UPNPRootDevice |
java.lang.String |
getFriendlyName()
|
java.lang.String |
getManufacturer()
|
java.net.URL |
getManufacturerURL()
|
java.lang.String |
getModelDescription()
|
java.lang.String |
getModelName()
|
java.lang.String |
getModelNumber()
|
java.lang.String |
getModelURL()
|
java.net.URL |
getPresentationURL()
Presentation URL |
java.lang.String |
getSerialNumber()
|
UPNPService |
getService(java.lang.String serviceURI)
Looks for a UPNP device service definition object for the given service URI (Type) |
UPNPService |
getServiceByID(java.lang.String serviceID)
Looks for a UPNP device service definition object for the given service ID |
java.util.List |
getServices()
Looks for all UPNP device service definitions objects |
java.util.List |
getServices(java.lang.String serviceURI)
Looks for the all the UPNP device service definition object for the current UPNP device object. |
java.util.List |
getTopLevelChildDevices()
Generates a list of all the child ( only top level ) UPNPDevice objects for this device. |
java.lang.String |
getUDN()
|
long |
getUPC()
|
java.lang.String |
getUSN()
|
boolean |
isRootDevice()
|
java.lang.String |
toString()
The toString return the device type |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UPNPDevice()
Method Detail |
public java.net.URL getManufacturerURL()
public java.net.URL getPresentationURL()
public java.lang.String getModelDescription()
public java.lang.String getModelName()
public java.lang.String getModelNumber()
public java.lang.String getModelURL()
public java.lang.String getSerialNumber()
public java.lang.String getUDN()
public java.lang.String getUSN()
public long getUPC()
public java.lang.String getDeviceType()
public java.lang.String getFriendlyName()
public java.lang.String getManufacturer()
public boolean isRootDevice()
public java.util.List getDeviceIcons()
public java.util.List getChildDevices()
public java.util.List getTopLevelChildDevices()
public UPNPDevice getDirectParent()
public UPNPDevice getChildDevice(java.lang.String deviceURI)
deviceURI
- the device URI to search
public java.util.List getServices()
public UPNPService getService(java.lang.String serviceURI)
serviceURI
- the URI of the service
public UPNPService getServiceByID(java.lang.String serviceID)
public java.util.List getServices(java.lang.String serviceURI)
serviceURI
- the URI of the service
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |