本文整理汇总了Java中com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation类的典型用法代码示例。如果您正苦于以下问题:Java EditableWSDLOperation类的具体用法?Java EditableWSDLOperation怎么用?Java EditableWSDLOperation使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EditableWSDLOperation类属于com.sun.xml.internal.ws.api.model.wsdl.editable包,在下文中一共展示了EditableWSDLOperation类的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: parsePortTypeOperation
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
private void parsePortTypeOperation(XMLStreamReader reader, EditableWSDLPortType portType) {
String operationName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME);
if (operationName == null) {
//TODO: throw exception?
//skip wsdl:portType element for now
XMLStreamReaderUtil.skipElement(reader);
return;
}
QName operationQName = new QName(portType.getName().getNamespaceURI(), operationName);
EditableWSDLOperation operation = new WSDLOperationImpl(reader,portType, operationQName);
extensionFacade.portTypeOperationAttributes(operation, reader);
String parameterOrder = ParserUtil.getAttribute(reader, "parameterOrder");
operation.setParameterOrder(parameterOrder);
portType.put(operationName, operation);
while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) {
QName name = reader.getName();
if (name.equals(WSDLConstants.QNAME_INPUT)) {
parsePortTypeOperationInput(reader, operation);
} else if (name.equals(WSDLConstants.QNAME_OUTPUT)) {
parsePortTypeOperationOutput(reader, operation);
} else if (name.equals(WSDLConstants.QNAME_FAULT)) {
parsePortTypeOperationFault(reader, operation);
} else {
extensionFacade.portTypeOperationElements(operation, reader);
}
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:29,代码来源:RuntimeWSDLParser.java
示例2: parsePortTypeOperationFault
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的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);
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:13,代码来源:RuntimeWSDLParser.java
示例3: parsePortTypeOperationInput
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
private void parsePortTypeOperationInput(XMLStreamReader reader, EditableWSDLOperation operation) {
String msg = ParserUtil.getMandatoryNonEmptyAttribute(reader, "message");
QName msgName = ParserUtil.getQName(reader, msg);
String name = ParserUtil.getAttribute(reader, "name");
EditableWSDLInput input = new WSDLInputImpl(reader, name, msgName, operation);
operation.setInput(input);
extensionFacade.portTypeOperationInputAttributes(input, reader);
extensionFacade.portTypeOperationInput(operation, reader);
while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) {
extensionFacade.portTypeOperationInputElements(input, reader);
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:13,代码来源:RuntimeWSDLParser.java
示例4: parsePortTypeOperationOutput
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
private void parsePortTypeOperationOutput(XMLStreamReader reader, EditableWSDLOperation operation) {
String msg = ParserUtil.getAttribute(reader, "message");
QName msgName = ParserUtil.getQName(reader, msg);
String name = ParserUtil.getAttribute(reader, "name");
EditableWSDLOutput output = new WSDLOutputImpl(reader,name, msgName, operation);
operation.setOutput(output);
extensionFacade.portTypeOperationOutputAttributes(output, reader);
extensionFacade.portTypeOperationOutput(operation, reader);
while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) {
extensionFacade.portTypeOperationOutputElements(output, reader);
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:13,代码来源:RuntimeWSDLParser.java
示例5: portTypeOperationInput
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public boolean portTypeOperationInput(EditableWSDLOperation op, XMLStreamReader reader) {
return false;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLParserExtension.java
示例6: portTypeOperationOutput
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public boolean portTypeOperationOutput(EditableWSDLOperation op, XMLStreamReader reader) {
return false;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLParserExtension.java
示例7: portTypeOperationFault
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public boolean portTypeOperationFault(EditableWSDLOperation op, XMLStreamReader reader) {
return false;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLParserExtension.java
示例8: portTypeOperationElements
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public boolean portTypeOperationElements(EditableWSDLOperation operation, XMLStreamReader reader) {
return false;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLParserExtension.java
示例9: portTypeOperationAttributes
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public void portTypeOperationAttributes(EditableWSDLOperation operation, XMLStreamReader reader) {
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:WSDLParserExtension.java
示例10: getOperation
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
@Override
public EditableWSDLOperation getOperation() {
return operation;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:WSDLBoundOperationImpl.java
示例11: WSDLPortTypeImpl
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public WSDLPortTypeImpl(XMLStreamReader xsr, EditableWSDLModel owner, QName name) {
super(xsr);
this.name = name;
this.owner = owner;
portTypeOperations = new Hashtable<String, EditableWSDLOperation>();
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:7,代码来源:WSDLPortTypeImpl.java
示例12: get
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public EditableWSDLOperation get(String operationName) {
return portTypeOperations.get(operationName);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLPortTypeImpl.java
示例13: getOperations
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public Iterable<EditableWSDLOperation> getOperations() {
return portTypeOperations.values();
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLPortTypeImpl.java
示例14: freeze
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public void freeze() {
for(EditableWSDLOperation op : portTypeOperations.values()){
op.freeze(owner);
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:6,代码来源:WSDLPortTypeImpl.java
示例15: WSDLOutputImpl
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public WSDLOutputImpl(XMLStreamReader xsr,String name, QName messageName, EditableWSDLOperation operation) {
super(xsr);
this.name = name;
this.messageName = messageName;
this.operation = operation;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:7,代码来源:WSDLOutputImpl.java
示例16: getOperation
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
@NotNull
public EditableWSDLOperation getOperation() {
return operation;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:WSDLOutputImpl.java
示例17: WSDLInputImpl
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public WSDLInputImpl(XMLStreamReader xsr,String name, QName messageName, EditableWSDLOperation operation) {
super(xsr);
this.name = name;
this.messageName = messageName;
this.operation = operation;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:7,代码来源:WSDLInputImpl.java
示例18: WSDLFaultImpl
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; //导入依赖的package包/类
public WSDLFaultImpl(XMLStreamReader xsr, String name, QName messageName, EditableWSDLOperation operation) {
super(xsr);
this.name = name;
this.messageName = messageName;
this.operation = operation;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:7,代码来源:WSDLFaultImpl.java
注:本文中的com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论