Well, if you're using addText a lot then:

1) You're probably doing something fishy as its best to keep things codified
in XML attributes and elements.
2) Make your own base class that extends from Task :)

By not having it in Task it disallows element text (PCDATA/CDATA), which I
think is a good thing unless your task explicitly needs it.

    Erik


----- Original Message -----
From: "Edson Alves Pereira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 12:49 PM
Subject: Two questions: addText( )


>   Hello folks! I wondering about why i need to define a method named
addText( ) in each Task that i need to receive text from the tag? Why not to
put that method in Task as protected?
>
>   With best wishes,
>   Edson Alves Pereira
>
>
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas.
Experience the convenience of buying online with [EMAIL PROTECTED]
http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to