01: /*
02: * BEGIN_HEADER - DO NOT EDIT
03: *
04: * The contents of this file are subject to the terms
05: * of the Common Development and Distribution License
06: * (the "License"). You may not use this file except
07: * in compliance with the License.
08: *
09: * You can obtain a copy of the license at
10: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
11: * See the License for the specific language governing
12: * permissions and limitations under the License.
13: *
14: * When distributing Covered Code, include this CDDL
15: * HEADER in each file and include the License file at
16: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
17: * If applicable add the following below this CDDL HEADER,
18: * with the fields enclosed by brackets "[]" replaced with
19: * your own identifying information: Portions Copyright
20: * [year] [name of copyright owner]
21: */
22:
23: /*
24: * @(#)Endpoint.java
25: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
26: *
27: * END_HEADER - DO NOT EDIT
28: */
29: package com.sun.jbi.wsdl2;
30:
31: import org.w3c.dom.DocumentFragment;
32:
33: /**
34: * API for WSDL 2.0 Endpoint component.
35: *
36: * @author ApiGen AX.00
37: */
38: public interface Endpoint extends ExtensibleDocumentedComponent {
39: /**
40: * Get name of this endpoint component.
41: *
42: * @return Name of this endpoint component
43: */
44: String getName();
45:
46: /**
47: * Set name of this endpoint component.
48: *
49: * @param theName Name of this endpoint component
50: */
51: void setName(String theName);
52:
53: /**
54: * Get binding for this endpoint.
55: *
56: * @return Binding for this endpoint
57: */
58: Binding getBinding();
59:
60: /**
61: * Set binding for this endpoint.
62: *
63: * @param theBinding Binding for this endpoint
64: */
65: void setBinding(Binding theBinding);
66:
67: /**
68: * Return this WSDL endpoint as an XML string.
69: *
70: * @return This endpoint, serialized as an XML string.
71: */
72: String toXmlString();
73:
74: /**
75: * Return this endpoint as a DOM document fragment. The DOM subtree is a
76: * copy; altering it will not affect this endpoint.
77: *
78: * @return This endpoint, as a DOM document fragment.
79: */
80: DocumentFragment toXmlDocumentFragment();
81:
82: }
83:
84: // End-of-file: Endpoint.java
|