cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/xml AbstractXMLPipe.java DocumentHandlerAdapter.java DocumentHandlerWrapper.java XMLPipe.java AbstractXMLProducer.java XMLConsumerBridge.java
Date Wed, 27 Sep 2000 14:34:17 GMT
stefano     00/09/27 07:34:13

  Modified:    src/org/apache/cocoon/xml Tag: xml-cocoon2
                        AbstractXMLProducer.java
  Added:       src/org/apache/cocoon/xml Tag: xml-cocoon2
                        AbstractXMLPipe.java DocumentHandlerAdapter.java
                        DocumentHandlerWrapper.java XMLPipe.java
  Removed:     src/org/apache/cocoon/xml Tag: xml-cocoon2
                        XMLConsumerBridge.java
  Log:
  moved documenthandler wrappers and created new XMLPipe semantic
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.5   +10 -9     xml-cocoon/src/org/apache/cocoon/xml/Attic/AbstractXMLProducer.java
  
  Index: AbstractXMLProducer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/xml/Attic/AbstractXMLProducer.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- AbstractXMLProducer.java	2000/07/29 18:30:43	1.1.2.4
  +++ AbstractXMLProducer.java	2000/09/27 14:33:37	1.1.2.5
  @@ -16,14 +16,15 @@
    *
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
    *         (Apache Software Foundation, Exoffice Technologies)
  - * @version CVS $Revision: 1.1.2.4 $ $Date: 2000/07/29 18:30:43 $
  + * @version CVS $Revision: 1.1.2.5 $ $Date: 2000/09/27 14:33:37 $
    */
   public abstract class AbstractXMLProducer implements XMLProducer {
       
       /** The <code>ContentHandler</code> receiving SAX events. */
  -    protected ContentHandler contentHandler=null;
  +    protected ContentHandler contentHandler;
  +    
       /** The <code>LexicalHandler</code> receiving SAX events. */
  -    protected LexicalHandler lexicalHandler=null;
  +    protected LexicalHandler lexicalHandler;
   
       /**
        * Set the <code>XMLConsumer</code> that will receive XML data.
  @@ -32,8 +33,8 @@
        * and <code>setLexicalHandler(consumer)</code>.
        */
       public void setConsumer(XMLConsumer consumer) {
  -        this.contentHandler=consumer;
  -        this.lexicalHandler=consumer;
  +        this.contentHandler = consumer;
  +        this.lexicalHandler = consumer;
       }
   
       /**
  @@ -42,8 +43,8 @@
        * Subclasses may retrieve this <code>ContentHandler</code> instance
        * accessing the protected <code>super.contentHandler</code> field.
        */
  -    public void setContentHandler(ContentHandler content) {
  -        this.contentHandler=content;
  +    public void setContentHandler(ContentHandler handler) {
  +        this.contentHandler = handler;
       }
   
       /**
  @@ -56,7 +57,7 @@
        *                                  the <code>XMLConsumer</code> were
        *                                  already set.
        */
  -    public void setLexicalHandler(LexicalHandler lexical) {
  -        this.lexicalHandler=lexical;
  +    public void setLexicalHandler(LexicalHandler handler) {
  +        this.lexicalHandler = handler;
       }
   }
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +227 -0    xml-cocoon/src/org/apache/cocoon/xml/Attic/AbstractXMLPipe.java
  
  
  
  
  1.1.2.1   +200 -0    xml-cocoon/src/org/apache/cocoon/xml/Attic/DocumentHandlerAdapter.java
  
  
  
  
  1.1.2.1   +193 -0    xml-cocoon/src/org/apache/cocoon/xml/Attic/DocumentHandlerWrapper.java
  
  
  
  
  1.1.2.1   +19 -0     xml-cocoon/src/org/apache/cocoon/xml/Attic/XMLPipe.java
  
  
  
  

Mime
View raw message