本文整理汇总了Java中com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType类的典型用法代码示例。如果您正苦于以下问题:Java EditableWSDLPortType类的具体用法?Java EditableWSDLPortType怎么用?Java EditableWSDLPortType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EditableWSDLPortType类属于com.sun.xml.internal.ws.api.model.wsdl.editable包,在下文中一共展示了EditableWSDLPortType类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: parsePortType
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType; //导入依赖的package包/类
private void parsePortType(XMLStreamReader reader) {
String portTypeName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME);
if (portTypeName == null) {
//TODO: throw exception?
//skip wsdl:portType element for now
XMLStreamReaderUtil.skipElement(reader);
return;
}
EditableWSDLPortType portType = new WSDLPortTypeImpl(reader,wsdlDoc, new QName(targetNamespace, portTypeName));
extensionFacade.portTypeAttributes(portType, reader);
wsdlDoc.addPortType(portType);
while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) {
QName name = reader.getName();
if (WSDLConstants.QNAME_OPERATION.equals(name)) {
parsePortTypeOperation(reader, portType);
} else {
extensionFacade.portTypeElements(portType, reader);
}
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:21,代码来源:RuntimeWSDLParser.java
示例2: WSDLOperationImpl
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType; //导入依赖的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;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:8,代码来源:WSDLOperationImpl.java
示例3: freeze
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType; //导入依赖的package包/类
/**
* 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();
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:16,代码来源:WSDLModelImpl.java
示例4: parsePortTypeOperation
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType; //导入依赖的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
示例5: portTypeElements
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType; //导入依赖的package包/类
public boolean portTypeElements(EditableWSDLPortType portType, XMLStreamReader reader) {
return false;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLParserExtension.java
示例6: portTypeAttributes
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType; //导入依赖的package包/类
public void portTypeAttributes(EditableWSDLPortType portType, XMLStreamReader reader) {
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:WSDLParserExtension.java
示例7: addPortType
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType; //导入依赖的package包/类
public void addPortType(EditableWSDLPortType pt){
portTypes.put(pt.getName(), pt);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLModelImpl.java
示例8: getPortType
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType; //导入依赖的package包/类
public EditableWSDLPortType getPortType(QName name){
return portTypes.get(name);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLModelImpl.java
示例9: getPortTypes
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType; //导入依赖的package包/类
public @NotNull Map<QName, EditableWSDLPortType> getPortTypes() {
return portTypes;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLModelImpl.java
示例10: getPortType
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType; //导入依赖的package包/类
public EditableWSDLPortType getPortType() {
return portType;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLBoundPortTypeImpl.java
注:本文中的com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPortType类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论