1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.fourthline.cling.binding.xml;
17
18 import org.fourthline.cling.model.ValidationException;
19 import org.fourthline.cling.model.meta.Service;
20 import org.w3c.dom.Document;
21
22
23
24
25
26
27 public interface ServiceDescriptorBinder {
28
29 public <T extends Service> T describe(T undescribedService, String descriptorXml)
30 throws DescriptorBindingException, ValidationException;
31
32 public <T extends Service> T describe(T undescribedService, Document dom)
33 throws DescriptorBindingException, ValidationException;
34
35 public String generate(Service service) throws DescriptorBindingException;
36
37 public Document buildDOM(Service service) throws DescriptorBindingException;
38 }