sboag       99/12/01 12:08:51

  Modified:    src/org/apache/xalan/xslt XSLTEngineImpl.java
                        XSLTProcessorFactory.java
  Log:
  Removed methods for constructing processors based on a stylesheet URL, 
because these don't make sense.
  
  Revision  Changes    Path
  1.15      +0 -25     xml-xalan/src/org/apache/xalan/xslt/XSLTEngineImpl.java
  
  Index: XSLTEngineImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/XSLTEngineImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- XSLTEngineImpl.java       1999/11/30 18:26:29     1.14
  +++ XSLTEngineImpl.java       1999/12/01 20:08:50     1.15
  @@ -372,31 +372,6 @@
     }
   
     /**
  -   * Construct an XSLT processor that uses the XML4J fast DOM liaison
  -   * by default, and initialize it with the given stylesheet.
  -   */
  -  XSLTEngineImpl(String xsltID, boolean dummy)
  -    throws org.xml.sax.SAXException
  -  {
  -    try
  -    {
  -      String parserLiaisonClassName = Constants.LIAISON_CLASS;
  -      Class parserLiaisonClass = Class.forName(parserLiaisonClassName);
  -      Constructor parserLiaisonCtor = 
parserLiaisonClass.getConstructor(null);
  -      m_parserLiaison
  -        = (XMLParserLiaison)parserLiaisonCtor.newInstance(null);
  -      m_problemListener = new ProblemListenerDefault();
  -      m_parserLiaison.setEnvSupport(this);
  -
  -      processStylesheet(xsltID);
  -    }
  -    catch(Exception e)
  -    {
  -      throw new XSLProcessorException(e);
  -    }
  -  }
  -
  -  /**
      * Construct an XSL processor that uses the the given parser liaison.
      * (This must be made public for use by derived classes and so it 
      * can also be accessed by the XSLTProcessorFactory.  But, normally, 
  
  
  
  1.3       +1 -15     
xml-xalan/src/org/apache/xalan/xslt/XSLTProcessorFactory.java
  
  Index: XSLTProcessorFactory.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/src/org/apache/xalan/xslt/XSLTProcessorFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XSLTProcessorFactory.java 1999/11/28 04:25:14     1.2
  +++ XSLTProcessorFactory.java 1999/12/01 20:08:50     1.3
  @@ -66,20 +66,6 @@
   public class XSLTProcessorFactory
   {
     /**
  -   * Get a new XSLTProcessor that is initialized with the given XSL 
stylesheet.
  -   * You must set XSLTProcessor properties for XML source document and the
  -   * result tree before you can perform a transformation.
  -   * @param xslID The URL or file name that identifies the XSL stylesheet.
  -   * @return An implentation of the XSLTProcessor interface with which you
  -   * can perform transformations.
  -   */
  -  public static XSLTProcessor getProcessor(String xslID)
  -    throws org.xml.sax.SAXException
  -  {
  -    return new XSLTEngineImpl(xslID, true);
  -  }
  -
  -  /**
      * Get a new XSLTProcessor. You must set XSLTProcessor properties before 
you
      * can use it to perform a transformation.
      * @return An implentation of the XSLTProcessor interface with which you
  @@ -101,7 +87,7 @@
      * can perform transformations.
      * @see org.apache.xalan.xpath.xml.XMLParserLiaison
      */
  -  public static XSLTProcessor getProcessor(String parserLiaisonClassName, 
boolean dummy)
  +  public static XSLTProcessor getProcessorUsingLiaisonName(String 
parserLiaisonClassName)
       throws org.xml.sax.SAXException
     {
       return new XSLTEngineImpl(parserLiaisonClassName);
  
  
  

Reply via email to