/** * 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() ) ); }
/** * Store in the cache the XML representation related to the given CvObject instance. * * @param session the user session in which the cache is stored. * @param cvObject the cvObject we wanted to comvert to XML. * @param element The DOM root (as an Element) of the XML representation of the given CvObject. */ private void updateCache( UserSessionDownload session, Element parent, CvObject cvObject, Element element ) { Map cache = session.getCvObjectCache(); CvObject2xmlCommons.getInstance().updateCache( cache, new Cv2Source( cvObject, parent.getNodeName() ), element ); }
/** * Store in the cache the XML representation related to the given CvObject instance. * * @param session the user session in which the cache is stored. * @param cvObject the cvObject we wanted to comvert to XML. * @param element The DOM root (as an Element) of the XML representation of the given CvObject. */ private void updateCache( UserSessionDownload session, Element parent, CvObject cvObject, Element element ) { Map cache = session.getCvObjectCache(); CvObject2xmlCommons.getInstance().updateCache( cache, new Cv2Source( cvObject, parent.getNodeName() ), element ); }
/** * Store in the cache the XML representation related to the given CvObject instance. * * @param session the user session in which the cache is stored. * @param cvObject the cvObject we wanted to comvert to XML. * @param element The DOM root (as an Element) of the XML representation of the given CvObject. */ private void updateCache( UserSessionDownload session, Element parent, CvObject cvObject, Element element ) { Map cache = session.getCvObjectCache(); CvObject2xmlCommons.getInstance().updateCache( cache, new Cv2Source( cvObject, parent.getNodeName() ), element ); }
/** * Store in the cache the XML representation related to the given CvObject instance. * * @param session the user session in which the cache is stored. * @param cvObject the cvObject we wanted to comvert to XML. * @param element The DOM root (as an Element) of the XML representation of the given CvObject. */ private void updateCache( UserSessionDownload session, Element parent, CvObject cvObject, Element element ) { Map cache = session.getCvObjectCache(); CvObject2xmlCommons.getInstance().updateCache( cache, new Cv2Source( cvObject, parent.getNodeName() ), element ); }
/** * Store in the cache the XML representation related to the given CvObject instance. * * @param session the user session in which the cache is stored. * @param cvObject the cvObject we wanted to comvert to XML. * @param element The DOM root (as an Element) of the XML representation of the given CvObject. */ private void updateCache( UserSessionDownload session, Element parent, CvObject cvObject, Element element ) { Map cache = session.getCvObjectCache(); CvObject2xmlCommons.getInstance().updateCache( cache, new Cv2Source( cvObject, parent.getNodeName() ), element ); }
/** * Store in the cache the XML representation related to the given CvObject instance. * * @param session the user session in which the cache is stored. * @param cvObject the cvObject we wanted to comvert to XML. * @param element The DOM root (as an Element) of the XML representation of the given CvObject. */ private void updateCache( UserSessionDownload session, Element parent, CvObject cvObject, Element element ) { Map cache = session.getCvObjectCache(); CvObject2xmlCommons.getInstance().updateCache( cache, new Cv2Source( cvObject, parent.getNodeName() ), element ); }
/** * 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() ) ); }