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);
}
Aggregations