com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPart Java Examples
The following examples show how to use
com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPart.
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-jdk9 with GNU General Public License v2.0 | 5 votes |
private void parseMessage(XMLStreamReader reader) { String msgName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLMessage msg = new WSDLMessageImpl(reader,new QName(targetNamespace, msgName)); extensionFacade.messageAttributes(msg, reader); int partIndex = 0; while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PART.equals(name)) { String part = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); String desc = null; int index = reader.getAttributeCount(); WSDLDescriptorKind kind = WSDLDescriptorKind.ELEMENT; for (int i = 0; i < index; i++) { QName descName = reader.getAttributeName(i); if (descName.getLocalPart().equals("element")) kind = WSDLDescriptorKind.ELEMENT; else if (descName.getLocalPart().equals("type")) kind = WSDLDescriptorKind.TYPE; if (descName.getLocalPart().equals("element") || descName.getLocalPart().equals("type")) { desc = reader.getAttributeValue(i); break; } } if (desc != null) { EditableWSDLPart wsdlPart = new WSDLPartImpl(reader, part, partIndex, new WSDLPartDescriptorImpl(reader,ParserUtil.getQName(reader, desc), kind)); msg.add(wsdlPart); } if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); } else { extensionFacade.messageElements(msg, reader); } } wsdlDoc.addMessage(msg); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); }
Example #2
Source File: WSDLBoundOperationImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #3
Source File: WSDLBoundOperationImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
@Override public EditableWSDLPart getPart(String partName, Mode mode) { if(mode==Mode.IN){ return inParts.get(partName); }else if(mode==Mode.OUT){ return outParts.get(partName); } return null; }
Example #4
Source File: WSDLBoundOperationImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #5
Source File: WSDLBoundOperationImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
@Override public EditableWSDLPart getPart(String partName, Mode mode) { if(mode==Mode.IN){ return inParts.get(partName); }else if(mode==Mode.OUT){ return outParts.get(partName); } return null; }
Example #6
Source File: WSDLBoundOperationImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #7
Source File: RuntimeWSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private void parseMessage(XMLStreamReader reader) { String msgName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLMessage msg = new WSDLMessageImpl(reader,new QName(targetNamespace, msgName)); extensionFacade.messageAttributes(msg, reader); int partIndex = 0; while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PART.equals(name)) { String part = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); String desc = null; int index = reader.getAttributeCount(); WSDLDescriptorKind kind = WSDLDescriptorKind.ELEMENT; for (int i = 0; i < index; i++) { QName descName = reader.getAttributeName(i); if (descName.getLocalPart().equals("element")) kind = WSDLDescriptorKind.ELEMENT; else if (descName.getLocalPart().equals("type")) kind = WSDLDescriptorKind.TYPE; if (descName.getLocalPart().equals("element") || descName.getLocalPart().equals("type")) { desc = reader.getAttributeValue(i); break; } } if (desc != null) { EditableWSDLPart wsdlPart = new WSDLPartImpl(reader, part, partIndex, new WSDLPartDescriptorImpl(reader,ParserUtil.getQName(reader, desc), kind)); msg.add(wsdlPart); } if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); } else { extensionFacade.messageElements(msg, reader); } } wsdlDoc.addMessage(msg); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); }
Example #8
Source File: RuntimeWSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private void parseMessage(XMLStreamReader reader) { String msgName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLMessage msg = new WSDLMessageImpl(reader,new QName(targetNamespace, msgName)); extensionFacade.messageAttributes(msg, reader); int partIndex = 0; while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PART.equals(name)) { String part = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); String desc = null; int index = reader.getAttributeCount(); WSDLDescriptorKind kind = WSDLDescriptorKind.ELEMENT; for (int i = 0; i < index; i++) { QName descName = reader.getAttributeName(i); if (descName.getLocalPart().equals("element")) kind = WSDLDescriptorKind.ELEMENT; else if (descName.getLocalPart().equals("type")) kind = WSDLDescriptorKind.TYPE; if (descName.getLocalPart().equals("element") || descName.getLocalPart().equals("type")) { desc = reader.getAttributeValue(i); break; } } if (desc != null) { EditableWSDLPart wsdlPart = new WSDLPartImpl(reader, part, partIndex, new WSDLPartDescriptorImpl(reader,ParserUtil.getQName(reader, desc), kind)); msg.add(wsdlPart); } if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); } else { extensionFacade.messageElements(msg, reader); } } wsdlDoc.addMessage(msg); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); }
Example #9
Source File: WSDLBoundOperationImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
@Override public EditableWSDLPart getPart(String partName, Mode mode) { if(mode==Mode.IN){ return inParts.get(partName); }else if(mode==Mode.OUT){ return outParts.get(partName); } return null; }
Example #10
Source File: RuntimeWSDLParser.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private void parseMessage(XMLStreamReader reader) { String msgName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLMessage msg = new WSDLMessageImpl(reader,new QName(targetNamespace, msgName)); extensionFacade.messageAttributes(msg, reader); int partIndex = 0; while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PART.equals(name)) { String part = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); String desc = null; int index = reader.getAttributeCount(); WSDLDescriptorKind kind = WSDLDescriptorKind.ELEMENT; for (int i = 0; i < index; i++) { QName descName = reader.getAttributeName(i); if (descName.getLocalPart().equals("element")) kind = WSDLDescriptorKind.ELEMENT; else if (descName.getLocalPart().equals("type")) kind = WSDLDescriptorKind.TYPE; if (descName.getLocalPart().equals("element") || descName.getLocalPart().equals("type")) { desc = reader.getAttributeValue(i); break; } } if (desc != null) { EditableWSDLPart wsdlPart = new WSDLPartImpl(reader, part, partIndex, new WSDLPartDescriptorImpl(reader,ParserUtil.getQName(reader, desc), kind)); msg.add(wsdlPart); } if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); } else { extensionFacade.messageElements(msg, reader); } } wsdlDoc.addMessage(msg); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); }
Example #11
Source File: RuntimeWSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private void parseMessage(XMLStreamReader reader) { String msgName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLMessage msg = new WSDLMessageImpl(reader,new QName(targetNamespace, msgName)); extensionFacade.messageAttributes(msg, reader); int partIndex = 0; while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PART.equals(name)) { String part = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); String desc = null; int index = reader.getAttributeCount(); WSDLDescriptorKind kind = WSDLDescriptorKind.ELEMENT; for (int i = 0; i < index; i++) { QName descName = reader.getAttributeName(i); if (descName.getLocalPart().equals("element")) kind = WSDLDescriptorKind.ELEMENT; else if (descName.getLocalPart().equals("type")) kind = WSDLDescriptorKind.TYPE; if (descName.getLocalPart().equals("element") || descName.getLocalPart().equals("type")) { desc = reader.getAttributeValue(i); break; } } if (desc != null) { EditableWSDLPart wsdlPart = new WSDLPartImpl(reader, part, partIndex, new WSDLPartDescriptorImpl(reader,ParserUtil.getQName(reader, desc), kind)); msg.add(wsdlPart); } if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); } else { extensionFacade.messageElements(msg, reader); } } wsdlDoc.addMessage(msg); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); }
Example #12
Source File: WSDLBoundOperationImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
@Override public EditableWSDLPart getPart(String partName, Mode mode) { if(mode==Mode.IN){ return inParts.get(partName); }else if(mode==Mode.OUT){ return outParts.get(partName); } return null; }
Example #13
Source File: WSDLBoundOperationImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #14
Source File: WSDLBoundOperationImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #15
Source File: WSDLBoundOperationImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
@Override public EditableWSDLPart getPart(String partName, Mode mode) { if(mode==Mode.IN){ return inParts.get(partName); }else if(mode==Mode.OUT){ return outParts.get(partName); } return null; }
Example #16
Source File: WSDLBoundOperationImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #17
Source File: WSDLBoundOperationImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #18
Source File: RuntimeWSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private void parseMessage(XMLStreamReader reader) { String msgName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLMessage msg = new WSDLMessageImpl(reader,new QName(targetNamespace, msgName)); extensionFacade.messageAttributes(msg, reader); int partIndex = 0; while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PART.equals(name)) { String part = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); String desc = null; int index = reader.getAttributeCount(); WSDLDescriptorKind kind = WSDLDescriptorKind.ELEMENT; for (int i = 0; i < index; i++) { QName descName = reader.getAttributeName(i); if (descName.getLocalPart().equals("element")) kind = WSDLDescriptorKind.ELEMENT; else if (descName.getLocalPart().equals("type")) kind = WSDLDescriptorKind.TYPE; if (descName.getLocalPart().equals("element") || descName.getLocalPart().equals("type")) { desc = reader.getAttributeValue(i); break; } } if (desc != null) { EditableWSDLPart wsdlPart = new WSDLPartImpl(reader, part, partIndex, new WSDLPartDescriptorImpl(reader,ParserUtil.getQName(reader, desc), kind)); msg.add(wsdlPart); } if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); } else { extensionFacade.messageElements(msg, reader); } } wsdlDoc.addMessage(msg); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); }
Example #19
Source File: WSDLBoundOperationImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
@Override public EditableWSDLPart getPart(String partName, Mode mode) { if(mode==Mode.IN){ return inParts.get(partName); }else if(mode==Mode.OUT){ return outParts.get(partName); } return null; }
Example #20
Source File: WSDLBoundOperationImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
@Override public EditableWSDLPart getPart(String partName, Mode mode) { if(mode==Mode.IN){ return inParts.get(partName); }else if(mode==Mode.OUT){ return outParts.get(partName); } return null; }
Example #21
Source File: WSDLBoundOperationImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #22
Source File: RuntimeWSDLParser.java From hottub with GNU General Public License v2.0 | 5 votes |
private void parseMessage(XMLStreamReader reader) { String msgName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLMessage msg = new WSDLMessageImpl(reader,new QName(targetNamespace, msgName)); extensionFacade.messageAttributes(msg, reader); int partIndex = 0; while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PART.equals(name)) { String part = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); String desc = null; int index = reader.getAttributeCount(); WSDLDescriptorKind kind = WSDLDescriptorKind.ELEMENT; for (int i = 0; i < index; i++) { QName descName = reader.getAttributeName(i); if (descName.getLocalPart().equals("element")) kind = WSDLDescriptorKind.ELEMENT; else if (descName.getLocalPart().equals("type")) kind = WSDLDescriptorKind.TYPE; if (descName.getLocalPart().equals("element") || descName.getLocalPart().equals("type")) { desc = reader.getAttributeValue(i); break; } } if (desc != null) { EditableWSDLPart wsdlPart = new WSDLPartImpl(reader, part, partIndex, new WSDLPartDescriptorImpl(reader,ParserUtil.getQName(reader, desc), kind)); msg.add(wsdlPart); } if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); } else { extensionFacade.messageElements(msg, reader); } } wsdlDoc.addMessage(msg); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); }
Example #23
Source File: RuntimeWSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private void parseMessage(XMLStreamReader reader) { String msgName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); EditableWSDLMessage msg = new WSDLMessageImpl(reader,new QName(targetNamespace, msgName)); extensionFacade.messageAttributes(msg, reader); int partIndex = 0; while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.QNAME_PART.equals(name)) { String part = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME); String desc = null; int index = reader.getAttributeCount(); WSDLDescriptorKind kind = WSDLDescriptorKind.ELEMENT; for (int i = 0; i < index; i++) { QName descName = reader.getAttributeName(i); if (descName.getLocalPart().equals("element")) kind = WSDLDescriptorKind.ELEMENT; else if (descName.getLocalPart().equals("type")) kind = WSDLDescriptorKind.TYPE; if (descName.getLocalPart().equals("element") || descName.getLocalPart().equals("type")) { desc = reader.getAttributeValue(i); break; } } if (desc != null) { EditableWSDLPart wsdlPart = new WSDLPartImpl(reader, part, partIndex, new WSDLPartDescriptorImpl(reader,ParserUtil.getQName(reader, desc), kind)); msg.add(wsdlPart); } if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); } else { extensionFacade.messageElements(msg, reader); } } wsdlDoc.addMessage(msg); if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) goToEnd(reader); }
Example #24
Source File: WSDLBoundOperationImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
@Override public EditableWSDLPart getPart(String partName, Mode mode) { if(mode==Mode.IN){ return inParts.get(partName); }else if(mode==Mode.OUT){ return outParts.get(partName); } return null; }
Example #25
Source File: WSDLBoundOperationImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public void addPart(EditableWSDLPart part, Mode mode){ if(mode==Mode.IN) inParts.put(part.getName(), part); else if(mode==Mode.OUT) outParts.put(part.getName(), part); }
Example #26
Source File: WSDLBoundOperationImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
@Override public Map<String, ? extends EditableWSDLPart> getOutParts() { return Collections.<String, EditableWSDLPart>unmodifiableMap(outParts); }
Example #27
Source File: WSDLMessageImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
/** * @param name wsdl:message name attribute value */ public WSDLMessageImpl(XMLStreamReader xsr,QName name) { super(xsr); this.name = name; this.parts = new ArrayList<EditableWSDLPart>(); }
Example #28
Source File: WSDLBoundOperationImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
@Override public Map<String, ? extends EditableWSDLPart> getOutParts() { return Collections.<String, EditableWSDLPart>unmodifiableMap(outParts); }
Example #29
Source File: WSDLBoundOperationImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
@Override public Map<String, ? extends EditableWSDLPart> getInParts() { return Collections.<String, EditableWSDLPart>unmodifiableMap(inParts); }
Example #30
Source File: WSDLMessageImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public Iterable<EditableWSDLPart> parts(){ return parts; }