01: /*
02: * SOAPAddressImpl.java
03: *
04: * Created on September 27, 2006, 11:57 AM
05: *
06: * To change this template, choose Tools | Template Manager
07: * and open the template in the editor.
08: */
09:
10: package org.netbeans.modules.e2e.wsdl.extensions.soap;
11:
12: import javax.xml.namespace.QName;
13: import org.netbeans.modules.e2e.api.wsdl.extensions.soap.SOAPAddress;
14:
15: /**
16: *
17: * @author Michal Skvor
18: */
19: public class SOAPAddressImpl implements SOAPAddress {
20:
21: private String locationURI;
22: private QName type = SOAPConstants.ADDRESS;
23:
24: /** Creates a new instance of SOAPAddressImpl */
25: public SOAPAddressImpl(String locationURI) {
26: this .locationURI = locationURI;
27: }
28:
29: public void setLocationURI(String locationURI) {
30: this .locationURI = locationURI;
31: }
32:
33: public String getLocationURI() {
34: return locationURI;
35: }
36:
37: public void setElementType(QName type) {
38: this .type = type;
39: }
40:
41: public QName getElementType() {
42: return type;
43: }
44:
45: }
|