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.binding.xml
Class UDA10DeviceDescriptorBinderImpl

    java.lang.Object
      org.teleal.cling.binding.xml.UDA10DeviceDescriptorBinderImpl

All Implemented Interfaces:
  DeviceDescriptorBinder

Direct Known Subclasses:
  UDA10DeviceDescriptorBinderSAXImpl

    public class UDA10DeviceDescriptorBinderImpl

extends Object
implements DeviceDescriptorBinder

Implementation based on DOM.

Author:
  Christian Bauer

Field Summary
`protected DeviceDOMParser` | `parser`

Constructor Summary
`UDA10DeviceDescriptorBinderImpl()`

Method Summary
`
`<D extends Device> D`
` | `describe(D undescribedDevice, String descriptorXml)`
`String` | `generate(Device deviceModel)`
`DeviceDOMParser` | `getParser()`
`void` | `hydrateDevice(MutableDeviceDescriptor descriptor, Node deviceNode)`
`void` | `hydrateDeviceList(MutableDeviceDescriptor descriptor, Node deviceListNode)`
`void` | `hydrateIconList(MutableDeviceDescriptor descriptor, Node iconListNode)`
`protected void` | `hydrateRoot(MutableDeviceDescriptor descriptor, Element rootElement)`
`void` | `hydrateServiceList(MutableDeviceDescriptor descriptor, Node serviceListNode)`
`void` | `hydrateSpecVersion(MutableDeviceDescriptor descriptor, Node specVersionNode)`

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

Field Detail

### parser

    protected final DeviceDOMParser parser

Constructor Detail

### UDA10DeviceDescriptorBinderImpl

    public UDA10DeviceDescriptorBinderImpl()

Method Detail

### getParser

    public DeviceDOMParser getParser()

### describe

    public <D extends Device> D describe(D undescribedDevice,
                                         String descriptorXml)
                              throws DescriptorBindingException,
                                     ValidationException

  Specified by:
    `describe` in interface `DeviceDescriptorBinder`
  Throws:
    `DescriptorBindingException`
    `ValidationException`

### hydrateRoot

    protected void hydrateRoot(MutableDeviceDescriptor descriptor,
                               Element rootElement)
                        throws DescriptorBindingException

  Throws:
    `DescriptorBindingException`

### hydrateSpecVersion

    public void hydrateSpecVersion(MutableDeviceDescriptor descriptor,
                                   Node specVersionNode)
                            throws DescriptorBindingException

  Throws:
    `DescriptorBindingException`

### hydrateDevice

    public void hydrateDevice(MutableDeviceDescriptor descriptor,
                              Node deviceNode)
                       throws DescriptorBindingException

  Throws:
    `DescriptorBindingException`

### hydrateIconList

    public void hydrateIconList(MutableDeviceDescriptor descriptor,
                                Node iconListNode)
                         throws DescriptorBindingException

  Throws:
    `DescriptorBindingException`

### hydrateServiceList

    public void hydrateServiceList(MutableDeviceDescriptor descriptor,
                                   Node serviceListNode)
                            throws DescriptorBindingException

  Throws:
    `DescriptorBindingException`

### hydrateDeviceList

    public void hydrateDeviceList(MutableDeviceDescriptor descriptor,
                                  Node deviceListNode)
                           throws DescriptorBindingException

  Throws:
    `DescriptorBindingException`

### generate

    public String generate(Device deviceModel)
                    throws DescriptorBindingException

  Specified by:
    `generate` in interface `DeviceDescriptorBinder`
  Throws:
    `DescriptorBindingException`

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.