Fix Bug TDI-27366 : remove GenerateDocumentHelper
https://jira.talendforge.org/browse/TDI-27366 git-svn-id: http://talendforge.org/svn/tos/trunk@110123 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
@@ -73,4 +73,18 @@ public class NestXMLTool {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//do some work after document has been generated
|
||||
public static void generateOk(routines.system.Document doc,boolean removeEmptyElement) {
|
||||
if(doc == null || doc.getDocument() == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
replaceDefaultNameSpace(doc.getDocument().getRootElement(),null);
|
||||
|
||||
if(removeEmptyElement) {
|
||||
removeEmptyElement(doc.getDocument().getRootElement());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user