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()`
`static Constructor<LocalDevice>` | `getConstructor()`
`URI` | `getDescriptorURI()`
`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, getDetails, getDeviceService, getDeviceServices, getDeviceServices, getDisplayString, getEmbeddedDevices, getFirstDeviceService, getFirstIcon, getIcons, getIdentity, getLocalResource, getLocalURIPrefix, getParentDevice, getPhase, getResources, getServiceTypes, 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>`

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.