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.Namespace;
19 import org.fourthline.cling.model.ValidationException;
20 import org.fourthline.cling.model.meta.Device;
21 import org.fourthline.cling.model.profile.RemoteClientInfo;
22 import org.w3c.dom.Document;
23
24
25
26
27
28
29 public interface DeviceDescriptorBinder {
30
31 public <T extends Device> T describe(T undescribedDevice, String descriptorXml)
32 throws DescriptorBindingException, ValidationException;
33
34 public <T extends Device> T describe(T undescribedDevice, Document dom)
35 throws DescriptorBindingException, ValidationException;
36
37 public String generate(Device device, RemoteClientInfo info, Namespace namespace) throws DescriptorBindingException;
38
39 public Document buildDOM(Device device, RemoteClientInfo info, Namespace namespace) throws DescriptorBindingException;
40
41 }