use of org.apache.cxf.tools.validator.internal.model.XPortType in project cxf by apache.
the class WSDLRefValidator method getXNode.
private XNode getXNode(PortType portType) {
XDef xdef = new XDef();
xdef.setTargetNamespace(portType.getQName().getNamespaceURI());
XPortType pNode = new XPortType();
pNode.setName(portType.getQName().getLocalPart());
pNode.setParentNode(xdef);
return pNode;
}