Search in sources :

Example 1 with XPortType

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;
}
Also used : XDef(org.apache.cxf.tools.validator.internal.model.XDef) XPortType(org.apache.cxf.tools.validator.internal.model.XPortType)

Aggregations

XDef (org.apache.cxf.tools.validator.internal.model.XDef)1 XPortType (org.apache.cxf.tools.validator.internal.model.XPortType)1