Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.model.meta
Class LocalDevice

    java.lang.Object
      org.teleal.cling.model.meta.Device<DeviceIdentity,LocalDevice,LocalService>
          org.teleal.cling.model.meta.LocalDevice

All Implemented Interfaces:
  Validatable

    public class LocalDevice

extends Device<DeviceIdentity,LocalDevice,LocalService>

Author:
  Christian Bauer

Constructor Summary
`LocalDevice(DeviceIdentity identity)`
`LocalDevice(DeviceIdentity identity, DeviceType type, DeviceDetails details, Icon[] icons, DeviceService<LocalService>[] deviceServices)`
`LocalDevice(DeviceIdentity identity, DeviceType type, DeviceDetails details, Icon[] icons, DeviceService<LocalService>[] deviceServices, LocalDevice[] embeddedDevices)`
`LocalDevice(DeviceIdentity identity, UDAVersion version, DeviceType type, DeviceDetails details, Icon[] icons, DeviceService<LocalService>[] deviceServices, LocalDevice[] embeddedDevices)`

Method Summary
`protected Resource[]` | `discoverResources()`
`LocalDevice` | `findDevice(UDN udn)`
`LocalDevice[]` | `findDevices(DeviceType deviceType)`
`LocalDevice[]` | `findDevices(ServiceType serviceType)`
`DeviceService<LocalService>[]` | `findDeviceServices()`
`DeviceService<LocalService>[]` | `findDeviceServices(ServiceType serviceType)`
`LocalDevice[]` | `findEmbeddedDevices()`
`static Constructor<LocalDevice>` | `getConstructor()`
`URI` | `getDescriptorURI()`
`LocalDevice` | `getRoot()`
`LocalDevice` | `newInstance(UDN udn, UDAVersion version, DeviceType type, DeviceDetails details, Icon[] icons, DeviceService<LocalService>[] deviceServices, List<LocalDevice> embeddedDevices)`
`List<ValidationError>` | `validate()`

Methods inherited from class org.teleal.cling.model.meta.Device
`equals, find, find, find, findDeviceService, findDeviceServices, findEmbeddedDevices, findFirstDeviceService, findServiceTypes, getDetails, getDeviceServices, getDisplayString, getEmbeddedDevices, getFirstIcon, getIcons, getIdentity, getLocalResource, getLocalURIPrefix, getParentDevice, getResources, getType, getVersion, hasDeviceServices, hasEmbeddedDevices, hashCode, hasIcons, isRoot, prefixLocalURI, toString`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### LocalDevice

    public LocalDevice(DeviceIdentity identity)
                throws ValidationException

Throws:
  `ValidationException`

### LocalDevice

    public LocalDevice(DeviceIdentity identity,
                       DeviceType type,
                       DeviceDetails details,
                       Icon[] icons,
                       DeviceService<LocalService>[] deviceServices)
                throws ValidationException

Throws:
  `ValidationException`

### LocalDevice

    public LocalDevice(DeviceIdentity identity,
                       DeviceType type,
                       DeviceDetails details,
                       Icon[] icons,
                       DeviceService<LocalService>[] deviceServices,
                       LocalDevice[] embeddedDevices)
                throws ValidationException

Throws:
  `ValidationException`

### LocalDevice

    public LocalDevice(DeviceIdentity identity,
                       UDAVersion version,
                       DeviceType type,
                       DeviceDetails details,
                       Icon[] icons,
                       DeviceService<LocalService>[] deviceServices,
                       LocalDevice[] embeddedDevices)
                throws ValidationException

Throws:
  `ValidationException`

Method Detail

### getConstructor

    public static Constructor<LocalDevice> getConstructor()

### getDescriptorURI

    public URI getDescriptorURI()

### newInstance

    public LocalDevice newInstance(UDN udn,
                                   UDAVersion version,
                                   DeviceType type,
                                   DeviceDetails details,
                                   Icon[] icons,
                                   DeviceService<LocalService>[] deviceServices,
                                   List<LocalDevice> embeddedDevices)
                            throws ValidationException

  Specified by:
    `newInstance` in class `Device<DeviceIdentity,LocalDevice,LocalService>`
  Throws:
    `ValidationException`

### validate

    public List<ValidationError> validate()

  Specified by:
    `validate` in interface `Validatable`
  Overrides:
    `validate` in class `Device<DeviceIdentity,LocalDevice,LocalService>`

### discoverResources

    protected Resource[] discoverResources()

  Specified by:
    `discoverResources` in class `Device<DeviceIdentity,LocalDevice,LocalService>`

### getRoot

    public LocalDevice getRoot()

  Specified by:
    `getRoot` in class `Device<DeviceIdentity,LocalDevice,LocalService>`

### findEmbeddedDevices

    public LocalDevice[] findEmbeddedDevices()

  Specified by:
    `findEmbeddedDevices` in class `Device<DeviceIdentity,LocalDevice,LocalService>`

### findDevice

    public LocalDevice findDevice(UDN udn)

  Specified by:
    `findDevice` in class `Device<DeviceIdentity,LocalDevice,LocalService>`

### findDevices

    public LocalDevice[] findDevices(DeviceType deviceType)

  Specified by:
    `findDevices` in class `Device<DeviceIdentity,LocalDevice,LocalService>`

### findDevices

    public LocalDevice[] findDevices(ServiceType serviceType)

  Specified by:
    `findDevices` in class `Device<DeviceIdentity,LocalDevice,LocalService>`

### findDeviceServices

    public DeviceService<LocalService>[] findDeviceServices()

  Specified by:
    `findDeviceServices` in class `Device<DeviceIdentity,LocalDevice,LocalService>`

### findDeviceServices

    public DeviceService<LocalService>[] findDeviceServices(ServiceType serviceType)

  Specified by:
    `findDeviceServices` in class `Device<DeviceIdentity,LocalDevice,LocalService>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.