Search in sources :

Example 1 with XMessage

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

Aggregations

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