/** * Checks if the given CvObject has already been generated as XML content. <br> If so, that content is cloned which * is faster than recreating it. * * @param cvObject the CvObject we want to check. * * @return the XML representation (as the root of a DOM tree) of the given CvObject, or null if it hasn't been * generated yet. */ private Element getXmlFromCache( UserSessionDownload session, Element parent, CvObject cvObject ) { Map cache = session.getCvObjectCache(); return CvObject2xmlCommons.getInstance().getXmlFromCache( cache, new Cv2Source( cvObject, parent.getNodeName() ) ); }
/** * Checks if the given CvObject has already been generated as XML content. <br> If so, that content is cloned which * is faster than recreating it. * * @param cvObject the CvObject we want to check. * * @return the XML representation (as the root of a DOM tree) of the given CvObject, or null if it hasn't been * generated yet. */ private Element getXmlFromCache( UserSessionDownload session, Element parent, CvObject cvObject ) { Map cache = session.getCvObjectCache(); return CvObject2xmlCommons.getInstance().getXmlFromCache( cache, new Cv2Source( cvObject, parent.getNodeName() ) ); }
/** * Checks if the given CvObject has already been generated as XML content. <br> If so, that content is cloned which * is faster than recreating it. * * @param cvObject the CvObject we want to check. * * @return the XML representation (as the root of a DOM tree) of the given CvObject, or null if it hasn't been * generated yet. */ private Element getXmlFromCache( UserSessionDownload session, Element parent, CvObject cvObject ) { Map cache = session.getCvObjectCache(); return CvObject2xmlCommons.getInstance().getXmlFromCache( cache, new Cv2Source( cvObject, parent.getNodeName() ) ); }
/** * Checks if the given CvObject has already been generated as XML content. <br> If so, that content is cloned which * is faster than recreating it. * * @param cvObject the CvObject we want to check. * * @return the XML representation (as the root of a DOM tree) of the given CvObject, or null if it hasn't been * generated yet. */ private Element getXmlFromCache( UserSessionDownload session, Element parent, CvObject cvObject ) { Map cache = session.getCvObjectCache(); return CvObject2xmlCommons.getInstance().getXmlFromCache( cache, new Cv2Source( cvObject, parent.getNodeName() ) ); }
/** * Checks if the given CvObject has already been generated as XML content. <br> If so, that content is cloned which * is faster than recreating it. * * @param cvObject the CvObject we want to check. * * @return the XML representation (as the root of a DOM tree) of the given CvObject, or null if it hasn't been * generated yet. */ private Element getXmlFromCache( UserSessionDownload session, Element parent, CvObject cvObject ) { Map cache = session.getCvObjectCache(); return CvObject2xmlCommons.getInstance().getXmlFromCache( cache, new Cv2Source( cvObject, parent.getNodeName() ) ); }
/** * Checks if the given CvObject has already been generated as XML content. <br> If so, that content is cloned which * is faster than recreating it. * * @param cvObject the CvObject we want to check. * * @return the XML representation (as the root of a DOM tree) of the given CvObject, or null if it hasn't been * generated yet. */ private Element getXmlFromCache( UserSessionDownload session, Element parent, CvObject cvObject ) { Map cache = session.getCvObjectCache(); return CvObject2xmlCommons.getInstance().getXmlFromCache( cache, new Cv2Source( cvObject, parent.getNodeName() ) ); }