You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@locus.apache.org on 2000/11/06 19:48:00 UTC

cvs commit: xml-xalan/java/src/javax/xml/transform Transformer.java

sboag       00/11/06 10:47:54

  Modified:    java/src/javax/xml/transform Transformer.java
  Log:
  Add getOutputProperties.
  Explain that Transformers may be reused.
  
  Revision  Changes    Path
  1.2       +15 -2     xml-xalan/java/src/javax/xml/transform/Transformer.java
  
  Index: Transformer.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/javax/xml/transform/Transformer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Transformer.java	2000/11/03 23:22:10	1.1
  +++ Transformer.java	2000/11/06 18:47:46	1.2
  @@ -69,6 +69,8 @@
    * to a variety of sinks.</p>
 * 
    * <p>An object of this class can not be used concurrently over
    * multiple threads.</p>
  + * 
  + * <p>A Transformer may be used multiple times.</p>
    *
    * @version Alpha
    * @author <a href="mailto:scott_boag@lotus.com">Scott Boag</a>
  @@ -144,10 +146,21 @@
      * @param oformat A set of output properties that will be
      * used to override any of the same properties in effect
      * for the transformation.
  -   *
  -   * @see org.xml.serialize.OutputFormat
      */
     public abstract void setOutputProperties(Properties oformat);
  +
  +  /**
  +   * Get a copy of the output properties for the transformation.  These
  +   * properties will override properties set in the templates
  +   * with xsl:output.
  +   * 
  +   * <p>Note that mutation of the Properties object returned will not 
  +   * effect the properties that the transformation contains.</p>
  +   *
  +   * @returns A copy of the set of output properties in effect
  +   * for the next transformation.
  +   */
  +  public abstract Properties getOutputProperties();
   
     /**
      * Method setProperty