0
|
1 /*
|
|
2 * (c) Copyright IBM Corp 2001, 2005
|
|
3 */
|
|
4
|
|
5 package javax.wadls;
|
|
6
|
|
7 import org.w3c.dom.*;
|
|
8
|
|
9
|
|
10
|
|
11 /**
|
|
12 * This interface represents an import, and may contain a reference
|
|
13 * to the imported definition.
|
|
14 *
|
|
15 * @author Matthew J. Duftler (duftler@us.ibm.com)
|
|
16 */
|
|
17 public interface Include extends java.io.Serializable
|
|
18 {
|
|
19 /**
|
|
20 * Set the namespace URI of this import.
|
|
21 *
|
|
22 * @param namespaceURI the desired namespace URI
|
|
23 */
|
|
24 public void setNamespaceURI(String namespaceURI);
|
|
25
|
|
26 /**
|
|
27 * Get the namespace URI of this import.
|
|
28 */
|
|
29 public String getNamespaceURI();
|
|
30
|
|
31 /**
|
|
32 * Set the location URI of this import.
|
|
33 *
|
|
34 * @param locationURI the desired location URI
|
|
35 */
|
|
36 public void setLocationURI(String locationURI);
|
|
37
|
|
38 /**
|
|
39 * Get the location URI of this import.
|
|
40 */
|
|
41 public String getLocationURI();
|
|
42
|
|
43 /**
|
|
44 * This property can be used to hang a referenced Definition,
|
|
45 * and the top-level Definition (i.e. the one with the <import>)
|
|
46 * will use this Definition when resolving referenced WSDL parts.
|
|
47 * This would need to be made into a generic reference to handle
|
|
48 * other types of referenced documents.
|
|
49 */
|
|
50 public void setApplication(Application app);
|
|
51
|
|
52 /**
|
|
53 * This property can be used to hang a referenced Definition,
|
|
54 * and the top-level Definition (i.e. the one with the <import>)
|
|
55 * will use this Definition when resolving referenced WSDL parts.
|
|
56 * This would need to be made into a generic reference to handle
|
|
57 * other types of referenced documents.
|
|
58 */
|
|
59 public Application getApplication();
|
|
60
|
|
61 /**
|
|
62 * Set the documentation element for this document. This dependency
|
|
63 * on org.w3c.dom.Element should eventually be removed when a more
|
|
64 * appropriate way of representing this information is employed.
|
|
65 *
|
|
66 * @param docEl the documentation element
|
|
67 */
|
|
68 public void setDocumentationElement(Element docEl);
|
|
69
|
|
70 /**
|
|
71 * Get the documentation element. This dependency on org.w3c.dom.Element
|
|
72 * should eventually be removed when a more appropriate way of
|
|
73 * representing this information is employed.
|
|
74 *
|
|
75 * @return the documentation element
|
|
76 */
|
|
77 public Element getDocumentationElement();
|
|
78 } |