Search in sources :

Example 1 with WSDLElement

use of javax.wsdl.WSDLElement in project cxf by apache.

the class ServiceWSDLBuilder method addDocumentation.

protected void addDocumentation(WSDLElement wsdlel, String text) {
    if (text == null) {
        return;
    }
    Element el = DOMUtils.getEmptyDocument().createElementNS(WSDLConstants.NS_WSDL11, "wsdl:documentation");
    el.setTextContent(text);
    wsdlel.setDocumentationElement(el);
}
Also used : WSDLElement(javax.wsdl.WSDLElement) UnknownExtensibilityElement(javax.wsdl.extensions.UnknownExtensibilityElement) ExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement) Element(org.w3c.dom.Element)

Aggregations

WSDLElement (javax.wsdl.WSDLElement)1 ExtensibilityElement (javax.wsdl.extensions.ExtensibilityElement)1 UnknownExtensibilityElement (javax.wsdl.extensions.UnknownExtensibilityElement)1 Element (org.w3c.dom.Element)1