Java Code Examples for com.sun.tools.internal.ws.processor.model.Port#getOperations()
The following examples show how to use
com.sun.tools.internal.ws.processor.model.Port#getOperations() .
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: AnnotationProcessorContext.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static boolean isEncoded(Model model) { if (model == null) return false; for (Service service : model.getServices()) { for (Port port : service.getPorts()) { for (Operation operation : port.getOperations()) { if (operation.getUse() != null && operation.getUse().equals(SOAPUse.LITERAL)) return false; } } } return true; }
Example 2
Source File: AnnotationProcessorContext.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static boolean isEncoded(Model model) { if (model == null) return false; for (Service service : model.getServices()) { for (Port port : service.getPorts()) { for (Operation operation : port.getOperations()) { if (operation.getUse() != null && operation.getUse().equals(SOAPUse.LITERAL)) return false; } } } return true; }
Example 3
Source File: WSDLModeler.java From hottub with GNU General Public License v2.0 | 5 votes |
protected void createJavaInterfaceForPort(Port port, boolean isProvider) { if (isProvider) { createJavaInterfaceForProviderPort(port); return; } String interfaceName = getJavaNameOfSEI(port); if (isConflictingPortClassName(interfaceName)) { interfaceName += "_PortType"; } JavaInterface intf = new JavaInterface(interfaceName); for (Operation operation : port.getOperations()) { createJavaMethodForOperation( port, operation, intf); for (JavaParameter jParam : operation.getJavaMethod().getParametersList()) { Parameter param = jParam.getParameter(); if (param.getCustomName() != null) { jParam.setName(param.getCustomName()); } } } port.setJavaInterface(intf); }
Example 4
Source File: AnnotationProcessorContext.java From hottub with GNU General Public License v2.0 | 5 votes |
public static boolean isEncoded(Model model) { if (model == null) return false; for (Service service : model.getServices()) { for (Port port : service.getPorts()) { for (Operation operation : port.getOperations()) { if (operation.getUse() != null && operation.getUse().equals(SOAPUse.LITERAL)) return false; } } } return true; }
Example 5
Source File: WSDLModeler.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
protected void createJavaInterfaceForPort(Port port, boolean isProvider) { if (isProvider) { createJavaInterfaceForProviderPort(port); return; } String interfaceName = getJavaNameOfSEI(port); if (isConflictingPortClassName(interfaceName)) { interfaceName += "_PortType"; } JavaInterface intf = new JavaInterface(interfaceName); for (Operation operation : port.getOperations()) { createJavaMethodForOperation( port, operation, intf); for (JavaParameter jParam : operation.getJavaMethod().getParametersList()) { Parameter param = jParam.getParameter(); if (param.getCustomName() != null) { jParam.setName(param.getCustomName()); } } } port.setJavaInterface(intf); }
Example 6
Source File: WSDLModeler.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
protected void createJavaInterfaceForPort(Port port, boolean isProvider) { if (isProvider) { createJavaInterfaceForProviderPort(port); return; } String interfaceName = getJavaNameOfSEI(port); if (isConflictingPortClassName(interfaceName)) { interfaceName += "_PortType"; } JavaInterface intf = new JavaInterface(interfaceName); for (Operation operation : port.getOperations()) { createJavaMethodForOperation( port, operation, intf); for (JavaParameter jParam : operation.getJavaMethod().getParametersList()) { Parameter param = jParam.getParameter(); if (param.getCustomName() != null) { jParam.setName(param.getCustomName()); } } } port.setJavaInterface(intf); }
Example 7
Source File: AnnotationProcessorContext.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static boolean isEncoded(Model model) { if (model == null) return false; for (Service service : model.getServices()) { for (Port port : service.getPorts()) { for (Operation operation : port.getOperations()) { if (operation.getUse() != null && operation.getUse().equals(SOAPUse.LITERAL)) return false; } } } return true; }
Example 8
Source File: WSDLModeler.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
protected void createJavaInterfaceForPort(Port port, boolean isProvider) { if (isProvider) { createJavaInterfaceForProviderPort(port); return; } String interfaceName = getJavaNameOfSEI(port); if (isConflictingPortClassName(interfaceName)) { interfaceName += "_PortType"; } JavaInterface intf = new JavaInterface(interfaceName); for (Operation operation : port.getOperations()) { createJavaMethodForOperation( port, operation, intf); for (JavaParameter jParam : operation.getJavaMethod().getParametersList()) { Parameter param = jParam.getParameter(); if (param.getCustomName() != null) { jParam.setName(param.getCustomName()); } } } port.setJavaInterface(intf); }
Example 9
Source File: AnnotationProcessorContext.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static boolean isEncoded(Model model) { if (model == null) return false; for (Service service : model.getServices()) { for (Port port : service.getPorts()) { for (Operation operation : port.getOperations()) { if (operation.getUse() != null && operation.getUse().equals(SOAPUse.LITERAL)) return false; } } } return true; }
Example 10
Source File: WSDLModeler.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
protected void createJavaInterfaceForPort(Port port, boolean isProvider) { if (isProvider) { createJavaInterfaceForProviderPort(port); return; } String interfaceName = getJavaNameOfSEI(port); if (isConflictingPortClassName(interfaceName)) { interfaceName += "_PortType"; } JavaInterface intf = new JavaInterface(interfaceName); for (Operation operation : port.getOperations()) { createJavaMethodForOperation( port, operation, intf); for (JavaParameter jParam : operation.getJavaMethod().getParametersList()) { Parameter param = jParam.getParameter(); if (param.getCustomName() != null) { jParam.setName(param.getCustomName()); } } } port.setJavaInterface(intf); }
Example 11
Source File: WSDLModeler.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
protected void createJavaInterfaceForPort(Port port, boolean isProvider) { if (isProvider) { createJavaInterfaceForProviderPort(port); return; } String interfaceName = getJavaNameOfSEI(port); if (isConflictingPortClassName(interfaceName)) { interfaceName += "_PortType"; } JavaInterface intf = new JavaInterface(interfaceName); for (Operation operation : port.getOperations()) { createJavaMethodForOperation( port, operation, intf); for (JavaParameter jParam : operation.getJavaMethod().getParametersList()) { Parameter param = jParam.getParameter(); if (param.getCustomName() != null) { jParam.setName(param.getCustomName()); } } } port.setJavaInterface(intf); }
Example 12
Source File: AnnotationProcessorContext.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public static boolean isEncoded(Model model) { if (model == null) return false; for (Service service : model.getServices()) { for (Port port : service.getPorts()) { for (Operation operation : port.getOperations()) { if (operation.getUse() != null && operation.getUse().equals(SOAPUse.LITERAL)) return false; } } } return true; }
Example 13
Source File: WSDLModeler.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
protected void createJavaInterfaceForPort(Port port, boolean isProvider) { if (isProvider) { createJavaInterfaceForProviderPort(port); return; } String interfaceName = getJavaNameOfSEI(port); if (isConflictingPortClassName(interfaceName)) { interfaceName += "_PortType"; } JavaInterface intf = new JavaInterface(interfaceName); for (Operation operation : port.getOperations()) { createJavaMethodForOperation( port, operation, intf); for (JavaParameter jParam : operation.getJavaMethod().getParametersList()) { Parameter param = jParam.getParameter(); if (param.getCustomName() != null) { jParam.setName(param.getCustomName()); } } } port.setJavaInterface(intf); }
Example 14
Source File: AnnotationProcessorContext.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public static boolean isEncoded(Model model) { if (model == null) return false; for (Service service : model.getServices()) { for (Port port : service.getPorts()) { for (Operation operation : port.getOperations()) { if (operation.getUse() != null && operation.getUse().equals(SOAPUse.LITERAL)) return false; } } } return true; }
Example 15
Source File: GeneratorBase.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
@Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } }
Example 16
Source File: GeneratorBase.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
@Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } }
Example 17
Source File: GeneratorBase.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
@Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } }
Example 18
Source File: GeneratorBase.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
@Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } }
Example 19
Source File: GeneratorBase.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
@Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } }
Example 20
Source File: GeneratorBase.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
@Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } }