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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>