cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/filters DefaultFilterFactory.java Filter.java FilterFactory.java
Date Wed, 09 Feb 2000 01:18:30 GMT
pier        00/02/08 17:18:30

  Modified:    src/org/apache/cocoon/filters Tag: xml-cocoon2-alpha0
                        Filter.java FilterFactory.java
  Added:       src/org/apache/cocoon/filters Tag: xml-cocoon2-alpha0
                        DefaultFilterFactory.java
  Log:
  Javadocs are good :)
  Added the DefaultFilterFactory.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +14 -1     xml-cocoon/src/org/apache/cocoon/filters/Attic/Filter.java
  
  Index: Filter.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/filters/Attic/Filter.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- Filter.java	2000/02/07 15:35:36	1.1.2.1
  +++ Filter.java	2000/02/09 01:18:30	1.1.2.2
  @@ -14,13 +14,26 @@
   import org.apache.cocoon.framework.Modificable;
   
   /**
  + * The <code>Filter</code> interface is an abstraction for those compoments
  + * whose task is to filter and modify SAX events into the Cocoon pipeline.
    *
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>,

    *         Exoffice Technologies, INC.</a>
    * @author Copyright 1999 &copy; <a href="http://www.apache.org">The Apache
    *         Software Foundation</a>. All rights reserved.
  - * @version CVS $Revision: 1.1.2.1 $ $Date: 2000/02/07 15:35:36 $
  + * @version CVS $Revision: 1.1.2.2 $ $Date: 2000/02/09 01:18:30 $
  + * @since Cocoon 2.0
    */
   public interface Filter extends Component, Configurable, Modificable {
  +    /**
  +     * Get the <code>XMLConsumer</code> object that will listen to SAX events,
  +     * modify them, and then forward them to the specified 
  +     * <code>XMLConsumer</code>.
  +     *
  +     * @param job The current <code>Job</code>.
  +     * @param src The sitemap-translate source URI.
  +     * @param cons The <code>XMLConsumer</code> listening to the modified
  +     *             SAX events.
  +     */
       public XMLConsumer getXMLConsumer(Job job, String src, XMLConsumer cons);
   }
  
  
  
  1.1.2.2   +7 -1      xml-cocoon/src/org/apache/cocoon/filters/Attic/FilterFactory.java
  
  Index: FilterFactory.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/filters/Attic/FilterFactory.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- FilterFactory.java	2000/02/07 15:35:37	1.1.2.1
  +++ FilterFactory.java	2000/02/09 01:18:30	1.1.2.2
  @@ -10,13 +10,19 @@
   import org.apache.cocoon.framework.Configurable;
   
   /**
  + * The <code>FilterFactory</code> interface must be implemented by all those
  + * factories creating instances of <code>Filter</code> objects.
    *
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>,

    *         Exoffice Technologies, INC.</a>
    * @author Copyright 1999 &copy; <a href="http://www.apache.org">The Apache
    *         Software Foundation</a>. All rights reserved.
  - * @version CVS $Revision: 1.1.2.1 $ $Date: 2000/02/07 15:35:37 $
  + * @version CVS $Revision: 1.1.2.2 $ $Date: 2000/02/09 01:18:30 $
  + * @since Cocoon 2.0
    */
   public interface FilterFactory extends Configurable {
  +    /**
  +     * Return a non configured instance of a <code>Filter</code>.
  +     */
       public Filter getFilter();
   }
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +45 -0     xml-cocoon/src/org/apache/cocoon/filters/Attic/DefaultFilterFactory.java
  
  
  
  

Mime
View raw message