com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault Java Examples
The following examples show how to use
com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault.
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 parsePortTypeOperationFault(XMLStreamReader reader, EditableWSDLOperation operation) { String msg = ParserUtil.getMandatoryNonEmptyAttribute(reader, "message"); QName msgName = ParserUtil.getQName(reader, msg); String name = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); EditableWSDLFault fault = new WSDLFaultImpl(reader,name, msgName, operation); operation.addFault(fault); extensionFacade.portTypeOperationFaultAttributes(fault, reader); extensionFacade.portTypeOperationFault(operation, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { extensionFacade.portTypeOperationFaultElements(fault, reader); } }
Example #2
Source File: WSDLOperationImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
Example #3
Source File: WSDLOperationImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public WSDLOperationImpl(XMLStreamReader xsr, EditableWSDLPortType owner, QName name) { super(xsr); this.name = name; this.faults = new ArrayList<EditableWSDLFault>(); this.faultMap = new QNameMap<EditableWSDLFault>(); this.owner = owner; }
Example #4
Source File: RuntimeWSDLParser.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private void parsePortTypeOperationFault(XMLStreamReader reader, EditableWSDLOperation operation) { String msg = ParserUtil.getMandatoryNonEmptyAttribute(reader, "message"); QName msgName = ParserUtil.getQName(reader, msg); String name = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); EditableWSDLFault fault = new WSDLFaultImpl(reader,name, msgName, operation); operation.addFault(fault); extensionFacade.portTypeOperationFaultAttributes(fault, reader); extensionFacade.portTypeOperationFault(operation, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { extensionFacade.portTypeOperationFaultElements(fault, reader); } }
Example #5
Source File: WSDLOperationImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public WSDLOperationImpl(XMLStreamReader xsr, EditableWSDLPortType owner, QName name) { super(xsr); this.name = name; this.faults = new ArrayList<EditableWSDLFault>(); this.faultMap = new QNameMap<EditableWSDLFault>(); this.owner = owner; }
Example #6
Source File: WSDLOperationImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public WSDLOperationImpl(XMLStreamReader xsr, EditableWSDLPortType owner, QName name) { super(xsr); this.name = name; this.faults = new ArrayList<EditableWSDLFault>(); this.faultMap = new QNameMap<EditableWSDLFault>(); this.owner = owner; }
Example #7
Source File: RuntimeWSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private void parsePortTypeOperationFault(XMLStreamReader reader, EditableWSDLOperation operation) { String msg = ParserUtil.getMandatoryNonEmptyAttribute(reader, "message"); QName msgName = ParserUtil.getQName(reader, msg); String name = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); EditableWSDLFault fault = new WSDLFaultImpl(reader,name, msgName, operation); operation.addFault(fault); extensionFacade.portTypeOperationFaultAttributes(fault, reader); extensionFacade.portTypeOperationFault(operation, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { extensionFacade.portTypeOperationFaultElements(fault, reader); } }
Example #8
Source File: RuntimeWSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private void parsePortTypeOperationFault(XMLStreamReader reader, EditableWSDLOperation operation) { String msg = ParserUtil.getMandatoryNonEmptyAttribute(reader, "message"); QName msgName = ParserUtil.getQName(reader, msg); String name = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); EditableWSDLFault fault = new WSDLFaultImpl(reader,name, msgName, operation); operation.addFault(fault); extensionFacade.portTypeOperationFaultAttributes(fault, reader); extensionFacade.portTypeOperationFault(operation, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { extensionFacade.portTypeOperationFaultElements(fault, reader); } }
Example #9
Source File: WSDLOperationImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
Example #10
Source File: WSDLOperationImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
Example #11
Source File: RuntimeWSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private void parsePortTypeOperationFault(XMLStreamReader reader, EditableWSDLOperation operation) { String msg = ParserUtil.getMandatoryNonEmptyAttribute(reader, "message"); QName msgName = ParserUtil.getQName(reader, msg); String name = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); EditableWSDLFault fault = new WSDLFaultImpl(reader,name, msgName, operation); operation.addFault(fault); extensionFacade.portTypeOperationFaultAttributes(fault, reader); extensionFacade.portTypeOperationFault(operation, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { extensionFacade.portTypeOperationFaultElements(fault, reader); } }
Example #12
Source File: WSDLOperationImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public WSDLOperationImpl(XMLStreamReader xsr, EditableWSDLPortType owner, QName name) { super(xsr); this.name = name; this.faults = new ArrayList<EditableWSDLFault>(); this.faultMap = new QNameMap<EditableWSDLFault>(); this.owner = owner; }
Example #13
Source File: WSDLOperationImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public WSDLOperationImpl(XMLStreamReader xsr, EditableWSDLPortType owner, QName name) { super(xsr); this.name = name; this.faults = new ArrayList<EditableWSDLFault>(); this.faultMap = new QNameMap<EditableWSDLFault>(); this.owner = owner; }
Example #14
Source File: RuntimeWSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private void parsePortTypeOperationFault(XMLStreamReader reader, EditableWSDLOperation operation) { String msg = ParserUtil.getMandatoryNonEmptyAttribute(reader, "message"); QName msgName = ParserUtil.getQName(reader, msg); String name = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); EditableWSDLFault fault = new WSDLFaultImpl(reader,name, msgName, operation); operation.addFault(fault); extensionFacade.portTypeOperationFaultAttributes(fault, reader); extensionFacade.portTypeOperationFault(operation, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { extensionFacade.portTypeOperationFaultElements(fault, reader); } }
Example #15
Source File: WSDLOperationImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public WSDLOperationImpl(XMLStreamReader xsr, EditableWSDLPortType owner, QName name) { super(xsr); this.name = name; this.faults = new ArrayList<EditableWSDLFault>(); this.faultMap = new QNameMap<EditableWSDLFault>(); this.owner = owner; }
Example #16
Source File: RuntimeWSDLParser.java From hottub with GNU General Public License v2.0 | 5 votes |
private void parsePortTypeOperationFault(XMLStreamReader reader, EditableWSDLOperation operation) { String msg = ParserUtil.getMandatoryNonEmptyAttribute(reader, "message"); QName msgName = ParserUtil.getQName(reader, msg); String name = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); EditableWSDLFault fault = new WSDLFaultImpl(reader,name, msgName, operation); operation.addFault(fault); extensionFacade.portTypeOperationFaultAttributes(fault, reader); extensionFacade.portTypeOperationFault(operation, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { extensionFacade.portTypeOperationFaultElements(fault, reader); } }
Example #17
Source File: WSDLOperationImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
Example #18
Source File: RuntimeWSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private void parsePortTypeOperationFault(XMLStreamReader reader, EditableWSDLOperation operation) { String msg = ParserUtil.getMandatoryNonEmptyAttribute(reader, "message"); QName msgName = ParserUtil.getQName(reader, msg); String name = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); EditableWSDLFault fault = new WSDLFaultImpl(reader,name, msgName, operation); operation.addFault(fault); extensionFacade.portTypeOperationFaultAttributes(fault, reader); extensionFacade.portTypeOperationFault(operation, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { extensionFacade.portTypeOperationFaultElements(fault, reader); } }
Example #19
Source File: WSDLOperationImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
Example #20
Source File: WSDLOperationImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public WSDLOperationImpl(XMLStreamReader xsr, EditableWSDLPortType owner, QName name) { super(xsr); this.name = name; this.faults = new ArrayList<EditableWSDLFault>(); this.faultMap = new QNameMap<EditableWSDLFault>(); this.owner = owner; }
Example #21
Source File: WSDLOperationImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
Example #22
Source File: WSDLOperationImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
public WSDLOperationImpl(XMLStreamReader xsr, EditableWSDLPortType owner, QName name) { super(xsr); this.name = name; this.faults = new ArrayList<EditableWSDLFault>(); this.faultMap = new QNameMap<EditableWSDLFault>(); this.owner = owner; }
Example #23
Source File: WSDLOperationImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
Example #24
Source File: WSDLOperationImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
Example #25
Source File: WSDLOperationImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public Iterable<EditableWSDLFault> getFaults() { return faults; }
Example #26
Source File: WSDLOperationImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public Iterable<EditableWSDLFault> getFaults() { return faults; }
Example #27
Source File: WSDLBoundFaultImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public EditableWSDLFault getFault() { return fault; }
Example #28
Source File: WSDLParserExtension.java From hottub with GNU General Public License v2.0 | 4 votes |
public void portTypeOperationFaultAttributes(EditableWSDLFault fault, XMLStreamReader reader) { }
Example #29
Source File: WSDLParserExtension.java From hottub with GNU General Public License v2.0 | 4 votes |
public boolean portTypeOperationFaultElements(EditableWSDLFault fault, XMLStreamReader reader) { return false; }
Example #30
Source File: WSDLOperationImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public void addFault(EditableWSDLFault fault) { faults.add(fault); }