Java Code Examples for com.sun.xml.internal.ws.spi.db.BindingHelper#mangleNameToClassName()
The following examples show how to use
com.sun.xml.internal.ws.spi.db.BindingHelper#mangleNameToClassName() .
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: WSDLModelerBase.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * * @param port * @param wsdlPort */ protected void applyPortMethodCustomization(Port port, com.sun.tools.internal.ws.wsdl.document.Port wsdlPort) { if (isProvider(wsdlPort)) { return; } JAXWSBinding jaxwsBinding = (JAXWSBinding)getExtensionOfType(wsdlPort, JAXWSBinding.class); String portMethodName = (jaxwsBinding != null)?((jaxwsBinding.getMethodName() != null)?jaxwsBinding.getMethodName().getName():null):null; if(portMethodName != null){ port.setPortGetter(portMethodName); }else{ portMethodName = Names.getPortName(port); portMethodName = BindingHelper.mangleNameToClassName(portMethodName); port.setPortGetter("get"+portMethodName); } }
Example 2
Source File: WSDLModelerBase.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * * @param port * @param wsdlPort */ protected void applyPortMethodCustomization(Port port, com.sun.tools.internal.ws.wsdl.document.Port wsdlPort) { if (isProvider(wsdlPort)) { return; } JAXWSBinding jaxwsBinding = (JAXWSBinding)getExtensionOfType(wsdlPort, JAXWSBinding.class); String portMethodName = (jaxwsBinding != null)?((jaxwsBinding.getMethodName() != null)?jaxwsBinding.getMethodName().getName():null):null; if(portMethodName != null){ port.setPortGetter(portMethodName); }else{ portMethodName = Names.getPortName(port); portMethodName = BindingHelper.mangleNameToClassName(portMethodName); port.setPortGetter("get"+portMethodName); } }
Example 3
Source File: WSDLModelerBase.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * * @param port * @param wsdlPort */ protected void applyPortMethodCustomization(Port port, com.sun.tools.internal.ws.wsdl.document.Port wsdlPort) { if (isProvider(wsdlPort)) { return; } JAXWSBinding jaxwsBinding = (JAXWSBinding)getExtensionOfType(wsdlPort, JAXWSBinding.class); String portMethodName = (jaxwsBinding != null)?((jaxwsBinding.getMethodName() != null)?jaxwsBinding.getMethodName().getName():null):null; if(portMethodName != null){ port.setPortGetter(portMethodName); }else{ portMethodName = Names.getPortName(port); portMethodName = BindingHelper.mangleNameToClassName(portMethodName); port.setPortGetter("get"+portMethodName); } }
Example 4
Source File: WSDLModelerBase.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * * @param port * @param wsdlPort */ protected void applyPortMethodCustomization(Port port, com.sun.tools.internal.ws.wsdl.document.Port wsdlPort) { if (isProvider(wsdlPort)) { return; } JAXWSBinding jaxwsBinding = (JAXWSBinding)getExtensionOfType(wsdlPort, JAXWSBinding.class); String portMethodName = (jaxwsBinding != null)?((jaxwsBinding.getMethodName() != null)?jaxwsBinding.getMethodName().getName():null):null; if(portMethodName != null){ port.setPortGetter(portMethodName); }else{ portMethodName = Names.getPortName(port); portMethodName = BindingHelper.mangleNameToClassName(portMethodName); port.setPortGetter("get"+portMethodName); } }
Example 5
Source File: WSDLModelerBase.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * * @param port * @param wsdlPort */ protected void applyPortMethodCustomization(Port port, com.sun.tools.internal.ws.wsdl.document.Port wsdlPort) { if (isProvider(wsdlPort)) { return; } JAXWSBinding jaxwsBinding = (JAXWSBinding)getExtensionOfType(wsdlPort, JAXWSBinding.class); String portMethodName = (jaxwsBinding != null)?((jaxwsBinding.getMethodName() != null)?jaxwsBinding.getMethodName().getName():null):null; if(portMethodName != null){ port.setPortGetter(portMethodName); }else{ portMethodName = Names.getPortName(port); portMethodName = BindingHelper.mangleNameToClassName(portMethodName); port.setPortGetter("get"+portMethodName); } }
Example 6
Source File: WSDLModelerBase.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * * @param port * @param wsdlPort */ protected void applyPortMethodCustomization(Port port, com.sun.tools.internal.ws.wsdl.document.Port wsdlPort) { if (isProvider(wsdlPort)) { return; } JAXWSBinding jaxwsBinding = (JAXWSBinding)getExtensionOfType(wsdlPort, JAXWSBinding.class); String portMethodName = (jaxwsBinding != null)?((jaxwsBinding.getMethodName() != null)?jaxwsBinding.getMethodName().getName():null):null; if(portMethodName != null){ port.setPortGetter(portMethodName); }else{ portMethodName = Names.getPortName(port); portMethodName = BindingHelper.mangleNameToClassName(portMethodName); port.setPortGetter("get"+portMethodName); } }
Example 7
Source File: WSDLModelerBase.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * * @param port * @param wsdlPort */ protected void applyPortMethodCustomization(Port port, com.sun.tools.internal.ws.wsdl.document.Port wsdlPort) { if (isProvider(wsdlPort)) { return; } JAXWSBinding jaxwsBinding = (JAXWSBinding)getExtensionOfType(wsdlPort, JAXWSBinding.class); String portMethodName = (jaxwsBinding != null)?((jaxwsBinding.getMethodName() != null)?jaxwsBinding.getMethodName().getName():null):null; if(portMethodName != null){ port.setPortGetter(portMethodName); }else{ portMethodName = Names.getPortName(port); portMethodName = BindingHelper.mangleNameToClassName(portMethodName); port.setPortGetter("get"+portMethodName); } }
Example 8
Source File: WSDLGenerator.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
protected String mangleName(String name) { return BindingHelper.mangleNameToClassName(name); }
Example 9
Source File: WSDLGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
protected String mangleName(String name) { return BindingHelper.mangleNameToClassName(name); }
Example 10
Source File: WSDLGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
protected String mangleName(String name) { return BindingHelper.mangleNameToClassName(name); }
Example 11
Source File: WSDLGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
protected String mangleName(String name) { return BindingHelper.mangleNameToClassName(name); }
Example 12
Source File: WSDLGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
protected String mangleName(String name) { return BindingHelper.mangleNameToClassName(name); }
Example 13
Source File: WSDLGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
protected String mangleName(String name) { return BindingHelper.mangleNameToClassName(name); }
Example 14
Source File: WSDLGenerator.java From hottub with GNU General Public License v2.0 | 4 votes |
protected String mangleName(String name) { return BindingHelper.mangleNameToClassName(name); }
Example 15
Source File: WSDLModeler.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * @param port * @param suffix * @return the Java ClassName for a port */ protected String getClassName(Port port, String suffix) { String prefix = BindingHelper.mangleNameToClassName((port.getName().getLocalPart())); return options.defaultPackage + "." + prefix + suffix; }
Example 16
Source File: WSDLModeler.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * @param port * @param suffix * @return the Java ClassName for a port */ protected String getClassName(Port port, String suffix) { String prefix = BindingHelper.mangleNameToClassName((port.getName().getLocalPart())); return options.defaultPackage + "." + prefix + suffix; }
Example 17
Source File: WSDLModeler.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * @param port * @param suffix * @return the Java ClassName for a port */ protected String getClassName(Port port, String suffix) { String prefix = BindingHelper.mangleNameToClassName((port.getName().getLocalPart())); return options.defaultPackage + "." + prefix + suffix; }
Example 18
Source File: WSDLModeler.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * @param port * @param suffix * @return the Java ClassName for a port */ protected String getClassName(Port port, String suffix) { String prefix = BindingHelper.mangleNameToClassName((port.getName().getLocalPart())); return options.defaultPackage + "." + prefix + suffix; }
Example 19
Source File: WSDLModeler.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * @param port * @param suffix * @return the Java ClassName for a port */ protected String getClassName(Port port, String suffix) { String prefix = BindingHelper.mangleNameToClassName((port.getName().getLocalPart())); return options.defaultPackage + "." + prefix + suffix; }
Example 20
Source File: WSDLModeler.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * @param port * @param suffix * @return the Java ClassName for a port */ protected String getClassName(Port port, String suffix) { String prefix = BindingHelper.mangleNameToClassName((port.getName().getLocalPart())); return options.defaultPackage + "." + prefix + suffix; }