import com.eibus.xml.nom.internal. NOMDocumentPool;
--Import statement used in the java
private static NOMDocumentPool nomDocPool = NOMDocumentPool.getInstance();
-- The above is a class level variable
Document doc = nomDocPool.lendDocument(); // Change
-- Creating doc
Explanation yet to come based on our analysis of the code.
com.eibus.xforms.XFormsDef.getDocument() is Depricated from Cordys 10.6.4 Java SDK API, So Cordys Suggests Use NOMDocumentPool.getInstance().lendDocument()
ReplyDelete