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 UDA10ServiceDescriptorBinderImpl

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

All Implemented Interfaces:
  ServiceDescriptorBinder

    public class UDA10ServiceDescriptorBinderImpl

extends Object
implements ServiceDescriptorBinder

Implementation based on DOM.

Author:
  Christian Bauer

Field Summary
`protected ServiceDOMParser` | `parser`

Constructor Summary
`UDA10ServiceDescriptorBinderImpl()`

Method Summary
`String` | `generate(Service serviceModel)`
`ServiceDOMParser` | `getParser()`
`void` | `hydrateAction(MutableAction action, Node actionNode)`
`void` | `hydrateActionArgument(MutableActionArgument actionArgument, Node actionArgumentNode)`
`void` | `hydrateActionList(MutableServiceDescriptor descriptor, Node actionListNode)`
`protected void` | `hydrateRoot(MutableServiceDescriptor descriptor, Element rootElement)`
`void` | `hydrateServiceStateTableList(MutableServiceDescriptor descriptor, Node serviceStateTableNode)`
`void` | `hydrateSpecVersion(MutableServiceDescriptor descriptor, Node specVersionNode)`
`void` | `hydrateStateVariable(MutableStateVariable stateVariable, Element stateVariableElement)`
`
`<S extends Service> S`
` | `read(Class<S> serviceClass, String descriptorXml)`

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

Field Detail

### parser

    protected final ServiceDOMParser parser

Constructor Detail

### UDA10ServiceDescriptorBinderImpl

    public UDA10ServiceDescriptorBinderImpl()

Method Detail

### getParser

    public ServiceDOMParser getParser()

### read

    public <S extends Service> S read(Class<S> serviceClass,
                                      String descriptorXml)
                           throws DescriptorBindingException,
                                  ValidationException

  Specified by:
    `read` in interface `ServiceDescriptorBinder`
  Throws:
    `DescriptorBindingException`
    `ValidationException`

### hydrateRoot

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

  Throws:
    `DescriptorBindingException`

### hydrateSpecVersion

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

  Throws:
    `DescriptorBindingException`

### hydrateActionList

    public void hydrateActionList(MutableServiceDescriptor descriptor,
                                  Node actionListNode)
                           throws DescriptorBindingException

  Throws:
    `DescriptorBindingException`

### hydrateAction

    public void hydrateAction(MutableAction action,
                              Node actionNode)

### hydrateActionArgument

    public void hydrateActionArgument(MutableActionArgument actionArgument,
                                      Node actionArgumentNode)

### hydrateServiceStateTableList

    public void hydrateServiceStateTableList(MutableServiceDescriptor descriptor,
                                             Node serviceStateTableNode)

### hydrateStateVariable

    public void hydrateStateVariable(MutableStateVariable stateVariable,
                                     Element stateVariableElement)

### generate

    public String generate(Service serviceModel)
                    throws DescriptorBindingException

  Specified by:
    `generate` in interface `ServiceDescriptorBinder`
  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.