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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parser
protected final ServiceDOMParser parser
UDA10ServiceDescriptorBinderImpl
public UDA10ServiceDescriptorBinderImpl()
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
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.