use of org.apache.cxf.tools.validator.internal.model.XDef 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;
}
use of org.apache.cxf.tools.validator.internal.model.XDef in project cxf by apache.
the class WSDLRefValidator method getXNode.
private XNode getXNode(Service service) {
XDef xdef = new XDef();
xdef.setTargetNamespace(service.getQName().getNamespaceURI());
XService sNode = new XService();
sNode.setName(service.getQName().getLocalPart());
sNode.setParentNode(xdef);
return sNode;
}
use of org.apache.cxf.tools.validator.internal.model.XDef in project cxf by apache.
the class WSDLRefValidator method getXNode.
private XNode getXNode(javax.wsdl.Message msg) {
XDef xdef = new XDef();
xdef.setTargetNamespace(msg.getQName().getNamespaceURI());
XMessage mNode = new XMessage();
mNode.setName(msg.getQName().getLocalPart());
mNode.setParentNode(xdef);
return mNode;
}
use of org.apache.cxf.tools.validator.internal.model.XDef in project cxf by apache.
the class WSDLRefValidator method getXNode.
private XNode getXNode(Binding binding) {
XDef xdef = new XDef();
xdef.setTargetNamespace(binding.getQName().getNamespaceURI());
XBinding bNode = new XBinding();
bNode.setName(binding.getQName().getLocalPart());
bNode.setParentNode(xdef);
return bNode;
}
Aggregations