Thursday, February 13, 2014

BSF.getXMLDocument() vs NomDocumentPool.lendDocument()

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.

1 comment:

  1. com.eibus.xforms.XFormsDef.getDocument() is Depricated from Cordys 10.6.4 Java SDK API, So Cordys Suggests Use NOMDocumentPool.getInstance().lendDocument()

    ReplyDelete