commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly TagSupport.java
Date Tue, 25 Jun 2002 17:12:57 GMT
jstrachan    2002/06/25 10:12:57

  Modified:    jelly/src/java/org/apache/commons/jelly TagSupport.java
  Log:
  Added a new invokeBody(outpuit) helper method that should be used in preference to the existing
getBody().run(context, output) mechanism.
  It will allow us to maybe change the script-invocation protocol slightly, such as maybe
making Tags on the stack in multi threaded servers, rather than instance data of the TagScript
as it is right now
  
  Revision  Changes    Path
  1.14      +12 -5     jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/TagSupport.java
  
  Index: TagSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/TagSupport.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- TagSupport.java	21 Jun 2002 16:57:17 -0000	1.13
  +++ TagSupport.java	25 Jun 2002 17:12:57 -0000	1.14
  @@ -208,6 +208,13 @@
           getBody().run(context, XMLOutput.createXMLOutput(writer));
           return writer.toString();
       }
  +    
  +    /**
  +     * Invokes the body of this tag using the given output
  +     */
  +    protected void invokeBody(XMLOutput output) throws Exception {
  +        getBody().run(context, output);
  +    }
   
       /** 
        * Find all text nodes inside the top level of this body and 
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message