You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Dmitry <re...@list.ru> on 2012/05/16 17:42:41 UTC
DocumentationElement content setup question.
Hello,
I am going crazy trying to figure out how I can put a wsdl documentation.
I can easy to read it:
for (DocumentationElement documentation :
description.toElement().getDocumentationElements()) {
XMLElement xmlElement = documentation.getContent();
Element domElement = (Element) xmlElement.getSource();
but how can I write?
DocumentationElement documentationElement =
description.addDocumentationElement();
XMLElement xmlElement = documentationElement.getContent(); // = null?
xmlElement.setSource(documentation);
I can not create an XMLElement by myself, because it is hidden for me.
Looking at DocumentationElementTest.java there is a dummy TestXMLElement
class created.
Probably documentationElement.getContent() may create an empty
XMLElement using an appropriate (DOM/OM) factory if there is no any set?
Kind regards,
Dmitry
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org