You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mm...@apache.org on 2001/02/22 16:46:00 UTC

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

mmidy       01/02/22 07:46:00

  Modified:    java/compat_src/org/apache/xalan/xslt StylesheetRoot.java
  Log:
  Add getOutputMethod API.
  
  Revision  Changes    Path
  1.7       +8 -0      xml-xalan/java/compat_src/org/apache/xalan/xslt/StylesheetRoot.java
  
  Index: StylesheetRoot.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/compat_src/org/apache/xalan/xslt/StylesheetRoot.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- StylesheetRoot.java	2001/01/25 13:18:57	1.6
  +++ StylesheetRoot.java	2001/02/22 15:45:59	1.7
  @@ -552,6 +552,14 @@
       return m_sRootObject.getOutputComposed().getProperty(OutputKeys.MEDIA_TYPE); 
     }
     
  +  /** 
  +   * Get the output method that was specified in the stylesheet. 
  +   */
  +  public String getOutputMethod() 
  +  { 
  +    return m_sRootObject.getOutputComposed().getProperty(OutputKeys.METHOD); 
  +  }
  +  
     /**
      * Get the base identifier with which this stylesheet is associated.
      */