cvs commit: xml-fop/src/org/apache/fop/apps TraxInputHandler.java XSLTInputHandler.java AWTStarter.java FOInputHandler.java CommandLineOptions.java InputHandler.java Version.java PrintStarter.java Fop.java LayoutHandler.java CommandLineStarter.java Driver.java FOPException.java Starter.java StructureHandler.java ErrorHandler.java

2003-02-27 Thread jeremias
jeremias2003/02/27 02:13:08

  Modified:src/org/apache/fop/apps TraxInputHandler.java
XSLTInputHandler.java AWTStarter.java
FOInputHandler.java CommandLineOptions.java
InputHandler.java Version.java PrintStarter.java
Fop.java LayoutHandler.java CommandLineStarter.java
Driver.java FOPException.java Starter.java
StructureHandler.java
  Removed: src/org/apache/fop/apps ErrorHandler.java
  Log:
  Switched to long licence
  Some general checkstyle fixing
  Removed unused ErrorHandler (readd when we know what to do with it)
  
  Revision  ChangesPath
  1.6   +72 -28xml-fop/src/org/apache/fop/apps/TraxInputHandler.java
  
  Index: TraxInputHandler.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/apps/TraxInputHandler.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TraxInputHandler.java 21 Aug 2001 06:18:54 -  1.5
  +++ TraxInputHandler.java 27 Feb 2003 10:13:04 -  1.6
  @@ -1,12 +1,57 @@
   /*
* $Id$
  - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  - * For details on use and redistribution please refer to the
  - * LICENSE file included with these sources.
  - */
  -
  + * 
  + *The Apache Software License, Version 1.1
  + * 
  + * 
  + * Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
  + * 
  + * Redistribution and use in source and binary forms, with or without modifica-
  + * tion, are permitted provided that the following conditions are met:
  + * 
  + * 1. Redistributions of source code must retain the above copyright notice,
  + *this list of conditions and the following disclaimer.
  + * 
  + * 2. Redistributions in binary form must reproduce the above copyright notice,
  + *this list of conditions and the following disclaimer in the documentation
  + *and/or other materials provided with the distribution.
  + * 
  + * 3. The end-user documentation included with the redistribution, if any, must
  + *include the following acknowledgment: This product includes software
  + *developed by the Apache Software Foundation (http://www.apache.org/).
  + *Alternately, this acknowledgment may appear in the software itself, if
  + *and wherever such third-party acknowledgments normally appear.
  + * 
  + * 4. The names FOP and Apache Software Foundation must not be used to
  + *endorse or promote products derived from this software without prior
  + *written permission. For written permission, please contact
  + *[EMAIL PROTECTED]
  + * 
  + * 5. Products derived from this software may not be called Apache, nor may
  + *Apache appear in their name, without prior written permission of the
  + *Apache Software Foundation.
  + * 
  + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  + * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
  + * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  + * 
  + * 
  + * This software consists of voluntary contributions made by many individuals
  + * on behalf of the Apache Software Foundation and was originally created by
  + * James Tauber [EMAIL PROTECTED]. For more information on the Apache
  + * Software Foundation, please see http://www.apache.org/.
  + */ 
   package org.apache.fop.apps;
   
  +// Imported java.io classes
  +import java.io.File;
   
   // Imported TraX classes
   import javax.xml.transform.TransformerFactory;
  @@ -15,44 +60,40 @@
   import javax.xml.transform.sax.SAXSource;
   import javax.xml.transform.sax.SAXTransformerFactory;
   
  -
   // Imported SAX classes
   import org.xml.sax.InputSource;
  -import org.xml.sax.SAXException;
   import org.xml.sax.XMLReader;
   import org.xml.sax.XMLFilter;
   
  -
  -
  -// Imported java.io classes
  -import java.io.InputStream;
  -import java.io.IOException;
  -import java.io.File;
  -
   /**
  - * XSLTInputHandler basically takes an xmlfile 

cvs commit: xml-fop/src/org/apache/fop/apps TraxInputHandler.java XSLTInputHandler.java

2003-02-23 Thread pietsch
pietsch 2003/02/23 12:27:41

  Modified:src/org/apache/fop/apps Tag: fop-0_20_2-maintain
TraxInputHandler.java XSLTInputHandler.java
  Log:
  Added comments on what to use instead to deprecated methods.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.5.2.3   +7 -5  xml-fop/src/org/apache/fop/apps/TraxInputHandler.java
  
  Index: TraxInputHandler.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/apps/TraxInputHandler.java,v
  retrieving revision 1.5.2.2
  retrieving revision 1.5.2.3
  diff -u -r1.5.2.2 -r1.5.2.3
  --- TraxInputHandler.java 23 Feb 2003 20:24:30 -  1.5.2.2
  +++ TraxInputHandler.java 23 Feb 2003 20:27:40 -  1.5.2.3
  @@ -73,7 +73,8 @@
   }
   
   /**
  - * overwrites the method of the super class to return the xmlfile
  + * Overwrites the method of the super class to return the xmlfile.
  + * Use run(Driver driver) instead.
* @deprecated
*/
   public InputSource getInputSource() {
  @@ -84,9 +85,10 @@
   }
   
   /**
  - * overwrites this method of the super class and returns an XMLFilter 
  - instead of a
  - * simple XMLReader which allows chaining of transformations
  + * Overwrites this method of the super class and returns an
  + * XMLFilter instead of a simple XMLReader which allows chaining
  + * of transformations.
  + * Use run(Driver driver) instead.
* @deprecated
*
*/
  
  
  
  1.7.2.3   +4 -1  xml-fop/src/org/apache/fop/apps/XSLTInputHandler.java
  
  Index: XSLTInputHandler.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/apps/XSLTInputHandler.java,v
  retrieving revision 1.7.2.2
  retrieving revision 1.7.2.3
  diff -u -r1.7.2.2 -r1.7.2.3
  --- XSLTInputHandler.java 26 Sep 2002 21:12:37 -  1.7.2.2
  +++ XSLTInputHandler.java 23 Feb 2003 20:27:41 -  1.7.2.3
  @@ -19,6 +19,7 @@
* XSLTInputHandler takes an XML input, transforms it with XSLT
* and provides the resulting xsl:fo document as input for the
* FOP driver.
  + * Use TraxInputHandler instead.
*/
   public class XSLTInputHandler extends InputHandler {
   private TraxInputHandler traxInputHandler;
  @@ -40,6 +41,7 @@
   
   /**
* Get the InputSource.
  + * Use TraxInputHandler run(Driver driver) instead.
* @deprecated
*/
   public InputSource getInputSource() {
  @@ -48,6 +50,7 @@
   
   /**
* Get the parser, actually an XML filter.
  + * Use TraxInputHandler run(Driver driver) instead.
* @deprecated
*/
   public XMLReader getParser() throws FOPException {
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]