You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dl...@locus.apache.org on 2000/04/24 17:07:36 UTC

cvs commit: xml-xalan/src/org/apache/xalan/xslt StylesheetRoot.java

dleslie     00/04/24 08:07:36

  Modified:    src/org/apache/xalan/xslt StylesheetRoot.java
  Log:
  Added  Javadoc info on process methods in response to
  Bugzilla Bug 168.
  
  Revision  Changes    Path
  1.34      +6 -3      xml-xalan/src/org/apache/xalan/xslt/StylesheetRoot.java
  
  Index: StylesheetRoot.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/StylesheetRoot.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- StylesheetRoot.java	2000/03/16 17:33:39	1.33
  +++ StylesheetRoot.java	2000/04/24 15:07:35	1.34
  @@ -250,6 +250,7 @@
   
     /**
      * Transform the XML source tree and place the output in the result tree target.
  +   * This method uses a new XSLTProcessor instance to track the running state.
      * @param xmlSource  The XML input source tree.
      * @param outputTarget The output result tree.
      * @exception XSLProcessorException thrown if the active ProblemListener and XMLParserLiaison decide
  @@ -274,7 +275,9 @@
   
     /**
      * Transform the XML source tree and place the output in the result tree target.
  -   * @param iprocessor  The processor that will track the running state.
  +   * Use this version of the StylesheetRoot process() method if you have used an
  +   * XSLTProcessor object to set a stylesheet parameter. That object is now the iprocessor parameter.
  +   * @param iprocessor  The XSLTProcessor that will track the running state.
      * @param xmlSource  The XML input source tree.
      * @param outputTarget The output result tree.
      * @exception XSLProcessorException thrown if the active ProblemListener and XMLParserLiaison decide
  @@ -313,7 +316,7 @@
       synchronized(processor)
       {
         processor.switchLiaisonsIfNeeded(sourceTree, outputTarget.getNode());
  -      
  +
         processor.m_stylesheetRoot = this;
   
         OutputStream ostream = null;
  @@ -467,7 +470,7 @@
      * serializers come up to speed.
      */
     public boolean m_useXercesSerializers = false;
  -  
  +
     /**
      * Creates a compatible SAX serializer for the specified writer
      * and output format. If the output format is missing, the default