本文整理汇总了Java中com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault类的典型用法代码示例。如果您正苦于以下问题:Java EditableWSDLFault类的具体用法?Java EditableWSDLFault怎么用?Java EditableWSDLFault使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EditableWSDLFault类属于com.sun.xml.internal.ws.api.model.wsdl.editable包,在下文中一共展示了EditableWSDLFault类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: WSDLOperationImpl
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault; //导入依赖的package包/类
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;
}
示例2: getFault
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault; //导入依赖的package包/类
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;
}
示例3: parsePortTypeOperationFault
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault; //导入依赖的package包/类
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);
}
}
示例4: portTypeOperationFaultElements
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault; //导入依赖的package包/类
public boolean portTypeOperationFaultElements(EditableWSDLFault fault, XMLStreamReader reader) {
return false;
}
示例5: portTypeOperationFaultAttributes
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault; //导入依赖的package包/类
public void portTypeOperationFaultAttributes(EditableWSDLFault fault, XMLStreamReader reader) {
}
示例6: getFaults
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault; //导入依赖的package包/类
public Iterable<EditableWSDLFault> getFaults() {
return faults;
}
示例7: addFault
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault; //导入依赖的package包/类
public void addFault(EditableWSDLFault fault) {
faults.add(fault);
}
示例8: getFault
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault; //导入依赖的package包/类
public EditableWSDLFault getFault() {
return fault;
}