Search in sources :

Example 1 with XBinding

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

Aggregations

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