com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService Java Examples
The following examples show how to use
com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService.
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: RuntimeWSDLParser.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private void parseService(XMLStreamReader reader) { service_nsdecl.putAll(wsdldef_nsdecl); readNSDecl(service_nsdecl,reader); String serviceName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLService service = new WSDLServiceImpl(reader,wsdlDoc,new QName(targetNamespace, serviceName)); extensionFacade.serviceAttributes(service, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PORT.equals(name)) { parsePort(reader, service); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) { XMLStreamReaderUtil.next(reader); } } else { extensionFacade.serviceElements(service, reader); } } wsdlDoc.addService(service); service_nsdecl = new HashMap<String, String>(); }
Example #2
Source File: RuntimeWSDLParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private void parseService(XMLStreamReader reader) { service_nsdecl.putAll(wsdldef_nsdecl); readNSDecl(service_nsdecl,reader); String serviceName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLService service = new WSDLServiceImpl(reader,wsdlDoc,new QName(targetNamespace, serviceName)); extensionFacade.serviceAttributes(service, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PORT.equals(name)) { parsePort(reader, service); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) { XMLStreamReaderUtil.next(reader); } } else { extensionFacade.serviceElements(service, reader); } } wsdlDoc.addService(service); service_nsdecl = new HashMap<String, String>(); }
Example #3
Source File: RuntimeWSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private void parseService(XMLStreamReader reader) { service_nsdecl.putAll(wsdldef_nsdecl); readNSDecl(service_nsdecl,reader); String serviceName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLService service = new WSDLServiceImpl(reader,wsdlDoc,new QName(targetNamespace, serviceName)); extensionFacade.serviceAttributes(service, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PORT.equals(name)) { parsePort(reader, service); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) { XMLStreamReaderUtil.next(reader); } } else { extensionFacade.serviceElements(service, reader); } } wsdlDoc.addService(service); service_nsdecl = new HashMap<String, String>(); }
Example #4
Source File: RuntimeWSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private void parseService(XMLStreamReader reader) { service_nsdecl.putAll(wsdldef_nsdecl); readNSDecl(service_nsdecl,reader); String serviceName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLService service = new WSDLServiceImpl(reader,wsdlDoc,new QName(targetNamespace, serviceName)); extensionFacade.serviceAttributes(service, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PORT.equals(name)) { parsePort(reader, service); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) { XMLStreamReaderUtil.next(reader); } } else { extensionFacade.serviceElements(service, reader); } } wsdlDoc.addService(service); service_nsdecl = new HashMap<String, String>(); }
Example #5
Source File: RuntimeWSDLParser.java From hottub with GNU General Public License v2.0 | 6 votes |
private void parseService(XMLStreamReader reader) { service_nsdecl.putAll(wsdldef_nsdecl); readNSDecl(service_nsdecl,reader); String serviceName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLService service = new WSDLServiceImpl(reader,wsdlDoc,new QName(targetNamespace, serviceName)); extensionFacade.serviceAttributes(service, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PORT.equals(name)) { parsePort(reader, service); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) { XMLStreamReaderUtil.next(reader); } } else { extensionFacade.serviceElements(service, reader); } } wsdlDoc.addService(service); service_nsdecl = new HashMap<String, String>(); }
Example #6
Source File: RuntimeWSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private void parseService(XMLStreamReader reader) { service_nsdecl.putAll(wsdldef_nsdecl); readNSDecl(service_nsdecl,reader); String serviceName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLService service = new WSDLServiceImpl(reader,wsdlDoc,new QName(targetNamespace, serviceName)); extensionFacade.serviceAttributes(service, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PORT.equals(name)) { parsePort(reader, service); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) { XMLStreamReaderUtil.next(reader); } } else { extensionFacade.serviceElements(service, reader); } } wsdlDoc.addService(service); service_nsdecl = new HashMap<String, String>(); }
Example #7
Source File: RuntimeWSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private void parseService(XMLStreamReader reader) { service_nsdecl.putAll(wsdldef_nsdecl); readNSDecl(service_nsdecl,reader); String serviceName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLService service = new WSDLServiceImpl(reader,wsdlDoc,new QName(targetNamespace, serviceName)); extensionFacade.serviceAttributes(service, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PORT.equals(name)) { parsePort(reader, service); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) { XMLStreamReaderUtil.next(reader); } } else { extensionFacade.serviceElements(service, reader); } } wsdlDoc.addService(service); service_nsdecl = new HashMap<String, String>(); }
Example #8
Source File: RuntimeWSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
private void parseService(XMLStreamReader reader) { service_nsdecl.putAll(wsdldef_nsdecl); readNSDecl(service_nsdecl,reader); String serviceName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLService service = new WSDLServiceImpl(reader,wsdlDoc,new QName(targetNamespace, serviceName)); extensionFacade.serviceAttributes(service, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PORT.equals(name)) { parsePort(reader, service); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) { XMLStreamReaderUtil.next(reader); } } else { extensionFacade.serviceElements(service, reader); } } wsdlDoc.addService(service); service_nsdecl = new HashMap<String, String>(); }
Example #9
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 #10
Source File: WSDLModelImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #11
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 #12
Source File: WSDLModelImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #13
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 #14
Source File: WSDLModelImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #15
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 #16
Source File: WSDLModelImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #17
Source File: WSDLModelImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #18
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 #19
Source File: WSDLModelImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #20
Source File: WSDLModelImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #21
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 #22
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 #23
Source File: WSDLModelImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #24
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 #25
Source File: WSDLParserExtension.java From hottub with GNU General Public License v2.0 | 4 votes |
public boolean serviceElements(EditableWSDLService service, XMLStreamReader reader) { return false; }
Example #26
Source File: WSDLModelImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public @NotNull Map<QName, EditableWSDLService> getServices(){ return services; }
Example #27
Source File: WSDLModelImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public EditableWSDLService getService(QName name){ return services.get(name); }
Example #28
Source File: WSDLPortImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public EditableWSDLService getOwner() { return owner; }
Example #29
Source File: WSDLPortImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public EditableWSDLService getOwner() { return owner; }
Example #30
Source File: WSDLPortImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public WSDLPortImpl(XMLStreamReader xsr, EditableWSDLService owner, QName name, QName binding) { super(xsr); this.owner = owner; this.name = name; this.bindingName = binding; }