RE: [Htmlparser-developer] Label Tag
Brought to you by:
derrickoswald
From: <dha...@or...> - 2003-04-24 14:43:50
|
Hi, I want to parse a LABEL tag and replace the data between the start and end tags. I am able to obtain the data using the getLabel method. However to replace, firstly there is no synonymous setLabel() method. Hence I used the setText() method of Tag class. After that I printed my tag using the toHtml() method. However I received the previous text itself, not the one I replaced. On closer inspection of Tag class I realize that this newly set value is not being considered during toHtml() itself and there are no test cases for setText() in TagTest. I have logged the same as a bug (#726913) and attached a test condition as well. Also the following is required: 1. Obviously toHtml() must consider the changed text. 2. LabelTag should have setLabel() method synoymous to getLabel() which internally calls setText() of Tag class. Dhaval -----Original Message----- From: Udani, Dhaval H. Sent: Thursday, April 17, 2003 4:15 PM To: htmlparser-developer Cc: Udani, Dhaval H. Subject: [Htmlparser-developer] Label Tag Hi, Is there any synoymous for the setLabel method in the LabelTag to go with the getLabel method. I need functionality tochange the Label of a Label tag. How would I achieve this? Dhaval ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Htmlparser-developer mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlparser-developer |