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

TODO: Move the validation rules into the model

Field Summary
`protected ServiceDOMParser` | `parser`

Constructor Summary
`UDA10ServiceDescriptorBinderImpl()`

Method Summary
`String` | `generate(Service serviceModel)`
`ServiceDOMParser` | `getParser()`
`void` | `hydrateAction(MutableAction action, ServiceElement actionElement)`
`void` | `hydrateActionArgument(MutableActionArgument actionArgument, ServiceElement actionArgumentElement)`
`void` | `hydrateActionList(MutableServiceDescriptor descriptor, ServiceElement actionList)`
`protected void` | `hydrateRoot(MutableServiceDescriptor descriptor, ServiceElement rootElement)`
`void` | `hydrateServiceStateTableList(MutableServiceDescriptor descriptor, ServiceElement serviceStateTableElement)`
`void` | `hydrateSpecVersion(MutableServiceDescriptor descriptor, ServiceElement specVersionElement)`
`void` | `hydrateStateVariable(MutableStateVariable stateVariable, ServiceElement 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,
                               ServiceElement rootElement)
                        throws DescriptorBindingException,
                               org.teleal.common.xml.ParserException

  Throws:
    `DescriptorBindingException`
    `org.teleal.common.xml.ParserException`

### hydrateSpecVersion

    public void hydrateSpecVersion(MutableServiceDescriptor descriptor,
                                   ServiceElement specVersionElement)
                            throws DescriptorBindingException,
                                   org.teleal.common.xml.ParserException

  Throws:
    `DescriptorBindingException`
    `org.teleal.common.xml.ParserException`

### hydrateActionList

    public void hydrateActionList(MutableServiceDescriptor descriptor,
                                  ServiceElement actionList)
                           throws DescriptorBindingException

  Throws:
    `DescriptorBindingException`

### hydrateAction

    public void hydrateAction(MutableAction action,
                              ServiceElement actionElement)

### hydrateActionArgument

    public void hydrateActionArgument(MutableActionArgument actionArgument,
                                      ServiceElement actionArgumentElement)

### hydrateServiceStateTableList

    public void hydrateServiceStateTableList(MutableServiceDescriptor descriptor,
                                             ServiceElement serviceStateTableElement)

### hydrateStateVariable

    public void hydrateStateVariable(MutableStateVariable stateVariable,
                                     ServiceElement 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.