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