You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/06/23 04:39:34 UTC

cvs commit: xml-xalan/c/src/XSLT StylesheetConstructionContextDefault.hpp

dbertoni    00/06/22 19:39:33

  Modified:    c/src/XSLT StylesheetConstructionContextDefault.hpp
  Log:
  Added constructor comments.
  
  Revision  Changes    Path
  1.9       +13 -0     xml-xalan/c/src/XSLT/StylesheetConstructionContextDefault.hpp
  
  Index: StylesheetConstructionContextDefault.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/StylesheetConstructionContextDefault.hpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- StylesheetConstructionContextDefault.hpp	2000/06/07 18:35:01	1.8
  +++ StylesheetConstructionContextDefault.hpp	2000/06/23 02:39:33	1.9
  @@ -95,6 +95,19 @@
   {
   public:
   
  +	/*
  +	 * Construct an instance.  If the stylesheet(s) constructed is/are meant to be reused (a.k.a. "compiled"),
  +	 * the XObjectFactory and XPathFactory instance must exist for the lifetime of the construction context
  +	 * and, therefore, for the lifetime of the stylesheet(s).  Otherwise, XObject and XPath instance will be
  +	 * destroyed when the corresponding factories are destryed, leaving pointers to destroyed objects in the.
  +	 * stylesheet(s).
  +	 *
  +	 * @param processor a reference to an XSLTEngineImpl instance.  Used for error reporting.
  +	 * @param xpathEnvSupport a reference to an XPathEnvSupport instance.
  +	 * @param xobjectFactory a reference to an XObjectFactory instance.  See comments above for important details.
  +	 * @param xpathFactory a reference to an XPathFactory instance.  See comments above for important details.
  +	 *
  +	 */
   	StylesheetConstructionContextDefault(
   			XSLTEngineImpl&		processor,
   			XPathEnvSupport&	xpathEnvSupport,