com.aelitis.net.upnp.impl.device
Class UPnPDeviceImpl

java.lang.Object
  extended by com.aelitis.net.upnp.impl.device.UPnPDeviceImpl
All Implemented Interfaces:
UPnPDevice

public class UPnPDeviceImpl
extends java.lang.Object
implements UPnPDevice


Constructor Summary
protected UPnPDeviceImpl(UPnPRootDeviceImpl _root_device, java.lang.String indent, SimpleXMLParserDocumentNode device_node)
           
 
Method Summary
 void clearRelativeBaseURL()
           
 java.lang.String getAbsoluteURL(java.lang.String url)
           
 java.lang.String getDeviceType()
           
 java.lang.String getFriendlyName()
           
 UPnPDeviceImage[] getImages()
           
 java.net.InetAddress getLocalAddress()
           
protected  java.lang.String getMandatoryField(SimpleXMLParserDocumentNode node, java.lang.String name)
           
 java.lang.String getManufacturer()
           
 java.lang.String getManufacturerURL()
           
 java.lang.String getModelDescription()
           
 java.lang.String getModelName()
           
 java.lang.String getModelNumber()
           
 java.lang.String getModelURL()
           
protected  java.lang.String getOptionalField(SimpleXMLParserDocumentNode node, java.lang.String name)
           
 java.lang.String getPresentation()
           
 UPnPRootDeviceImpl getRootDevice()
           
 UPnPService[] getServices()
           
 UPnPDevice[] getSubDevices()
           
 UPnPImpl getUPnP()
           
 void restoreRelativeBaseURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UPnPDeviceImpl

protected UPnPDeviceImpl(UPnPRootDeviceImpl _root_device,
                         java.lang.String indent,
                         SimpleXMLParserDocumentNode device_node)
Method Detail

getAbsoluteURL

public java.lang.String getAbsoluteURL(java.lang.String url)

getLocalAddress

public java.net.InetAddress getLocalAddress()

clearRelativeBaseURL

public void clearRelativeBaseURL()

restoreRelativeBaseURL

public void restoreRelativeBaseURL()

getUPnP

public UPnPImpl getUPnP()

getRootDevice

public UPnPRootDeviceImpl getRootDevice()
Specified by:
getRootDevice in interface UPnPDevice

getDeviceType

public java.lang.String getDeviceType()
Specified by:
getDeviceType in interface UPnPDevice

getFriendlyName

public java.lang.String getFriendlyName()
Specified by:
getFriendlyName in interface UPnPDevice

getManufacturer

public java.lang.String getManufacturer()
Specified by:
getManufacturer in interface UPnPDevice

getManufacturerURL

public java.lang.String getManufacturerURL()
Specified by:
getManufacturerURL in interface UPnPDevice

getModelDescription

public java.lang.String getModelDescription()
Specified by:
getModelDescription in interface UPnPDevice

getModelName

public java.lang.String getModelName()
Specified by:
getModelName in interface UPnPDevice

getModelNumber

public java.lang.String getModelNumber()
Specified by:
getModelNumber in interface UPnPDevice

getModelURL

public java.lang.String getModelURL()
Specified by:
getModelURL in interface UPnPDevice

getPresentation

public java.lang.String getPresentation()
Specified by:
getPresentation in interface UPnPDevice

getSubDevices

public UPnPDevice[] getSubDevices()
Specified by:
getSubDevices in interface UPnPDevice

getServices

public UPnPService[] getServices()
Specified by:
getServices in interface UPnPDevice

getImages

public UPnPDeviceImage[] getImages()
Specified by:
getImages in interface UPnPDevice

getOptionalField

protected java.lang.String getOptionalField(SimpleXMLParserDocumentNode node,
                                            java.lang.String name)

getMandatoryField

protected java.lang.String getMandatoryField(SimpleXMLParserDocumentNode node,
                                             java.lang.String name)