org.teleal.cling.binding.xml
Interface ServiceDescriptorBinder

All Known Implementing Classes:
UDA10ServiceDescriptorBinderImpl, UDA10ServiceDescriptorBinderSAXImpl

public interface ServiceDescriptorBinder

Reads and generates service descriptor XML metadata.

Author:
Christian Bauer

Method Summary
 Document buildDOM(Service service)
           
<T extends Service>
T
describe(T undescribedService, Document dom)
           
<T extends Service>
T
describe(T undescribedService, String descriptorXml)
           
 String generate(Service service)
           
 

Method Detail

describe

<T extends Service> T describe(T undescribedService,
                               String descriptorXml)
                           throws DescriptorBindingException,
                                  ValidationException
Throws:
DescriptorBindingException
ValidationException

describe

<T extends Service> T describe(T undescribedService,
                               Document dom)
                           throws DescriptorBindingException,
                                  ValidationException
Throws:
DescriptorBindingException
ValidationException

generate

String generate(Service service)
                throws DescriptorBindingException
Throws:
DescriptorBindingException

buildDOM

Document buildDOM(Service service)
                  throws DescriptorBindingException
Throws:
DescriptorBindingException


Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.