ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant RuntimeConfigurable.java
Date Fri, 13 Dec 2002 21:55:45 GMT
costin      2002/12/13 13:55:45

  Modified:    src/main/org/apache/tools/ant RuntimeConfigurable.java
  Log:
  Add accessor for the text content.
  
  Revision  Changes    Path
  1.20      +10 -0     jakarta-ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java
  
  Index: RuntimeConfigurable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- RuntimeConfigurable.java	13 Dec 2002 14:51:03 -0000	1.19
  +++ RuntimeConfigurable.java	13 Dec 2002 21:55:45 -0000	1.20
  @@ -199,6 +199,16 @@
           addText(new String(buf, start, count));
       }
   
  +    /** Get the text content of this element. Various text chunks are
  +     * concatenated, there is no way ( currently ) of keeping track of
  +     * multiple fragments.
  +     *
  +     * @return the text content of this element.
  +     */
  +    public StringBuffer getText() {
  +        return characters;
  +    }
  +
       /**
        * Returns the tag name of the wrapped element.
        *
  
  
  

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


Mime
View raw message