408409410411412413414415416417418
replaceChild(doc, camelElem, docElem); } else { if (model.getNode() != null) { replaceCamelElement(docElem, camelElem, model.getNode()); } else { docElem.addNode(camelElem); } } } public void writeXml(Document doc, File file) throws IOException {
153154155156157158159160161162163
} } else { if (descr.getNodes().size() > 0) { text = "\n" + text; } descr.addNode(new Text(text)); } } } else if (node instanceof Element) { moveCommentsIntoDescriptionElements((Element) node, root); }
155156157158159160161162163164165