com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPort Java Examples
The following examples show how to use
com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPort.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WSDLServiceImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * gets the first port in this service which matches the portType */ public @Nullable EditableWSDLPort getMatchingPort(QName portTypeName){ for(EditableWSDLPort port : getPorts()){ QName ptName = port.getBinding().getPortTypeName(); assert (ptName != null); if(ptName.equals(portTypeName)) return port; } return null; }
Example #2
Source File: WSDLModelImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #3
Source File: WSDLModelImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #4
Source File: WSDLModelImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #5
Source File: WSDLModelImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #6
Source File: WSDLServiceImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * gets the first port in this service which matches the portType */ public @Nullable EditableWSDLPort getMatchingPort(QName portTypeName){ for(EditableWSDLPort port : getPorts()){ QName ptName = port.getBinding().getPortTypeName(); assert (ptName != null); if(ptName.equals(portTypeName)) return port; } return null; }
Example #7
Source File: WSDLServiceImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * gets the first port in this service which matches the portType */ public @Nullable EditableWSDLPort getMatchingPort(QName portTypeName){ for(EditableWSDLPort port : getPorts()){ QName ptName = port.getBinding().getPortTypeName(); assert (ptName != null); if(ptName.equals(portTypeName)) return port; } return null; }
Example #8
Source File: WSDLServiceImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * gets the first port in this service which matches the portType */ public @Nullable EditableWSDLPort getMatchingPort(QName portTypeName){ for(EditableWSDLPort port : getPorts()){ QName ptName = port.getBinding().getPortTypeName(); assert (ptName != null); if(ptName.equals(portTypeName)) return port; } return null; }
Example #9
Source File: WSDLModelImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #10
Source File: WSDLServiceImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * gets the first port in this service which matches the portType */ public @Nullable EditableWSDLPort getMatchingPort(QName portTypeName){ for(EditableWSDLPort port : getPorts()){ QName ptName = port.getBinding().getPortTypeName(); assert (ptName != null); if(ptName.equals(portTypeName)) return port; } return null; }
Example #11
Source File: WSDLModelImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #12
Source File: WSDLServiceImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * gets the first port in this service which matches the portType */ public @Nullable EditableWSDLPort getMatchingPort(QName portTypeName){ for(EditableWSDLPort port : getPorts()){ QName ptName = port.getBinding().getPortTypeName(); assert (ptName != null); if(ptName.equals(portTypeName)) return port; } return null; }
Example #13
Source File: WSDLServiceImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * gets the first port in this service which matches the portType */ public @Nullable EditableWSDLPort getMatchingPort(QName portTypeName){ for(EditableWSDLPort port : getPorts()){ QName ptName = port.getBinding().getPortTypeName(); assert (ptName != null); if(ptName.equals(portTypeName)) return port; } return null; }
Example #14
Source File: WSDLServiceImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * gets the first port in this service which matches the portType */ public @Nullable EditableWSDLPort getMatchingPort(QName portTypeName){ for(EditableWSDLPort port : getPorts()){ QName ptName = port.getBinding().getPortTypeName(); assert (ptName != null); if(ptName.equals(portTypeName)) return port; } return null; }
Example #15
Source File: WSDLModelImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #16
Source File: WSDLModelImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #17
Source File: WSDLServiceImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public EditableWSDLPort get(QName portName) { return ports.get(portName); }
Example #18
Source File: WSDLParserExtension.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public boolean portElements(EditableWSDLPort port, XMLStreamReader reader) { return false; }
Example #19
Source File: WSDLServiceImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public EditableWSDLPort getFirstPort() { if(ports.isEmpty()) return null; else return ports.values().iterator().next(); }
Example #20
Source File: WSDLServiceImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public EditableWSDLPort get(QName portName) { return ports.get(portName); }
Example #21
Source File: WSDLServiceImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public WSDLServiceImpl(XMLStreamReader xsr, EditableWSDLModel parent, QName name) { super(xsr); this.parent = parent; this.name = name; ports = new LinkedHashMap<QName, EditableWSDLPort>(); }
Example #22
Source File: WSDLParserExtension.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public boolean portElements(EditableWSDLPort port, XMLStreamReader reader) { return false; }
Example #23
Source File: WSDLServiceImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public WSDLServiceImpl(XMLStreamReader xsr, EditableWSDLModel parent, QName name) { super(xsr); this.parent = parent; this.name = name; ports = new LinkedHashMap<QName, EditableWSDLPort>(); }
Example #24
Source File: WSDLParserExtension.java From hottub with GNU General Public License v2.0 | 4 votes |
public boolean portElements(EditableWSDLPort port, XMLStreamReader reader) { return false; }
Example #25
Source File: WSDLParserExtension.java From hottub with GNU General Public License v2.0 | 4 votes |
public void portAttributes(EditableWSDLPort port, XMLStreamReader reader) { // noop }
Example #26
Source File: WSDLServiceImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public void freeze(EditableWSDLModel root) { for (EditableWSDLPort port : ports.values()) { port.freeze(root); } }
Example #27
Source File: WSDLServiceImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public Iterable<EditableWSDLPort> getPorts(){ return ports.values(); }
Example #28
Source File: WSDLServiceImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public EditableWSDLPort getFirstPort() { if(ports.isEmpty()) return null; else return ports.values().iterator().next(); }
Example #29
Source File: WSDLServiceImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public EditableWSDLPort get(QName portName) { return ports.get(portName); }
Example #30
Source File: WSDLServiceImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public WSDLServiceImpl(XMLStreamReader xsr, EditableWSDLModel parent, QName name) { super(xsr); this.parent = parent; this.name = name; ports = new LinkedHashMap<QName, EditableWSDLPort>(); }